makiwildcards_Advanced
The wildcard node with a probability knob on every slot
- text
- file contents
makiwildcards_Advanced is makiwildcards plus one genuinely useful addition: every wildcard slot gets a probability value from 0 to 1. Set a slot to 0.5 and that wildcard only contributes its random line about half the time. On the other half, it contributes nothing at all.
That single knob changes what the node is for. The plain version always uses every selected file, so "occasionally add a necklace" means editing your prompt or juggling whole workflows. With the Advanced node you build a scene with four or five possible accessory/pose/style slots, set the ones you want as "sometimes" to 0.2 or 0.4, and every run is a different composition where extras show up as a pleasant surprise instead of a guaranteed constant. It's the natural evolution of the wildcard idea from "randomize a fixed set" to "sample from a distribution."
How it works
Everything else is identical to makiwildcards. The node takes wildcards_count, a wildcard_name_N dropdown per slot, delimiter, clean_whitespace, replace_underscore, the randoms/seed pair, and an optional text prefix. Same two wildcard folders get scanned at startup, same .txt/.yaml support, same seed determinism - the probability is just an extra gate before a line is picked.
The gate is seeded too: it rolls random.random() with seed + slot_index, and skips the slot when that roll exceeds the probability. Because the roll is deterministic, the same seed reproduces not just which lines get picked but whether each slot fires at all. So you can lock in a seed, find a composition you like, and rerun it exactly. Set probability to 1 and a slot always fires (this is the default, so it behaves like the plain node out of the box); set it to 0 and it never fires - a nice way to park a slot without deleting it.
Inputs and outputs
- wildcards_count - how many of the 50 possible slots are active (default 3).
- wildcard_name_N - the wildcard file for each slot.
- wildcard_probability_N - 0.0–1.0 chance that slot fires (default 1.0).
- seed / randoms - deterministic or random line selection, as in the base node.
- delimiter, clean_whitespace, replace_underscore - joining and cleanup, same as before.
- text - optional prefix string.
Outputs: text (the assembled prompt string) and file contents (raw dump of what was loaded, for debugging). Wire text into a CLIP Text Encode like you would any prompt source.
Installation
It's part of the ComfyUI-Prompt-Wildcards pack. Manager: search "ComfyUI-Prompt-Wildcards". Manual:
cd ComfyUI/custom_nodes
git clone https://github.com/MakkiShizu/ComfyUI-Prompt-Wildcards.git
Restart ComfyUI. No pip installs, no model downloads.
Common issues
- A slot never fires. Check its probability isn't 0 - that's the "parked" state, not a bug.
- Fires too often / not enough. Remember it's per-run, not per-batch. 0.2 means roughly one in five runs, so a short batch may feel like it never triggers. Reroll the seed and it evens out.
- "It picked a different composition than last time!" The probability roll is deterministic per seed, but it's rolled per slot and the line pick depends on the seed too. If you want an exact rerun, freeze the seed. If you want variety, that's the whole point.
- Missing files in the dropdown. Same rule as the base node: files are scanned at startup, so restart ComfyUI after adding
.txt/.yamlfiles to your wildcards folder.
If you only ever randomize a fixed set of wildcards, the plain makiwildcards is simpler. The moment you want "sometimes this, usually that," this is the one you'll actually reach for.
Inputs (105)
| Name | Type | Default | Description |
|---|---|---|---|
| wildcards_count | INT | 31–50 | — |
| delimiter | STRING | , | — |
| clean_whitespace | BOOLEAN | true | — |
| replace_underscore | BOOLEAN | true | — |
| randoms | BOOLEAN | true | — |
| seed | INT | 00–18446744073709550000 | — |
| wildcard_name_1 | COMBO | None | 577 options: None, custom_nodes | 人物-装饰-下身, custom_nodes | 人物-类型, custom_nodes | 人物-鞋袜, custom_nodes | 人物-唇膏, custom_nodes | 自然景观-花卉, +571 |
| wildcard_probability_1 | FLOAT | 1.000–1 | — |
| wildcard_name_2 | COMBO | None | 577 options: None, custom_nodes | 人物-装饰-下身, custom_nodes | 人物-类型, custom_nodes | 人物-鞋袜, custom_nodes | 人物-唇膏, custom_nodes | 自然景观-花卉, +571 |
| wildcard_probability_2 | FLOAT | 1.000–1 | — |
| wildcard_name_3 | COMBO | None | 577 options: None, custom_nodes | 人物-装饰-下身, custom_nodes | 人物-类型, custom_nodes | 人物-鞋袜, custom_nodes | 人物-唇膏, custom_nodes | 自然景观-花卉, +571 |
| wildcard_probability_3 | FLOAT | 1.000–1 | — |
| wildcard_name_4 | COMBO | None | 577 options: None, custom_nodes | 人物-装饰-下身, custom_nodes | 人物-类型, custom_nodes | 人物-鞋袜, custom_nodes | 人物-唇膏, custom_nodes | 自然景观-花卉, +571 |
| wildcard_probability_4 | FLOAT | 1.000–1 | — |
| wildcard_name_5 | COMBO | None | 577 options: None, custom_nodes | 人物-装饰-下身, custom_nodes | 人物-类型, custom_nodes | 人物-鞋袜, custom_nodes | 人物-唇膏, custom_nodes | 自然景观-花卉, +571 |
| wildcard_probability_5 | FLOAT | 1.000–1 | — |
| wildcard_name_6 | COMBO | None | 577 options: None, custom_nodes | 人物-装饰-下身, custom_nodes | 人物-类型, custom_nodes | 人物-鞋袜, custom_nodes | 人物-唇膏, custom_nodes | 自然景观-花卉, +571 |
| wildcard_probability_6 | FLOAT | 1.000–1 | — |
| wildcard_name_7 | COMBO | None | 577 options: None, custom_nodes | 人物-装饰-下身, custom_nodes | 人物-类型, custom_nodes | 人物-鞋袜, custom_nodes | 人物-唇膏, custom_nodes | 自然景观-花卉, +571 |
| wildcard_probability_7 | FLOAT | 1.000–1 | — |
| wildcard_name_8 | COMBO | None | 577 options: None, custom_nodes | 人物-装饰-下身, custom_nodes | 人物-类型, custom_nodes | 人物-鞋袜, custom_nodes | 人物-唇膏, custom_nodes | 自然景观-花卉, +571 |
| wildcard_probability_8 | FLOAT | 1.000–1 | — |
| wildcard_name_9 | COMBO | None | 577 options: None, custom_nodes | 人物-装饰-下身, custom_nodes | 人物-类型, custom_nodes | 人物-鞋袜, custom_nodes | 人物-唇膏, custom_nodes | 自然景观-花卉, +571 |
| wildcard_probability_9 | FLOAT | 1.000–1 | — |
| wildcard_name_10 | COMBO | None | 577 options: None, custom_nodes | 人物-装饰-下身, custom_nodes | 人物-类型, custom_nodes | 人物-鞋袜, custom_nodes | 人物-唇膏, custom_nodes | 自然景观-花卉, +571 |
| wildcard_probability_10 | FLOAT | 1.000–1 | — |
| wildcard_name_11 | COMBO | None | 577 options: None, custom_nodes | 人物-装饰-下身, custom_nodes | 人物-类型, custom_nodes | 人物-鞋袜, custom_nodes | 人物-唇膏, custom_nodes | 自然景观-花卉, +571 |
| wildcard_probability_11 | FLOAT | 1.000–1 | — |
| wildcard_name_12 | COMBO | None | 577 options: None, custom_nodes | 人物-装饰-下身, custom_nodes | 人物-类型, custom_nodes | 人物-鞋袜, custom_nodes | 人物-唇膏, custom_nodes | 自然景观-花卉, +571 |
| wildcard_probability_12 | FLOAT | 1.000–1 | — |
| wildcard_name_13 | COMBO | None | 577 options: None, custom_nodes | 人物-装饰-下身, custom_nodes | 人物-类型, custom_nodes | 人物-鞋袜, custom_nodes | 人物-唇膏, custom_nodes | 自然景观-花卉, +571 |
| wildcard_probability_13 | FLOAT | 1.000–1 | — |
| wildcard_name_14 | COMBO | None | 577 options: None, custom_nodes | 人物-装饰-下身, custom_nodes | 人物-类型, custom_nodes | 人物-鞋袜, custom_nodes | 人物-唇膏, custom_nodes | 自然景观-花卉, +571 |
| wildcard_probability_14 | FLOAT | 1.000–1 | — |
| wildcard_name_15 | COMBO | None | 577 options: None, custom_nodes | 人物-装饰-下身, custom_nodes | 人物-类型, custom_nodes | 人物-鞋袜, custom_nodes | 人物-唇膏, custom_nodes | 自然景观-花卉, +571 |
| wildcard_probability_15 | FLOAT | 1.000–1 | — |
| wildcard_name_16 | COMBO | None | 577 options: None, custom_nodes | 人物-装饰-下身, custom_nodes | 人物-类型, custom_nodes | 人物-鞋袜, custom_nodes | 人物-唇膏, custom_nodes | 自然景观-花卉, +571 |
| wildcard_probability_16 | FLOAT | 1.000–1 | — |
| wildcard_name_17 | COMBO | None | 577 options: None, custom_nodes | 人物-装饰-下身, custom_nodes | 人物-类型, custom_nodes | 人物-鞋袜, custom_nodes | 人物-唇膏, custom_nodes | 自然景观-花卉, +571 |
| wildcard_probability_17 | FLOAT | 1.000–1 | — |
| wildcard_name_18 | COMBO | None | 577 options: None, custom_nodes | 人物-装饰-下身, custom_nodes | 人物-类型, custom_nodes | 人物-鞋袜, custom_nodes | 人物-唇膏, custom_nodes | 自然景观-花卉, +571 |
| wildcard_probability_18 | FLOAT | 1.000–1 | — |
| wildcard_name_19 | COMBO | None | 577 options: None, custom_nodes | 人物-装饰-下身, custom_nodes | 人物-类型, custom_nodes | 人物-鞋袜, custom_nodes | 人物-唇膏, custom_nodes | 自然景观-花卉, +571 |
| wildcard_probability_19 | FLOAT | 1.000–1 | — |
| wildcard_name_20 | COMBO | None | 577 options: None, custom_nodes | 人物-装饰-下身, custom_nodes | 人物-类型, custom_nodes | 人物-鞋袜, custom_nodes | 人物-唇膏, custom_nodes | 自然景观-花卉, +571 |
| wildcard_probability_20 | FLOAT | 1.000–1 | — |
| wildcard_name_21 | COMBO | None | 577 options: None, custom_nodes | 人物-装饰-下身, custom_nodes | 人物-类型, custom_nodes | 人物-鞋袜, custom_nodes | 人物-唇膏, custom_nodes | 自然景观-花卉, +571 |
| wildcard_probability_21 | FLOAT | 1.000–1 | — |
| wildcard_name_22 | COMBO | None | 577 options: None, custom_nodes | 人物-装饰-下身, custom_nodes | 人物-类型, custom_nodes | 人物-鞋袜, custom_nodes | 人物-唇膏, custom_nodes | 自然景观-花卉, +571 |
| wildcard_probability_22 | FLOAT | 1.000–1 | — |
| wildcard_name_23 | COMBO | None | 577 options: None, custom_nodes | 人物-装饰-下身, custom_nodes | 人物-类型, custom_nodes | 人物-鞋袜, custom_nodes | 人物-唇膏, custom_nodes | 自然景观-花卉, +571 |
| wildcard_probability_23 | FLOAT | 1.000–1 | — |
| wildcard_name_24 | COMBO | None | 577 options: None, custom_nodes | 人物-装饰-下身, custom_nodes | 人物-类型, custom_nodes | 人物-鞋袜, custom_nodes | 人物-唇膏, custom_nodes | 自然景观-花卉, +571 |
| wildcard_probability_24 | FLOAT | 1.000–1 | — |
| wildcard_name_25 | COMBO | None | 577 options: None, custom_nodes | 人物-装饰-下身, custom_nodes | 人物-类型, custom_nodes | 人物-鞋袜, custom_nodes | 人物-唇膏, custom_nodes | 自然景观-花卉, +571 |
| wildcard_probability_25 | FLOAT | 1.000–1 | — |
| wildcard_name_26 | COMBO | None | 577 options: None, custom_nodes | 人物-装饰-下身, custom_nodes | 人物-类型, custom_nodes | 人物-鞋袜, custom_nodes | 人物-唇膏, custom_nodes | 自然景观-花卉, +571 |
| wildcard_probability_26 | FLOAT | 1.000–1 | — |
| wildcard_name_27 | COMBO | None | 577 options: None, custom_nodes | 人物-装饰-下身, custom_nodes | 人物-类型, custom_nodes | 人物-鞋袜, custom_nodes | 人物-唇膏, custom_nodes | 自然景观-花卉, +571 |
| wildcard_probability_27 | FLOAT | 1.000–1 | — |
| wildcard_name_28 | COMBO | None | 577 options: None, custom_nodes | 人物-装饰-下身, custom_nodes | 人物-类型, custom_nodes | 人物-鞋袜, custom_nodes | 人物-唇膏, custom_nodes | 自然景观-花卉, +571 |
| wildcard_probability_28 | FLOAT | 1.000–1 | — |
| wildcard_name_29 | COMBO | None | 577 options: None, custom_nodes | 人物-装饰-下身, custom_nodes | 人物-类型, custom_nodes | 人物-鞋袜, custom_nodes | 人物-唇膏, custom_nodes | 自然景观-花卉, +571 |
| wildcard_probability_29 | FLOAT | 1.000–1 | — |
| wildcard_name_30 | COMBO | None | 577 options: None, custom_nodes | 人物-装饰-下身, custom_nodes | 人物-类型, custom_nodes | 人物-鞋袜, custom_nodes | 人物-唇膏, custom_nodes | 自然景观-花卉, +571 |
| wildcard_probability_30 | FLOAT | 1.000–1 | — |
| wildcard_name_31 | COMBO | None | 577 options: None, custom_nodes | 人物-装饰-下身, custom_nodes | 人物-类型, custom_nodes | 人物-鞋袜, custom_nodes | 人物-唇膏, custom_nodes | 自然景观-花卉, +571 |
| wildcard_probability_31 | FLOAT | 1.000–1 | — |
| wildcard_name_32 | COMBO | None | 577 options: None, custom_nodes | 人物-装饰-下身, custom_nodes | 人物-类型, custom_nodes | 人物-鞋袜, custom_nodes | 人物-唇膏, custom_nodes | 自然景观-花卉, +571 |
| wildcard_probability_32 | FLOAT | 1.000–1 | — |
| wildcard_name_33 | COMBO | None | 577 options: None, custom_nodes | 人物-装饰-下身, custom_nodes | 人物-类型, custom_nodes | 人物-鞋袜, custom_nodes | 人物-唇膏, custom_nodes | 自然景观-花卉, +571 |
| wildcard_probability_33 | FLOAT | 1.000–1 | — |
| wildcard_name_34 | COMBO | None | 577 options: None, custom_nodes | 人物-装饰-下身, custom_nodes | 人物-类型, custom_nodes | 人物-鞋袜, custom_nodes | 人物-唇膏, custom_nodes | 自然景观-花卉, +571 |
| wildcard_probability_34 | FLOAT | 1.000–1 | — |
| wildcard_name_35 | COMBO | None | 577 options: None, custom_nodes | 人物-装饰-下身, custom_nodes | 人物-类型, custom_nodes | 人物-鞋袜, custom_nodes | 人物-唇膏, custom_nodes | 自然景观-花卉, +571 |
| wildcard_probability_35 | FLOAT | 1.000–1 | — |
| wildcard_name_36 | COMBO | None | 577 options: None, custom_nodes | 人物-装饰-下身, custom_nodes | 人物-类型, custom_nodes | 人物-鞋袜, custom_nodes | 人物-唇膏, custom_nodes | 自然景观-花卉, +571 |
| wildcard_probability_36 | FLOAT | 1.000–1 | — |
| wildcard_name_37 | COMBO | None | 577 options: None, custom_nodes | 人物-装饰-下身, custom_nodes | 人物-类型, custom_nodes | 人物-鞋袜, custom_nodes | 人物-唇膏, custom_nodes | 自然景观-花卉, +571 |
| wildcard_probability_37 | FLOAT | 1.000–1 | — |
| wildcard_name_38 | COMBO | None | 577 options: None, custom_nodes | 人物-装饰-下身, custom_nodes | 人物-类型, custom_nodes | 人物-鞋袜, custom_nodes | 人物-唇膏, custom_nodes | 自然景观-花卉, +571 |
| wildcard_probability_38 | FLOAT | 1.000–1 | — |
| wildcard_name_39 | COMBO | None | 577 options: None, custom_nodes | 人物-装饰-下身, custom_nodes | 人物-类型, custom_nodes | 人物-鞋袜, custom_nodes | 人物-唇膏, custom_nodes | 自然景观-花卉, +571 |
| wildcard_probability_39 | FLOAT | 1.000–1 | — |
| wildcard_name_40 | COMBO | None | 577 options: None, custom_nodes | 人物-装饰-下身, custom_nodes | 人物-类型, custom_nodes | 人物-鞋袜, custom_nodes | 人物-唇膏, custom_nodes | 自然景观-花卉, +571 |
| wildcard_probability_40 | FLOAT | 1.000–1 | — |
| wildcard_name_41 | COMBO | None | 577 options: None, custom_nodes | 人物-装饰-下身, custom_nodes | 人物-类型, custom_nodes | 人物-鞋袜, custom_nodes | 人物-唇膏, custom_nodes | 自然景观-花卉, +571 |
| wildcard_probability_41 | FLOAT | 1.000–1 | — |
| wildcard_name_42 | COMBO | None | 577 options: None, custom_nodes | 人物-装饰-下身, custom_nodes | 人物-类型, custom_nodes | 人物-鞋袜, custom_nodes | 人物-唇膏, custom_nodes | 自然景观-花卉, +571 |
| wildcard_probability_42 | FLOAT | 1.000–1 | — |
| wildcard_name_43 | COMBO | None | 577 options: None, custom_nodes | 人物-装饰-下身, custom_nodes | 人物-类型, custom_nodes | 人物-鞋袜, custom_nodes | 人物-唇膏, custom_nodes | 自然景观-花卉, +571 |
| wildcard_probability_43 | FLOAT | 1.000–1 | — |
| wildcard_name_44 | COMBO | None | 577 options: None, custom_nodes | 人物-装饰-下身, custom_nodes | 人物-类型, custom_nodes | 人物-鞋袜, custom_nodes | 人物-唇膏, custom_nodes | 自然景观-花卉, +571 |
| wildcard_probability_44 | FLOAT | 1.000–1 | — |
| wildcard_name_45 | COMBO | None | 577 options: None, custom_nodes | 人物-装饰-下身, custom_nodes | 人物-类型, custom_nodes | 人物-鞋袜, custom_nodes | 人物-唇膏, custom_nodes | 自然景观-花卉, +571 |
| wildcard_probability_45 | FLOAT | 1.000–1 | — |
| wildcard_name_46 | COMBO | None | 577 options: None, custom_nodes | 人物-装饰-下身, custom_nodes | 人物-类型, custom_nodes | 人物-鞋袜, custom_nodes | 人物-唇膏, custom_nodes | 自然景观-花卉, +571 |
| wildcard_probability_46 | FLOAT | 1.000–1 | — |
| wildcard_name_47 | COMBO | None | 577 options: None, custom_nodes | 人物-装饰-下身, custom_nodes | 人物-类型, custom_nodes | 人物-鞋袜, custom_nodes | 人物-唇膏, custom_nodes | 自然景观-花卉, +571 |
| wildcard_probability_47 | FLOAT | 1.000–1 | — |
| wildcard_name_48 | COMBO | None | 577 options: None, custom_nodes | 人物-装饰-下身, custom_nodes | 人物-类型, custom_nodes | 人物-鞋袜, custom_nodes | 人物-唇膏, custom_nodes | 自然景观-花卉, +571 |
| wildcard_probability_48 | FLOAT | 1.000–1 | — |
| wildcard_name_49 | COMBO | None | 577 options: None, custom_nodes | 人物-装饰-下身, custom_nodes | 人物-类型, custom_nodes | 人物-鞋袜, custom_nodes | 人物-唇膏, custom_nodes | 自然景观-花卉, +571 |
| wildcard_probability_49 | FLOAT | 1.000–1 | — |
| textopt | STRING | — |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| text | STRING | — |
| file contents | STRING | — |