Nodes/Endless ️🌊✨ Nodes/β™ΎοΈπŸŒŠβœ¨ Eight Input Text Switch
ComfyUI Node

β™ΎοΈπŸŒŠβœ¨ Eight Input Text Switch

The Endless Eight Input Text Switch

By tusharbhuttΒ·Created 3 years agoΒ·Updated about a year agoΒ· 68
β™ΎοΈπŸŒŠβœ¨ Eight Input Text Switch
    • Output
    β—„Input1β–Ί
    β—„text1β€”β–Ί
    β—„text2β€”β–Ί
    β—„text3β€”β–Ί
    β—„text4β€”β–Ί
    β—„text5β€”β–Ί
    β—„text6β€”β–Ί
    β—„text7β€”β–Ί
    β—„text8β€”β–Ί

    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.
    • text2 through text8 - 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.

    CategoryEndless 🌊✨/Switches/Fixed

    Inputs (9)

    NameTypeDefaultDescription
    InputINT11–8β€”
    text1STRINGβ€”
    text2optSTRINGβ€”
    text3optSTRINGβ€”
    text4optSTRINGβ€”
    text5optSTRINGβ€”
    text6optSTRINGβ€”
    text7optSTRINGβ€”
    text8optSTRINGβ€”

    Outputs (1)

    NameTypeDescription
    OutputSTRINGβ€”