Wildcard
The old key for the PromptDrafter wildcard node
- wildcard_value
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.
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| wildcard_values | STRING | — | |
| output_mode | COMBO | random | 5 options: random, sequential, fixed, dynamic_prompts, list (csv) |
| fixed_indexopt | INT | 00–9999 | — |
| wildcard_nameopt | STRING | — | |
| load_wildcardopt | COMBO | 5 options: , art_styles, eye_colors, hair_colors, lighting_styles |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| wildcard_value | STRING | — |