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

Variable Builder (SBTools)

A ComfyUI node in SBTools/Prompt with 5 inputs and 7 outputs.

By Amatsukast·Created 4 months ago·Updated 3 months ago· 0
Variable Builder (SBTools)
  • var_list
  • PROMPT
  • IMAGE1
  • IMAGE2
  • IMAGE3
  • IMAGE4
  • MAX_COMBINATIONS
  • ALL_COMBINATIONS
template
index0
seed0
separator,
CategorySBTools/Prompt

Inputs (5)

NameTypeDefaultDescription
templateSTRINGTemplate text with [TAG_NAME] tags (e.g., 'A [AGE] [GENDER][CLOTHING].'). Leave empty for simple join mode.
indexINT00–999999Index to select which Sequential combination (loops automatically)
seedINT00–4294967295Seed for Random TEXT variables (Image Variable has its own seed)
separatorSTRING, Separator to join values (used for unused variables and empty template mode)
var_listoptVARIABLE_LISTVariable list from Prompt Variable, Image Variable Loader, or Variable Combiner

Outputs (7)

NameTypeDescription
PROMPTSTRING
IMAGE1IMAGE
IMAGE2IMAGE
IMAGE3IMAGE
IMAGE4IMAGE
MAX_COMBINATIONSINT
ALL_COMBINATIONSSTRING