ComfyUI > Nodes > ComfyUI-Prompt-Wildcards > makiwildcards_Advanced

ComfyUI Node: makiwildcards_Advanced

Class Name

makiwildcards_Advanced

Category
utils/Prompt-Wildcards
Author
Makki_Shizu (Account age: 976days)
Extension
ComfyUI-Prompt-Wildcards
Latest Updated
2025-08-16
Github Stars
0.02K

How to Install ComfyUI-Prompt-Wildcards

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

makiwildcards_Advanced Description

Enhances text generation with wildcards for varied, dynamic outputs in creative applications.

makiwildcards_Advanced:

The makiwildcards_Advanced node is designed to enhance the flexibility and dynamism of text generation by utilizing wildcards. This node allows you to specify a number of wildcards, which are placeholders that can be replaced with random or predefined values, thereby enabling the creation of varied and complex text outputs. The node is particularly beneficial for AI artists who wish to introduce variability and creativity into their text prompts without manually crafting each variation. By leveraging wildcards, you can efficiently generate diverse text outputs that can be used in various creative applications, such as generating prompts for AI art models or creating dynamic content for storytelling. The node's advanced capabilities include options for cleaning whitespace, replacing underscores, and controlling the randomness of the output, making it a powerful tool for those looking to automate and enhance their text generation processes.

makiwildcards_Advanced Input Parameters:

wildcards_count

This parameter specifies the number of wildcards to be used in the text generation process. It determines how many placeholders will be replaced with values, impacting the complexity and variability of the generated text. There is no explicit minimum or maximum value provided, but it should be a positive integer that aligns with the number of wildcards you intend to use.

delimiter

The delimiter is used to separate the generated text segments. It can be set to any character or string, such as a comma or newline, to format the output according to your needs. The default value is not specified, but common choices include \n for new lines or , for comma-separated values.

clean_whitespace

This boolean parameter, when enabled, removes unnecessary whitespace from the generated text. It ensures that the output is clean and free from extraneous spaces, which can be particularly useful when generating text for formal or structured outputs. The default value is not specified, but it typically defaults to False.

replace_underscore

This parameter, when set to True, replaces underscores in the generated text with spaces. This is useful for improving the readability of text that may have been formatted with underscores as placeholders. The default value is not specified, but it typically defaults to False.

randoms

This parameter controls the randomness of the wildcard replacement process. It allows you to specify whether the values replacing the wildcards should be selected randomly, adding an element of unpredictability to the generated text. The default value is not specified, but it typically defaults to True.

seed

The seed parameter is used to initialize the random number generator, ensuring that the same set of random values can be reproduced if needed. This is particularly useful for debugging or when you want to generate consistent outputs across different runs. The default value is not specified, but it should be an integer.

text

This optional parameter allows you to provide a base text to which the generated wildcard text will be appended. If not provided, the generated text will stand alone. This parameter is useful for integrating the generated text into larger bodies of text or prompts.

makiwildcards_Advanced Output Parameters:

joined_result

The joined_result is the final text output generated by the node, which includes the replaced wildcards and any specified delimiters. This output is crucial as it represents the completed text that can be used for further processing or as input for other applications.

file_contents

The file_contents output provides the contents of any files that were used in the wildcard replacement process. This can be useful for debugging or for understanding the source of the values used in the text generation.

makiwildcards_Advanced Usage Tips:

  • To maximize variability in your text outputs, experiment with different wildcards_count and randoms settings to see how they affect the diversity of the generated text.
  • Use the delimiter parameter to format your output according to the needs of your project, such as creating lists or paragraphs.
  • If you need consistent outputs for testing or production, set a specific seed value to ensure reproducibility.

makiwildcards_Advanced Common Errors and Solutions:

Error processing <wildcard>: <error_message>

  • Explanation: This error occurs when there is an issue processing a wildcard file, possibly due to incorrect formatting or unsupported file types.
  • Solution: Check the format of your wildcard files to ensure they are correctly structured and supported. Ensure that any YAML files are properly formatted and free of syntax errors.

Wildcards not replaced as expected

  • Explanation: This issue may arise if the wildcards_count is set incorrectly or if the wildcard files do not contain the expected values.
  • Solution: Verify that the wildcards_count matches the number of wildcards you intend to use and that the wildcard files contain the appropriate values for replacement.

makiwildcards_Advanced Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-Prompt-Wildcards
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.

makiwildcards_Advanced