Visit ComfyUI Online for ready-to-use ComfyUI environment
Enhance text prompts with dynamic random selections using Wildcard Processor for AI-generated art.
The Wildcard Processor node is designed to enhance your text prompts by dynamically replacing wildcard syntax with random selections from predefined options. This node is particularly useful for AI artists who want to introduce variability and creativity into their prompts without manually editing them each time. By processing wildcard syntax, the node ensures that each generated prompt is unique, adding an element of randomness and surprise to your AI-generated art. The Wildcard Processor also supports nested wildcards and can handle multiple iterations to ensure all wildcards are resolved, making it a powerful tool for generating diverse and interesting text inputs.
The prompt
parameter is a string input where you can enter your text prompt. This prompt can include wildcard syntax, which the node will process to introduce variability. The prompt supports multiline text and has a placeholder "Prompt Text" to guide you. This parameter is essential as it forms the basis of the text that will be processed and transformed.
The seed
parameter is an integer that sets the random seed for the wildcard processing. This ensures that the randomness introduced by the wildcards can be replicated if the same seed is used again. The default value is 0, and it can range from 0 to 0xffffffffffffffff. Using different seeds will result in different variations of the prompt, providing a wide range of creative outputs.
The prompt_
parameter is a hidden input that is used internally by the node. It is not required for you to set this parameter manually. It helps in the internal processing and replacement of text within the prompt.
The extra_pnginfo
parameter is another hidden input used internally. It is used to store additional information that might be needed during the processing of the prompt. Like prompt_
, you do not need to set this parameter manually.
The output of the Wildcard Processor node is a single string. This string is the transformed version of the input prompt, with all wildcards processed and replaced by random selections based on the provided seed. The output string is ready to be used in further processing or as a final prompt for AI art generation.
{option1|option2|option3}
.© Copyright 2024 RunComfy. All Rights Reserved.