Nodes/ComfyUI-WA-Suite/WFA Batch Prompt Switcher ⚡ (WFA Suite)
ComfyUI Node

WFA Batch Prompt Switcher ⚡ (WFA Suite)

A ComfyUI node in WFA Node Suite/Prompts with 26 inputs and 17 outputs.

By WAonGHub·Created 12 days ago·Updated a day ago· 1
WFA Batch Prompt Switcher ⚡ (WFA Suite)
  • label_filter
  • positive
  • negative
  • title
  • width
  • height
  • batch_size
  • sdxl_lora
  • sdxl_strength
  • anima_lora
  • anima_strength
  • c1_enable
  • c2_enable
  • c3_enable
  • c4_enable
  • c5_enable
  • end_index
  • count
◄use_batchtrue►
◄file_batchfalse►
◄prompt_fileexample_prompts.txt►
◄index0►
◄reloadtrue►
◄clean_titletrue►
◄strip_metatrue►
◄default_width1024►
◄default_height1024►
◄positive—►
◄negative—►
◄title—►
◄width—►
◄height—►
◄batch_size—►
◄sdxl_lora—►
◄sdxl_strength—►
◄anima_lora—►
◄anima_strength—►
◄c1_enable—►
◄c2_enable—►
◄c3_enable—►
◄c4_enable—►
◄c5_enable—►
◄text_override—►
CategoryWFA Node Suite/Prompts

Inputs (26)

NameTypeDefaultDescription
use_batchBOOLEANtrueMaster source switch (can also be wired to your dashboard boolean toggle): • Batch File (true): Outputs prompts & settings from the batch `.txt` file / `label_filter` (skips Single UI inputs lazily). • Single UI (false): Outputs prompts & settings from the mirrored Single UI input sockets on the left.
file_batchBOOLEANfalseIndependent `batch_size` source switch: • Batch File (true): Takes `batch_size` from `batchsize:` / `[[{N}]]` inside the batch prompt file. • UI Input (false): Takes `batch_size` from the `batch_size` input socket on the left (even when `use_batch` is Batch File).
prompt_fileCOMBOexample_prompts.txtPrompt `.txt` file to load when `label_filter` is not connected.
indexINT00–9999990-based prompt index to output in Batch File mode (wire from `WFA Loop Iterator` / `WFA Loop Shutdown` `index`).
reloadBOOLEANtrueWhen Auto, automatically reloads from disk whenever the `.txt` file is edited and saved; otherwise reads from fast RAM cache.
clean_titleBOOLEANtrueWhen Clean, removes `[LABEL]` tags from the `title` output string.
strip_metaBOOLEANtrueWhen Clean, strips legacy `/*{{{width}}}[[[height]]]...*/` control blocks from `negative` while keeping all other `/*...*/` placeholders intact.
default_widthINT102464–8192Fallback width when active source does not specify a width.
default_heightINT102464–8192Fallback height when active source does not specify a height.
positiveoptSTRINGSingle UI positive prompt input (automatically strips any leading `positive:` prefix).
negativeoptSTRINGSingle UI negative prompt input (automatically strips any leading `negative:` prefix).
titleoptSTRINGOptional Single UI title input.
widthoptINTSingle UI width input.
heightoptINTSingle UI height input.
batch_sizeoptINTUI `batch_size` input (used whenever `file_batch` is set to `UI Input`).
sdxl_loraoptINTSingle UI SDXL LoRA index input.
sdxl_strengthoptFLOATSingle UI SDXL LoRA strength input.
anima_loraoptINTSingle UI Anima LoRA index input.
anima_strengthoptFLOATSingle UI Anima LoRA strength input.
c1_enableoptBOOLEANSingle UI Character 1 enable boolean input.
c2_enableoptBOOLEANSingle UI Character 2 enable boolean input.
c3_enableoptBOOLEANSingle UI Character 3 enable boolean input.
c4_enableoptBOOLEANSingle UI Character 4 enable boolean input.
c5_enableoptBOOLEANSingle UI Character 5 enable boolean input.
label_filteroptWFA_PROMPT_FILTEROptional control wire from `WFA Prompt Label Filter`. Overrides `prompt_file` and passes only prompts matching your checked UI labels.
text_overrideoptSTRINGOptional raw prompt list text wire (used in Batch File mode when `label_filter` is not connected).

Outputs (17)

NameTypeDescription
positiveSTRING—
negativeSTRING—
titleSTRING—
widthINT—
heightINT—
batch_sizeINT—
sdxl_loraINT—
sdxl_strengthFLOAT—
anima_loraINT—
anima_strengthFLOAT—
c1_enableBOOLEAN—
c2_enableBOOLEAN—
c3_enableBOOLEAN—
c4_enableBOOLEAN—
c5_enableBOOLEAN—
end_indexINT—
countINT—