Nodes/comfyui-VarBoard/VarBoard Seed
ComfyUI Node

VarBoard Seed

A seed control you can actually reach without scrolling

By IA-gyz·Created 6 months ago·Updated 6 months ago· 3
VarBoard Seed
    • SEED
    • LABEL
    seed0
    labelSeed

    The seed is the parameter you touch on every single run, and in stock ComfyUI it's buried inside the KSampler's widget stack. VB_Seed puts your seed on the VarBoard panel where it belongs - one row, always visible, no zooming required.

    What it does

    Same pass-through architecture as every node in this pack: the backend holds a seed and a label, execute() returns both untouched, and the frontend renders a row on the floating panel anchored by VB_Panel. You get two inputs:

    • seed - default 0, min 0, max 9007199254740991. That ceiling isn't arbitrary: it's 2^53 − 1, the largest integer JavaScript can represent exactly, which is also the practical limit ComfyUI itself respects.
    • label - the name on the board. Default "Seed".

    Outputs: SEED (the integer seed - wire this into a KSampler's seed input) and LABEL (the label string).

    The seed-specific niceties

    The panel treats seeds better than plain ints. It gives you step up/down controls (▲/▼) for nudging a seed a bit at a time, and the author wired those controls into ComfyUI's native control_after_generate widget rather than reinventing it. That means "randomize" behaves exactly like the stock widget does - a new random seed each queue, reflected on the panel right away - instead of a janky frontend approximation that fights ComfyUI's own logic.

    That's a real quality detail. A lot of seed-replacement nodes get this wrong and you end up with a workflow that secretly reuses the same seed on every run. This one inherits the stock behavior, which is the behavior you're used to.

    Why you want it on the panel

    Because the seed is the one knob you turn between every comparison, and the universal debugging advice - from the KB's troubleshooting essay and every experienced poster on r/comfyui - is change one variable at a time on a fixed seed. When you're systematically testing samplers or CFG, the seed has to stay put while the other knob moves. Having the seed sitting visibly on a board makes it much harder to accidentally leave it on randomize while you're A/B-ing something else and then wonder why nothing reproduces.

    Install

    No dependencies, no models. ComfyUI Manager (search "VarBoard"), or:

    cd ComfyUI/custom_nodes
    git clone https://github.com/IA-gyz/comfyui-VarBoard
    

    Restart ComfyUI, hard-refresh your browser, drop a VB_Panel anchor, and your VB_Seed will appear on the board automatically. Wire its SEED output into the KSampler and you're done - the seed you see on the board is the seed that runs.

    CategoryVarBoard

    Inputs (2)

    NameTypeDefaultDescription
    seedINT00–9007199254740991Seed value. Can be overridden from the VarBoard.
    labelSTRINGSeedDisplay label shown in the panel.

    Outputs (2)

    NameTypeDescription
    SEEDINT
    LABELSTRING