Nodes/comfyui-mixlab-nodes/Int Input ♾️Mixlab
ComfyUI Node Runs on cloud

Int Input ♾️Mixlab

IntNumber — Mixlab's App-Ready Integer Input

By MixLabPro·Created 3 years ago·Updated 2 months ago· 1,859
Int Input ♾️Mixlab
    • INT
    number0
    min_value0
    max_value1
    step1

    IntNumber looks like the most boring node in the entire Mixlab pack, and functionally it kind of is - it's a whole-number input with a min, a max, and a step. But there's a real reason to reach for it instead of ComfyUI's own built-in INT widget, and it's not really about the widget itself.

    Mixlab's headline feature is Workflow-to-APP: build a graph, drop in an AppInfo node, and the whole thing turns into a shareable web app with real UI controls instead of a node graph for people who don't want to see wires. The catch is that not every input in ComfyUI can become an app control - only a specific whitelist gets exposed that way. Per the pack's own README, that list is nine nodes deep: Load Image, VHS_LoadVideo, CLIPTextEncode, PromptSlide, TextInput, Color, FloatSlider, IntNumber, CheckpointLoaderSimple, and LoraLoader. If you want your published app to show a clean number spinner - batch count, a seed offset, whatever - a generic ComfyUI number primitive won't cut it. You need IntNumber specifically, because that's the class the exporter actually recognizes.

    Mechanically it's about as simple as nodes get. number is the value; min_value, max_value, and step bound and quantize it. Push it past the max or below the min and it clamps rather than throws an error, which is handy if it's fed by something upstream that occasionally overshoots. step sets the increment the spinner moves by - it doesn't forbid an off-step value if you type one in by hand. The single output is a plain INT, and it goes anywhere ComfyUI wants an integer: steps, batch_size, width, height, a seed.

    Installing it is the same story as every node in this pack, so it's worth doing once properly. Fastest path is ComfyUI Manager: open it, search "comfyui-mixlab-nodes," install, restart. Doing it by hand is just as easy:

    cd ComfyUI/custom_nodes
    git clone https://github.com/shadowcz007/comfyui-mixlab-nodes.git
    cd comfyui-mixlab-nodes
    install.bat
    

    On a portable Windows build without install.bat, run ../../../python_embeded/python.exe -s -m pip install -r requirements.txt instead; in a venv it's just pip3 install -r requirements.txt. Restart ComfyUI when it's done.

    Worth knowing going in: this pack is huge, and reception on it is genuinely split. Long-time users describe it as "a fantastic group of custom nodes for comfy for professional users or graphic backgrounds... it has much more power inside" once you dig past the surface. Others uninstall it entirely, annoyed by persistent update-check popups, one calling the bundle "sh*t nodes" specifically because of the nagging. Both takes are fair - it bundles 3D generation, TTS, VQA, layer compositing, LLM wrappers, and a dozen other subsystems into one repo, and installing it for a single node like IntNumber means you inherit all of that surface area whether you use it or not.

    For IntNumber itself there isn't much to actually go wrong - it's a widget, not a model loader, so there's no download to forget and no CUDA dependency to fight. The one real gotcha: if you're building a Workflow-to-APP page and your number control just isn't showing up on the published app, check that you actually used IntNumber and not a generic ComfyUI number node that looks the same in the graph. The exporter only recognizes Mixlab's own whitelisted input types, and a lookalike widget gets silently skipped rather than flagged as an error - which makes it a confusing thing to debug if you don't know the whitelist exists.

    Category♾️Mixlab/Input

    Inputs (4)

    NameTypeDefaultDescription
    numberINT0-1–18446744073709550000
    min_valueINT0-18446744073709550000–18446744073709550000
    max_valueINT1-18446744073709550000–18446744073709550000
    stepINT1-18446744073709550000–18446744073709550000

    Outputs (1)

    NameTypeDescription
    INTINT