ComfyUI > Nodes > ComfyUI-Prompt-Wildcards > makiwildcards

ComfyUI Node: makiwildcards

Class Name

makiwildcards

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 Description

Generates diverse text prompts using customizable wildcards for creative AI art workflows.

makiwildcards:

The makiwildcards node is designed to enhance your creative workflow by dynamically generating text prompts using wildcards. This node allows you to specify a number of wildcards, which are placeholders that can be replaced with random or predefined text snippets. By utilizing wildcards, you can create diverse and varied text outputs, making it particularly useful for AI art generation where variability and creativity are key. The node supports customization through various parameters, enabling you to control the format and randomness of the generated text. Its primary goal is to streamline the process of generating complex and varied prompts, thus saving time and enhancing creativity.

makiwildcards 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 text snippets, impacting the complexity and variability of the output. The minimum value is 1, and there is no explicit maximum, but it should be set according to the desired complexity of the output.

delimiter

The delimiter is used to separate the generated text snippets in the final output. 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 a newline character, which can be specified as either \n or \\n.

clean_whitespace

This boolean parameter determines whether to remove extra whitespace from the generated text. When set to true, it ensures that the output is clean and free of unnecessary spaces, which can be important for maintaining a professional appearance in the final text.

replace_underscore

This parameter controls whether underscores in the generated text should be replaced with spaces. This is useful for improving readability, especially if the text snippets contain underscores as placeholders or separators.

randoms

This parameter allows you to introduce randomness into the text generation process. By specifying a seed value, you can control the randomness, ensuring that the same input will always produce the same output, which is useful for reproducibility.

seed

The seed parameter is used in conjunction with the randoms parameter to control the randomness of the text generation. By setting a specific seed value, you can ensure that the random elements of the text generation are consistent across different runs.

text

This optional parameter allows you to provide a base text that will be prepended to the generated text. It can be used to add a fixed introduction or context to the output, enhancing its coherence and relevance.

makiwildcards Output Parameters:

joined_result

The joined_result is the final generated text, which includes the replaced wildcards and any additional formatting specified by the input parameters. It is the primary output of the node, providing a complete and formatted text prompt ready for use in AI art generation or other creative applications.

file_contents

This output parameter contains the contents of the files from which the wildcards were sourced. It provides insight into the raw data used in the text generation process, which can be useful for debugging or further customization.

makiwildcards Usage Tips:

  • Experiment with different wildcards_count values to achieve the desired level of complexity and variability in your text prompts.
  • Use the delimiter parameter to format the output according to your needs, such as creating lists or paragraphs.
  • Set the clean_whitespace parameter to true to ensure that your output is free of unnecessary spaces, which can improve readability.
  • Utilize the seed parameter to maintain consistency across different runs, especially if you need reproducible results.

makiwildcards 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 the wildcard file to ensure it is correct and supported. Ensure that the file is either a .txt, .yaml, or .yml file and that it is properly formatted.

Invalid delimiter specified

  • Explanation: This error arises when an unsupported or incorrect delimiter is used.
  • Solution: Ensure that the delimiter is a valid character or string. If using a newline, specify it as \n or \\n.

makiwildcards 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.