Nodes/Endless ️🌊✨ Nodes/Eight Input Integer Switch
ComfyUI Node

Eight Input Integer Switch

The maxed-out Endless int switch

By tusharbhuttΒ·Created 3 years agoΒ·Updated about a year agoΒ· 68
Eight Input Integer Switch
    • INT
    β—„switch1β–Ί
    β—„int10β–Ί
    β—„int20β–Ί
    β—„int30β–Ί
    β—„int40β–Ί
    β—„int50β–Ί
    β—„int60β–Ί
    β—„int70β–Ί
    β—„int80β–Ί

    When four or six preset slots aren't enough, Eight_Input_Int_Switch is the top of the Endless integer-switch family. Eight integer inputs, a switch selector (1-8), one INT out. It's the same pattern as its smaller siblings, just with more room - useful if you keep a whole library of step/seed/size presets around and want them all in one node rather than scattered across the graph.

    Like the other plain int switches, this one is built for wired inputs (forceInput): connect eight sources, then flip switch to select which value passes through. If you'd rather type numbers directly into widgets on the node, grab the separate "Widget" version - that's what it exists for.

    Inputs and outputs

    • switch - integer 1 to 8, required. The selector.
    • int1 … int8 - optional, default 0, each up to 999999999999.

    Output: a single INT - the value at the selected position, or 0 if that slot has nothing connected. As with the four and six versions, unconnected slots silently return zero rather than erroring.

    When you actually need eight

    Realistically, most people live fine on four or six. Eight slots earn their keep when you're maintaining a permanent set of preset configurations - say, a ladder of resolutions or a bank of seeds you keep returning to across many workflows - and you want one stable node that never changes while the rest of the graph evolves around it. The node is registered as an output node, so it executes even with nothing downstream.

    Installing it

    Part of Endless 🌊✨ Nodes by tusharbhutt:

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

    Or ComfyUI Manager β†’ search "Endless". No dependencies or model files.

    Gotchas

    The usual two: keep switch between 1 and 8, and watch the unconnected-slot-returns-0 behavior - a zeroed steps or seed will quietly sabotage a run. And the standing pack caveat applies: one hobbyist maintainer, AI-assisted code, mid-2025 rewrite. A switch node is about as low-risk as custom nodes get, but if eight int presets is genuinely all you need, a general-purpose pack like rgthree's already covers switching without pulling in the whole Endless install.

    CategoryEndless 🌊✨/Integer Switches

    Inputs (9)

    NameTypeDefaultDescription
    switchINT11–8β€”
    int1optINT0β€”
    int2optINT0β€”
    int3optINT0β€”
    int4optINT0β€”
    int5optINT0β€”
    int6optINT0β€”
    int7optINT0β€”
    int8optINT0β€”

    Outputs (1)

    NameTypeDescription
    INTINTβ€”