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

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

The ESS Six Input Text Switch

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

    A text switch is the laziest, most useful thing you'll add to a workflow: several text inputs, one selector, and whatever you pick comes out the other end. ESS Six Input Text Switch (the "ESS" is part of the newer Endless-branded naming, with the β™ΎοΈπŸŒŠβœ¨ prefix) does exactly that for up to six strings. If you've been swapping prompts in and out by editing a node and re-running, this replaces that ritual with a dropdown.

    It lives in the same family as the non-branded Six_Input_Text_Switch; this one is the newer, slightly stricter sibling. The practical difference: here text1 is a required input, so you always have at least one string to pass through, and the selector is called Input rather than switch. Small stuff, but it matters when you're following a workflow that uses the one naming scheme and you've grabbed the other.

    Inputs and outputs

    • Input - integer 1 to 6. This is the selector: set it to 3 and the node outputs text3. Type a number in the widget or wire it from another node.
    • text1 - required. Your first string.
    • text2 … text6 - optional. You can leave the rest empty and the switch still works for the inputs you filled; a minimum of one is all you need, per the README.

    One Output - a STRING, which is whatever text you selected. Wire it into a prompt node, a text encoder, or anything else downstream that takes a string.

    How it's used

    The mechanism is a boring one-line lookup under the hood (texts[switch - 1]), and that's a compliment. For the classic use case - testing a handful of prompts against the same seed and settings - you set up six prompts once, then flip Input between runs. It also composes well: put the output into a token counter, a prompt combiner, or feed it into the Endless batch prompt nodes to select which list gets rendered.

    Where this fits versus alternatives: rgthree's pack has Reroute and primitive-style nodes for most of this, and plenty of packs ship a text switch too. If you're already in the Endless ecosystem this one is zero extra baggage. If you're not, it's a single node in a bigger hobby pack, and installing the whole pack for one switch is a bigger commitment than grabbing rgthree. Pick based on what you already run.

    Installing it

    It ships inside Endless 🌊✨ Nodes by tusharbhutt. ComfyUI Manager β†’ search "Endless" β†’ install β†’ restart, or:

    cd ComfyUI/custom_nodes
    git clone https://github.com/tusharbhutt/Endless-Nodes
    # restart ComfyUI
    

    No dependencies, no models, nothing to download. It shows up under the "Endless 🌊✨" menu.

    Gotchas

    The switch returns an empty string if the Input value is out of range (below 1 or above 6), so keep it in range. And remember this pack is a one-maintainer hobby project with a June 2025 rewrite - the switches are about as simple as a node gets, so they're not where the pack's risk lives, but the pack's maintenance cadence is still something to check before you build around it.

    CategoryEndless 🌊✨/Switches/Fixed

    Inputs (7)

    NameTypeDefaultDescription
    InputINT11–6β€”
    text1STRINGβ€”
    text2optSTRINGβ€”
    text3optSTRINGβ€”
    text4optSTRINGβ€”
    text5optSTRINGβ€”
    text6optSTRINGβ€”

    Outputs (1)

    NameTypeDescription
    OutputSTRINGβ€”