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-Danbooru-Gallery > 提示词选择器 (Prompt Selector)

ComfyUI Node: 提示词选择器 (Prompt Selector)

Class Name

PromptSelector

Category
Danbooru
Author
Aaalice233 (Account age: 2256days)
Extension
ComfyUI-Danbooru-Gallery
Latest Updated
2026-07-26
Github Stars
0.23K

How to Install ComfyUI-Danbooru-Gallery

Install this extension via the ComfyUI Manager by searching for ComfyUI-Danbooru-Gallery
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-Danbooru-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 Selector) Description

Efficiently manage and select text prompts for AI art generation with structured organization and easy retrieval.

提示词选择器 (Prompt Selector):

The PromptSelector node is designed to streamline the process of managing and selecting text prompts for AI art generation. It allows you to efficiently organize and choose from a collection of predefined prompts, enhancing your creative workflow by providing a structured way to handle multiple prompt variations. This node is particularly beneficial for artists who frequently switch between different styles or themes, as it simplifies the task of prompt management by allowing you to store, retrieve, and apply prompts with ease. The main goal of the PromptSelector is to offer a user-friendly interface for prompt selection, ensuring that you can focus more on the creative aspects of your work rather than the technicalities of prompt management.

提示词选择器 (Prompt Selector) Input Parameters:

selected_prompts

The selected_prompts parameter is a crucial input that allows you to specify which prompts you want to use from your collection. This parameter accepts a string that represents the selected prompts, which can be a single prompt or a combination of multiple prompts. The function of this parameter is to determine the specific prompts that will be concatenated and used in the final output. While the context does not provide explicit minimum, maximum, or default values, it is implied that the input should be a valid string of prompt identifiers that exist within your prompt collection. The impact of this parameter on the node's execution is significant, as it directly influences the content of the final prompt string that is generated.

提示词选择器 (Prompt Selector) Output Parameters:

final_prompt

The final_prompt output parameter provides the concatenated result of the selected prompts, optionally prefixed by a specified string. This output is a single string that combines the selected prompts using a defined separator, which can be customized through settings. The importance of this parameter lies in its role as the final text prompt that will be used for AI art generation. It encapsulates the creative direction you wish to pursue, making it a vital component of the prompt selection process. The interpretation of this output is straightforward: it is the complete prompt that will guide the AI in generating the desired artwork.

提示词选择器 (Prompt Selector) Usage Tips:

  • To optimize the use of the PromptSelector, ensure that your prompt collection is well-organized and that each prompt is clearly labeled with an alias for easy identification and selection.
  • Customize the separator setting in the data.json file to suit your specific needs, allowing for more natural or thematic combinations of prompts when they are concatenated.

提示词选择器 (Prompt Selector) Common Errors and Solutions:

"Error: Data file not found"

  • Explanation: This error occurs when the node attempts to access the data.json file to retrieve settings or prompt data, but the file is missing or not located in the expected directory.
  • Solution: Ensure that the data.json file is present in the correct directory and that it contains the necessary settings and prompt data. If the file is missing, recreate it with the appropriate structure and content.

"Error: Invalid prompt selection"

  • Explanation: This error arises when the selected_prompts parameter contains identifiers that do not match any existing prompts in your collection.
  • Solution: Verify that the prompt identifiers specified in the selected_prompts parameter are correct and correspond to valid prompts in your collection. Update the parameter to include only valid identifiers.

提示词选择器 (Prompt Selector) Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-Danbooru-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 Selector)