ComfyUI > Nodes > comfyui-adaptiveprompts > Prompt Generator 💡 (Advanced)

ComfyUI Node: Prompt Generator 💡 (Advanced)

Class Name

PromptGeneratorAdvanced

Category
adaptiveprompts/generation
Author
Alectriciti (Account age: 5005days)
Extension
comfyui-adaptiveprompts
Latest Updated
2025-11-05
Github Stars
0.05K

How to Install comfyui-adaptiveprompts

Install this extension via the ComfyUI Manager by searching for comfyui-adaptiveprompts
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter comfyui-adaptiveprompts 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 Generator 💡 (Advanced) Description

Sophisticated prompt generation tool with advanced customization for AI art creation, enabling seamless integration and dynamic prompts.

Prompt Generator 💡 (Advanced):

The PromptGeneratorAdvanced node is a sophisticated tool designed to enhance the flexibility and adaptability of prompt generation in AI art creation. It allows you to generate prompts with advanced customization options, including the ability to hide comments and specify directories for custom wildcards. This node is particularly beneficial for users who need to manage complex prompt structures and require a high degree of control over the prompt generation process. By accepting and returning a variable context, it facilitates seamless integration and chaining with other nodes, making it an essential component for creating dynamic and context-aware prompts. The advanced version of the prompt generator is designed to handle intricate prompt requirements, offering a robust solution for artists looking to push the boundaries of AI-generated art.

Prompt Generator 💡 (Advanced) Input Parameters:

prompt

The prompt parameter is a string input that serves as the base text for generating the final prompt. It supports multiline input, allowing you to craft detailed and complex prompts. This parameter is crucial as it forms the foundation of the generated output, and its content can significantly influence the final result.

seed

The seed parameter is an integer that initializes the random number generator used in the prompt generation process. It ensures reproducibility of results, meaning that using the same seed with the same prompt will yield the same output. The default value is 0, with a minimum of 0 and a maximum of 0xffffffffffffffff, providing a vast range of possible seeds for varied outputs.

hide_comments

The hide_comments parameter is a boolean that determines whether comments within the prompt should be hidden in the final output. By default, this is set to true, meaning comments are removed unless specified otherwise. This feature is useful for keeping the output clean and focused on the essential elements of the prompt.

category

The category parameter allows you to specify a category for the prompt, which maps to a directory containing custom wildcards. This parameter is essential for organizing and utilizing different sets of wildcards, enabling more targeted and thematic prompt generation. The default category is "Default," but it can be customized based on available labels.

context

The context parameter is an optional dictionary that provides additional context for the prompt generation process. It can be a dict-of-dicts, dict-of-lists, or dict-of-single-values, which are normalized to a dict-of-dicts format. This parameter is vital for incorporating external data and context into the prompt, allowing for more nuanced and context-aware outputs.

Prompt Generator 💡 (Advanced) Output Parameters:

prompt

The prompt output is a string that represents the final generated prompt after processing the input parameters and resolving any wildcards. This output is the primary result of the node's operation and is used as the input for subsequent nodes or processes in the AI art generation workflow.

context

The context output is a dictionary that reflects the normalized context used during the prompt generation process. It provides a structured representation of the context data, which can be used for further processing or analysis. This output is crucial for maintaining consistency and continuity in workflows that involve multiple nodes.

Prompt Generator 💡 (Advanced) Usage Tips:

  • Utilize the seed parameter to ensure consistent and reproducible results, especially when experimenting with different prompt structures.
  • Leverage the category parameter to organize and access different sets of wildcards, enabling more thematic and varied prompt generation.
  • Use the context parameter to incorporate additional data and context into your prompts, enhancing their relevance and specificity.

Prompt Generator 💡 (Advanced) Common Errors and Solutions:

Error: "Invalid seed value"

  • Explanation: The seed value provided is outside the acceptable range.
  • Solution: Ensure the seed value is an integer between 0 and 0xffffffffffffffff.

Error: "Category not found"

  • Explanation: The specified category does not exist in the available labels.
  • Solution: Verify that the category name is correct and matches one of the available labels.

Error: "Context format error"

  • Explanation: The context input is not in a recognized format.
  • Solution: Ensure the context is provided as a dict-of-dicts, dict-of-lists, or dict-of-single-values.

Prompt Generator 💡 (Advanced) Related Nodes

Go back to the extension to check out more related nodes.
comfyui-adaptiveprompts
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.