Nodes/ComfyUI_AceNodes/πŸ… Seed
ComfyUI Node

πŸ… Seed

The seed node that doesn't pretend to be anything more than a seed

By hay86Β·Created 2 years agoΒ·Updated about a year agoΒ· 96
πŸ… Seed
    • INT
    β—„seed0β–Ί

    Somewhere between "type a number into the sampler" and "install a pack that remembers every seed you ever ran" there's a sweet spot, and πŸ… Seed sits in it. It's a plain integer widget labeled as a seed: you type a number, it outputs that number as a typed INT, and you wire it to the seed port on a KSampler. Nothing more. Given how much of image generation comes down to "lock the seed, change one thing, compare," having a dedicated, labeled seed box that's visible in the graph is more useful than it sounds.

    How it works

    The seed input is an INT widget with a default of 0, a minimum of 0, and a maximum of roughly 1.8Γ—10¹⁹ - the full unsigned span, which is plenty for seed space. The output is the value, passed straight through as INT. There's no randomization toggle, no history, no "last seed" memory.

    That last point is the difference worth calling out. The famous rgthree seed node remembers what it just ran, which is great when you're iterating. This one doesn't - it's a plain widget. For most people that's fine, arguably better: you set a seed, you know exactly what it is, and you can reproduce it from memory by typing it back in. If your workflow lives or dies on seed recall, grab a memory-capable seed node instead; if you just want a clean, explicit seed knob, this is the one.

    Where it goes

    • seed β†’ KSampler's seed port is the canonical wiring, and because it's a typed INT it plugs right in.
    • Want to vary seeds across runs? Feed this into πŸ… Expression Eval and compute an offset - a + b with b as a step counter gives you a controllable seed series.

    Inputs and outputs

    • seed - INT, default 0, min 0.
    • Output: INT.

    Install

    It's part of hay86/ComfyUI_AceNodes:

    cd ComfyUI/custom_nodes
    git clone https://github.com/hay86/ComfyUI_AceNodes
    cd ComfyUI_AceNodes
    pip install -r requirements.txt
    

    Restart ComfyUI and look for πŸ… Seed under Ace Nodes. Manager users search ComfyUI_AceNodes.

    One thing to keep straight

    Don't reach for this when you need a signed integer - this node clamps at zero, so negative seeds aren't a thing here (they're equivalent to their positive values anyway in most samplers). And expect the pack's usual install weight: the full requirements.txt drags in rembg, transformers, and friends that a seed node obviously never needs. For a simple, honest, always-reproducible seed input, though, it's exactly right.

    CategoryAce Nodes

    Inputs (1)

    NameTypeDefaultDescription
    seedINT00–18446744073709550000β€”

    Outputs (1)

    NameTypeDescription
    INTINTβ€”