Nodes/ComfyUI-SBTools/Variable Prompt (SBTools)
ComfyUI Node

Variable Prompt (SBTools)

A ComfyUI node in SBTools/Prompt with 6 inputs and 1 output.

By Amatsukast·Created 4 months ago·Updated 3 months ago· 0
Variable Prompt (SBTools)
  • var_list
  • VAR_LIST
tag_name
valuesvalue1 value2 value3
randomizefalse
prefix
suffix
CategorySBTools/Prompt

Inputs (6)

NameTypeDefaultDescription
tag_nameSTRINGTag name for template replacement (e.g., GENDER, CLOTHING)
valuesSTRINGvalue1 value2 value3List of values, one per line. Use [condition] syntax for conditional values (e.g., [man&&suit]).
randomizeBOOLEANfalseEnable random selection (off = sequential cycle through all values)
prefixSTRINGText to add before value (only in tag mode, ignored if value is empty)
suffixSTRINGText to add after value (only in tag mode, ignored if value is empty)
var_listoptVARIABLE_LISTOptional: Connect previous variable to enable conditional logic based on its values

Outputs (1)

NameTypeDescription
VAR_LISTVARIABLE_LIST