ComfyUI Node

Wildcard

The old key for the PromptDrafter wildcard node

By Carasibana·Created 8 months ago·Updated 6 months ago· 2
Wildcard
    • wildcard_value
    wildcard_values
    output_moderandom
    fixed_index0
    wildcard_name
    load_wildcard

    If you loaded a workflow and see a node just called Wildcard, it's not a generic wildcard node - it's the pre-v1.3.3 registration key for ComfyUI-PromptDrafter's wildcard-list node. That update standardized every node in the pack to a Name_PromptDrafter scheme, so the current, menu-visible node is Wildcard_PromptDrafter (displayed as "Wildcards - PromptDrafter"). The old Wildcard key survives as a deprecated shim with the same code, hidden from the Add Node menu, kept only so older saved workflows resolve without a missing-node error.

    Given the name, a quick warning: don't confuse this with Impact Pack's __wildcard__ file system or the old A1111 {a|b|c} bracket syntax. This is PromptDrafter's in-graph wildcard - a list typed into wildcard_values, selected by output_mode (random, sequential, fixed, dynamic_prompts, list (csv)), with fixed_index for the fixed mode and wildcard_name/load_wildcard for saving and reloading. It outputs one wildcard_value string, which you wire into the matching {wildcard_...} port that a Dual or Single PromptDrafter node auto-creates in your prompt text. Unwired wildcards silently become empty strings, so check the port names match exactly.

    What to do

    A legacy workflow with this node loads and works fine - that's the point of the shim. If you're rebuilding, replace it with Wildcard_PromptDrafter; same inputs, same single output, straight re-wire. New work should just add the current name.

    Installing

    You get it from the pack: ComfyUI Manager (search "PromptDrafter") or:

    cd ComfyUI/custom_nodes
    git clone https://github.com/Carasibana/ComfyUI-PromptDrafter
    

    Restart after - no dependencies beyond ComfyUI, no model downloads. And when you go hunting in the add-node menu, search Wildcard_PromptDrafter; the bare Wildcard won't be there by design.

    CategoryPromptDrafter

    Inputs (5)

    NameTypeDefaultDescription
    wildcard_valuesSTRING
    output_modeCOMBOrandom5 options: random, sequential, fixed, dynamic_prompts, list (csv)
    fixed_indexoptINT00–9999
    wildcard_nameoptSTRING
    load_wildcardoptCOMBO5 options: , art_styles, eye_colors, hair_colors, lighting_styles

    Outputs (1)

    NameTypeDescription
    wildcard_valueSTRING