βΎοΈπβ¨ Eight Input Text Switch
The Endless Eight Input Text Switch
- Output
You've got eight prompt variants and you don't want eight rewiring sessions. That's the whole job of the βΎοΈπβ¨ Eight Input Text Switch from tusharbhutt's Endless-Nodes pack: one slider on the node picks which of up to eight text slots flows out the Output socket. Flip the slider, re-run, see what slot 4 does vs. slot 1, no dragging wires.
It's the kind of node that looks trivial until you've sat there A/B/C/D-ing style tags by hand. Wire each slot to a different version of your prompt, leave the slider on 1, and batch through them. It also plays nicely with prompt wildcard set-ups - feed each slot from a different source and use the slider as a manual override.
How it works
The mechanism is a straight index pick. Set the Input slider to a number between 1 and 8, and the node hands you back text<Input> as its single Output string. Nothing is concatenated, nothing is parsed - it's a plain "which one" selector, one in, one out.
The inputs that matter:
Input- INT slider, 1β8, default 1. This is the switch.text1- the one required slot. Everything else is optional.text2throughtext8- STRING, leave empty if you don't need all eight.
Only one output: Output, a STRING, ready to feed a CLIP Text Encode or anything else that takes text. If you select a slot you never filled, you get an empty string out - not an error, just nothing, which can silently confuse a downstream prompt. Keep your unused slots empty and your selected ones filled.
Installing it
This comes from the Endless-Nodes pack, so the install is the pack install:
- ComfyUI Manager β Install Custom Nodes β search "Endless" or "Endless-Nodes".
- Or, from your
ComfyUI/custom_nodes/folder:
git clone https://github.com/tusharbhutt/Endless-Nodes
Restart ComfyUI and you'll get an "Endless πβ¨" menu with the node inside.
The honest caveat: this one is legacy
Endless-Nodes had a big cleanup in June 2025 - the author's own words were "blew everything up and removed all the old nodes." This class (note the ESS prefix) is from the older single-file version of the pack and no longer ships in a fresh install. If you loaded this from a saved workflow, expect ComfyUI to complain about a missing node on a current install. The pack's rebuilt, actively-shipped replacement does the same job under the name Eight Input Text Switch (class Eight_Input_Text_Switch), and that's the one worth wiring up today.
The author, tusharbhutt, is upfront about all of this: hobbyist-built nodes, made for his own use, maintained "maybe," GPL-3.0, and an explicit ban on using them for content that violates Stability or Black Forest Labs usage policies. They work on his system - treat that as the guarantee level you're getting. If a modern switch is all you need, the current pack's version is simpler to trust.
Inputs (9)
| Name | Type | Default | Description |
|---|---|---|---|
| Input | INT | 11β8 | β |
| text1 | STRING | β | |
| text2opt | STRING | β | |
| text3opt | STRING | β | |
| text4opt | STRING | β | |
| text5opt | STRING | β | |
| text6opt | STRING | β | |
| text7opt | STRING | β | |
| text8opt | STRING | β |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| Output | STRING | β |