Nodes/Otonx's Custom Nodes/OTX Integer Multiple Inputs 5
ComfyUI Node

OTX Integer Multiple Inputs 5

Five integer slots, one node — for the workflow with one number too many

By budihartono·Created 3 years ago·Updated 2 years ago· 1
OTX Integer Multiple Inputs 5
    • INT
    • INT
    • INT
    • INT
    • INT
    int_10
    int_20
    int_30
    int_40
    int_50

    Some workflows need exactly one more integer than the 4-slot version of this node has. OTX Integer Multiple Inputs 5 is the same idea as its little sibling - a bank of integer slots in a single node, each typed in or wired in, each passed straight through to its own output - just with five slots instead of four. It exists so your width, height, seed, steps and batch count can live in one visible place instead of five Primitive nodes scattered across the canvas.

    It's part of Otonx's Custom Nodes, a small personal pack by Budi Hartono. Manage expectations: the pack has almost no community presence, the README explicitly warns the nodes are "subject to intermittent changes," and the last meaningful update to the repo landed back in 2024. None of that matters much for a node whose entire job is returning its inputs unchanged, but it's worth knowing before you build anything production-critical on it.

    How it works

    Peek at otonx_nodes.py and you'll find the whole mechanism:

    def pass_parameters(self, int_1, int_2, int_3, int_4, int_5):
        return int_1, int_2, int_3, int_4, int_5
    

    Inputs in, outputs out, no transformation in between. The outputs are strictly INT-typed rather than wildcard, so the type system keeps you honest - a mistake here shows up as an unconnectable socket, not as a runtime crash three nodes later. That strict typing is actually the strongest argument for this node over an "any" passthrough: it can't silently carry the wrong kind of data.

    The inputs and outputs that matter

    Five INT slots, int_1 through int_5, each defaulting to 0 with a 0–10000 range, and five matching INT outputs. A natural five-integer set:

    • seed, steps, cfg-multiplier, batch count, and one Lora weight
    • width, height, seed, steps, and the number of images in a grid
    • Any parameter set where you tune five numbers together and want them on one widget

    The 0–10000 cap is the one real constraint. It's fine for steps, batch counts and dimensions, but don't route big sampler seeds (which go up to 2^64) through it - you'll silently truncate your seed space.

    Installing it

    Nothing special to install for this one - it ships in the same zero-dependency pack. Through ComfyUI Manager, search "Otonx"; or clone directly:

    cd ComfyUI/custom_nodes
    git clone https://github.com/budihartono/comfyui_otonx_nodes
    

    Restart ComfyUI, and the node appears under OtonxPack.

    Common issues

    • Node missing after install - full restart, then search "OTX" in the node picker.
    • Stuck at 0 or capped at 10000 - the widget's declared range, working as designed. Need bigger numbers? Reach for a seed node or a calculator node instead.

    There's nothing clever here, and that's the point. If you're tired of hunting for the fifth primitive node every time you rebuild a graph, this is five fewer hunts.

    CategoryOtonxPack

    Inputs (5)

    NameTypeDefaultDescription
    int_1INT00–10000
    int_2INT00–10000
    int_3INT00–10000
    int_4INT00–10000
    int_5INT00–10000

    Outputs (5)

    NameTypeDescription
    INTINT
    INTINT
    INTINT
    INTINT
    INTINT