ComfyUI Node

Int Box

The integer input that comes with a typo in its output name

By exectails·Created 2 years ago·Updated 2 years ago· 3
Int Box
    • text
    value0

    A number box that hands you back exactly the number you typed

    Int Box (ETIntBoxNode) from the Info Utils pack is the integer version of the pack's String Box. You type a number into value, and it comes out of text unchanged. Zero processing, zero coercion, zero surprises.

    The "text" output name is the pack's running gag - the author reused the same return-name convention across every primitive, so this node's output is named text but carries an INT. It will not slot into a STRING socket, and that's correct behavior: ComfyUI type-checks on connection. Don't let the label confuse you, this is a pure integer source.

    Why it exists

    Same story as String Box: the official ComfyUI primitive node is a jack-of-all-trades, and sometimes it doesn't play nicely with custom nodes that want a clean INT socket. Int Box is the single-purpose alternative - one input, one output, no extra widget noise. It's in the exectails/Info category, alongside the pack's other input boxes.

    How it works

    One required input, value (INT, default 0), and one output, text (INT). process passes the integer through untouched:

    value (type a number) → text (wire it to any INT socket)
    

    That makes it handy for feeding things like:

    • Steps, CFG, seed, or batch size into a KSampler or a loader
    • Width/height values into latent or image nodes
    • Counts into any custom node that wants an integer widget

    It keeps the canvas tidy too - a compact box instead of a primitive with its extra convert toggle.

    How to install it

    Ships in Info Utils (exectails/comfyui-et_infoutils). No dependencies, no downloads. Install via ComfyUI Manager (search "Info Utils") or:

    cd ComfyUI/custom_nodes
    git clone https://github.com/exectails/comfyui-et_infoutils
    

    Restart ComfyUI and you'll find Int Box under exectails/Info.

    The one thing to watch

    The default widget is a plain integer field - type "3.5" and it won't take it, and typing letters is right out. If you genuinely need a float, this is not your node; reach for a float input or a primitive instead. And remember the output is INT despite the name, so don't try to wire it into a text box and expect your prompt to read "42". For that, the pack's Text Box or String Box are the ones.

    Categoryexectails/Info

    Inputs (1)

    NameTypeDefaultDescription
    valueINT0

    Outputs (1)

    NameTypeDescription
    textINT