ComfyUI Node
Random Prompts
Resolve {A|B|C} variants and __wildcard__ tokens in a prompt template. Syntax: {A|B|C} — pick one option at random {2::A|B} — weighted pick (A is twice as likely) {A|{B|C}} — nesting supported __name__ — random value from wildcards/name.txt __dir/name__ — wildcard in a subdirectory
Random Prompts
- Resolved Prompt
◄text►
◄seed0►
CategoryPromptcraft
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| text | STRING | Prompt template. {A|B|C} — pick one at random __name__ — wildcard from file | |
| seed | INT | 00–18446744073709550000 | Random seed. Set 'control after generate' to 'fixed' for reproducible results. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| Resolved Prompt | STRING | The prompt template with all variants and wildcards resolved. |