ComfyUI Node
Dynamic Prompt (Combinatorial)
Generates every possible combination from a dynamic prompt template. Variants like {a|b} are expanded exhaustively — {a|b} {x|y} produces a x, a y, b x, b y. Wildcards like __colours__ insert every value from the wildcard file. Outputs the full list of prompts, the total count, and the single prompt at the given index (wraps around if index exceeds total).
Dynamic Prompt (Combinatorial)
- prompt
- all_prompts
- total_count
◄template—►
◄index0►
CategoryDynamic Prompts
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| template | STRING | — | |
| index | INT | 00–2147483647 | — |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| prompt | STRING | — |
| all_prompts | STRING | — |
| total_count | INT | — |