ComfyUI Node
WFA Batch Prompt Switcher ⚡ (WFA Suite)
A ComfyUI node in WFA Node Suite/Prompts with 26 inputs and 17 outputs.
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)
| Name | Type | Default | Description |
|---|---|---|---|
| use_batch | BOOLEAN | true | Master 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_batch | BOOLEAN | false | Independent `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_file | COMBO | example_prompts.txt | Prompt `.txt` file to load when `label_filter` is not connected. |
| index | INT | 00–999999 | 0-based prompt index to output in Batch File mode (wire from `WFA Loop Iterator` / `WFA Loop Shutdown` `index`). |
| reload | BOOLEAN | true | When Auto, automatically reloads from disk whenever the `.txt` file is edited and saved; otherwise reads from fast RAM cache. |
| clean_title | BOOLEAN | true | When Clean, removes `[LABEL]` tags from the `title` output string. |
| strip_meta | BOOLEAN | true | When Clean, strips legacy `/*{{{width}}}[[[height]]]...*/` control blocks from `negative` while keeping all other `/*...*/` placeholders intact. |
| default_width | INT | 102464–8192 | Fallback width when active source does not specify a width. |
| default_height | INT | 102464–8192 | Fallback height when active source does not specify a height. |
| positiveopt | STRING | Single UI positive prompt input (automatically strips any leading `positive:` prefix). | |
| negativeopt | STRING | Single UI negative prompt input (automatically strips any leading `negative:` prefix). | |
| titleopt | STRING | Optional Single UI title input. | |
| widthopt | INT | Single UI width input. | |
| heightopt | INT | Single UI height input. | |
| batch_sizeopt | INT | UI `batch_size` input (used whenever `file_batch` is set to `UI Input`). | |
| sdxl_loraopt | INT | Single UI SDXL LoRA index input. | |
| sdxl_strengthopt | FLOAT | Single UI SDXL LoRA strength input. | |
| anima_loraopt | INT | Single UI Anima LoRA index input. | |
| anima_strengthopt | FLOAT | Single UI Anima LoRA strength input. | |
| c1_enableopt | BOOLEAN | Single UI Character 1 enable boolean input. | |
| c2_enableopt | BOOLEAN | Single UI Character 2 enable boolean input. | |
| c3_enableopt | BOOLEAN | Single UI Character 3 enable boolean input. | |
| c4_enableopt | BOOLEAN | Single UI Character 4 enable boolean input. | |
| c5_enableopt | BOOLEAN | Single UI Character 5 enable boolean input. | |
| label_filteropt | WFA_PROMPT_FILTER | Optional control wire from `WFA Prompt Label Filter`. Overrides `prompt_file` and passes only prompts matching your checked UI labels. | |
| text_overrideopt | STRING | Optional raw prompt list text wire (used in Batch File mode when `label_filter` is not connected). |
Outputs (17)
| Name | Type | Description |
|---|---|---|
| positive | STRING | — |
| negative | STRING | — |
| title | STRING | — |
| width | INT | — |
| height | INT | — |
| batch_size | INT | — |
| sdxl_lora | INT | — |
| sdxl_strength | FLOAT | — |
| anima_lora | INT | — |
| anima_strength | FLOAT | — |
| c1_enable | BOOLEAN | — |
| c2_enable | BOOLEAN | — |
| c3_enable | BOOLEAN | — |
| c4_enable | BOOLEAN | — |
| c5_enable | BOOLEAN | — |
| end_index | INT | — |
| count | INT | — |