ComfyUI > Nodes > ComfyUI_Lam > 提示词选择工具

ComfyUI Node: 提示词选择工具

Class Name

EasyPromptSelecto

Category
lam
Author
Lam Yan (Account age: 3065days)
Extension
ComfyUI_Lam
Latest Updated
2025-03-06
Github Stars
0.02K

How to Install ComfyUI_Lam

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

提示词选择工具 Description

Streamline prompt word selection for AI art generation with EasyPromptSelecto, simplifying and organizing diverse prompt types efficiently.

提示词选择工具:

EasyPromptSelecto is a versatile tool designed to streamline the process of selecting and managing prompt words for AI art generation. This node serves as a prompt selection utility, allowing you to efficiently choose and organize prompt words from a predefined set of categories stored in YAML files. By leveraging this tool, you can enhance your creative workflow by quickly accessing and utilizing a variety of prompt types, which can be crucial for generating diverse and creative outputs. The main goal of EasyPromptSelecto is to simplify the prompt selection process, making it more intuitive and accessible, especially for users who may not have a technical background. This node is particularly beneficial for AI artists looking to experiment with different styles and themes without the hassle of manually managing prompt data.

提示词选择工具 Input Parameters:

text

The text parameter is a string input that allows you to specify the initial text or prompt that you want to work with. This parameter serves as the base text that can be combined with additional tags to form a complete prompt. The default value is an empty string, and it is essential for defining the core idea or theme you wish to explore in your AI-generated art.

prompt_type

The prompt_type parameter provides a selection of available prompt categories, which are derived from YAML files located in a specific directory. This parameter allows you to choose from a list of predefined prompt types, enabling you to tailor your prompts to specific themes or styles. The available options are dynamically generated based on the YAML files present, ensuring that you always have access to the latest prompt categories.

提示词选择工具 Output Parameters:

提示词

The 提示词 (translated as "prompt word") output parameter is a string that represents the final prompt generated by combining the input text with any additional tags specified. This output is crucial for AI art generation, as it provides the complete prompt that will be used to guide the creative process. The output is designed to be easily interpretable and directly applicable in various AI art generation tools.

提示词选择工具 Usage Tips:

  • Ensure that your YAML files are well-organized and contain meaningful prompt categories to maximize the utility of the prompt_type parameter.
  • Experiment with different combinations of text and prompt_type to discover unique and creative prompts that can inspire new artistic directions.

提示词选择工具 Common Errors and Solutions:

FileNotFoundError: [Errno 2] No such file or directory: '.../tags'

  • Explanation: This error occurs when the directory for storing YAML files does not exist.
  • Solution: Ensure that the directory path specified for storing YAML files is correct and that the directory exists. If not, create the directory manually or check for any typos in the path.

KeyError: 'name'

  • Explanation: This error may occur if the specified prompt type does not exist in the available YAML files.
  • Solution: Verify that the prompt type you are trying to use is correctly defined in one of the YAML files. Ensure that the file is correctly formatted and located in the designated directory.

提示词选择工具 Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI_Lam
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 Playground, enabling artists to harness the latest AI tools to create incredible art.