ComfyUI Node
Variable Prompt (SBTools)
A ComfyUI node in SBTools/Prompt with 6 inputs and 1 output.
Variable Prompt (SBTools)
- var_list
- VAR_LIST
◄tag_name►
◄valuesvalue1
value2
value3►
◄randomizefalse►
◄prefix►
◄suffix►
CategorySBTools/Prompt
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| tag_name | STRING | Tag name for template replacement (e.g., GENDER, CLOTHING) | |
| values | STRING | value1 value2 value3 | List of values, one per line. Use [condition] syntax for conditional values (e.g., [man&&suit]). |
| randomize | BOOLEAN | false | Enable random selection (off = sequential cycle through all values) |
| prefix | STRING | Text to add before value (only in tag mode, ignored if value is empty) | |
| suffix | STRING | Text to add after value (only in tag mode, ignored if value is empty) | |
| var_listopt | VARIABLE_LIST | Optional: Connect previous variable to enable conditional logic based on its values |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| VAR_LIST | VARIABLE_LIST | — |