ComfyUI  >  Nodes  >  Mikey Nodes >  Wildcard Processor (Mikey)

ComfyUI Node: Wildcard Processor (Mikey)

Class Name

Wildcard Processor

Category
Mikey/Text
Author
bash-j (Account age: 4196 days)
Extension
Mikey Nodes
Latest Updated
6/15/2024
Github Stars
0.1K

How to Install Mikey Nodes

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

Wildcard Processor (Mikey) Description

Enhance text prompts with dynamic random selections using Wildcard Processor for AI-generated art.

Wildcard Processor (Mikey):

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.

Wildcard Processor (Mikey) Input Parameters:

prompt

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.

seed

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.

prompt_

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.

extra_pnginfo

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.

Wildcard Processor (Mikey) Output Parameters:

STRING

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.

Wildcard Processor (Mikey) Usage Tips:

  • Use a variety of wildcard options within your prompt to maximize the variability and creativity of the generated text.
  • Experiment with different seed values to explore a wide range of prompt variations.
  • Combine the Wildcard Processor with other text processing nodes to create complex and interesting prompts.
  • Utilize nested wildcards to add multiple layers of randomness and complexity to your prompts.

Wildcard Processor (Mikey) Common Errors and Solutions:

"Invalid wildcard syntax"

  • Explanation: This error occurs when the wildcard syntax in the prompt is not correctly formatted.
  • Solution: Ensure that your wildcards are enclosed in curly braces and separated by a pipe symbol, e.g., {option1|option2|option3}.

"Seed value out of range"

  • Explanation: This error occurs when the seed value provided is outside the acceptable range.
  • Solution: Ensure that the seed value is between 0 and 0xffffffffffffffff.

"Unresolved wildcards in final prompt"

  • Explanation: This error occurs when some wildcards remain unresolved after processing.
  • Solution: Check your prompt for any syntax errors or nested wildcards that might be causing issues and ensure they are correctly formatted.

Wildcard Processor (Mikey) Related Nodes

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