Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > ComfyUI-Prompt-Gallery > 🎨 从分类读取Prompt

ComfyUI Node: 🎨 从分类读取Prompt

Class Name

PromptCategoryReader

Category
🎨 Prompt Gallery
Author
Lotus0614 (Account age: 1638days)
Extension
ComfyUI-Prompt-Gallery
Latest Updated
2026-07-27
Github Stars
0.02K

How to Install ComfyUI-Prompt-Gallery

Install this extension via the ComfyUI Manager by searching for ComfyUI-Prompt-Gallery
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-Prompt-Gallery in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

🎨 从分类读取Prompt Description

Facilitates retrieval of prompts from specified category in Prompt Gallery for AI artists to organize and access efficiently.

🎨 从分类读取Prompt:

The PromptCategoryReader node is designed to facilitate the retrieval of prompts from a specified category within the Prompt Gallery. This node is particularly useful for AI artists who want to organize and access their creative prompts efficiently. By leveraging the category structure, it allows you to navigate through a hierarchical organization of prompts, making it easier to find and utilize specific prompts based on their categorization. The primary function of this node is to read and return prompts from a selected category, providing a streamlined way to manage and access creative content.

🎨 从分类读取Prompt Input Parameters:

category

The category input parameter allows you to specify the category from which you want to read prompts. This parameter is crucial as it determines the subset of prompts that will be retrieved. The available options for this parameter include a list of all categories present in the Prompt Gallery, with an additional option "全部" (meaning "All") that represents the root category. By selecting a specific category, you can narrow down the prompts to those that are most relevant to your current creative needs. The default value is "全部", which retrieves prompts from all categories.

🎨 从分类读取Prompt Output Parameters:

text

The text output parameter provides the retrieved prompts as a string. This output is essential as it delivers the actual content of the prompts that have been read from the specified category. The text output allows you to view and utilize the prompts directly, making it a valuable resource for generating creative ideas or guiding your artistic projects. The interpretation of this output is straightforward: it represents the collection of prompts associated with the chosen category, formatted as a single string for easy access and use.

🎨 从分类读取Prompt Usage Tips:

  • To effectively utilize the PromptCategoryReader, ensure that you have a well-organized category structure in your Prompt Gallery. This will make it easier to locate and retrieve specific prompts.
  • Use the "全部" option to get an overview of all available prompts, which can be helpful for brainstorming sessions or when you need a wide range of ideas.

🎨 从分类读取Prompt Common Errors and Solutions:

"缺少目标分类ID"

  • Explanation: This error occurs when the target category ID is missing, which is necessary for retrieving prompts.
  • Solution: Ensure that you have selected a valid category from the list of available categories before attempting to read prompts.

"目标分类不存在"

  • Explanation: This error indicates that the specified target category does not exist in the Prompt Gallery.
  • Solution: Double-check the category name or ID to ensure it matches one of the existing categories in your gallery. If necessary, update your category list to include the desired category.

🎨 从分类读取Prompt Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-Prompt-Gallery
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

🎨 从分类读取Prompt