ComfyUI > Nodes > SDXL Auto Prompter > Auto Prompter

ComfyUI Node: Auto Prompter

Class Name

PromptGenerator

Category
PromptGenerator
Author
dagthomas (Account age: 4080days)
Extension
SDXL Auto Prompter
Latest Updated
2024-06-16
Github Stars
0.08K

How to Install SDXL Auto Prompter

Install this extension via the ComfyUI Manager by searching for SDXL Auto Prompter
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter SDXL Auto Prompter 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
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Auto Prompter Description

Automatically generates clean, structured prompts for AI art creation.

Auto Prompter:

The PromptGenerator node, also known as "Auto Prompter," is designed to automatically generate prompts for AI art creation. This node simplifies the process of creating detailed and coherent prompts by assembling various components into a structured format. It ensures that the generated prompts are clean and free from redundant spaces or consecutive commas, enhancing the quality and readability of the prompts. The primary goal of the PromptGenerator is to streamline the prompt creation process, making it easier for AI artists to produce high-quality prompts without manually crafting each detail.

Auto Prompter Input Parameters:

seed

The seed parameter is used to initialize the random number generator, ensuring that the prompt generation process can be replicated. By setting a specific seed value, you can achieve consistent and reproducible results. This parameter is optional, and if not provided, a random seed will be used. The seed value can be any integer.

Auto Prompter Output Parameters:

prompt

The prompt output is a string that contains the generated prompt. This prompt is a coherent and structured text that can be used directly in AI art generation tasks.

seed

The seed output is an integer that represents the seed value used during the prompt generation process. This allows you to replicate the same prompt generation process if needed.

t5xxl

The t5xxl output is a string that represents a specific component of the generated prompt, potentially related to a T5 model.

clip_l

The clip_l output is a string that represents another component of the generated prompt, potentially related to a CLIP model.

clip_g

The clip_g output is a string that represents yet another component of the generated prompt, potentially related to a global CLIP model.

Auto Prompter Usage Tips:

  • To achieve consistent results, always set a specific seed value when generating prompts.
  • Use the generated prompt output directly in your AI art generation tasks to ensure high-quality and coherent prompts.
  • Experiment with different seed values to explore a variety of prompt structures and content.

Auto Prompter Common Errors and Solutions:

Cannot execute because a node is missing the class_type property.

  • Explanation: This error occurs when a node in the prompt does not have the class_type property defined.
  • Solution: Ensure that all nodes in the prompt have the class_type property correctly set.

Cannot execute because node <class_type> does not exist.

  • Explanation: This error occurs when the specified class_type does not exist in the NODE_CLASS_MAPPINGS.
  • Solution: Verify that the class_type is correctly defined and exists in the NODE_CLASS_MAPPINGS.

Prompt has no outputs

  • Explanation: This error occurs when the prompt does not produce any outputs.
  • Solution: Ensure that the prompt is correctly structured and that there are nodes that produce outputs.

Failed to validate prompt for output <output_id>

  • Explanation: This error occurs when the prompt validation fails for a specific output.
  • Solution: Check the prompt structure and ensure that all required nodes and properties are correctly defined.

Auto Prompter Related Nodes

Go back to the extension to check out more related nodes.
SDXL Auto Prompter
RunComfy

© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.