ComfyUI Node

Ard Seed

A seed node with a float output — and a reset that will quietly bite you

By ArdeniusAI·Created 2 years ago·Updated 2 years ago· 5
Ard Seed
    • seed
    • seed_float
    max_count1
    seed1

    Ard Seed is a constant - a box you type a number into and it hands that number out. What makes it different from ComfyUI's built-in Seed node is the second output: the same seed as a float. That's genuinely handy in workflows built around float math nodes (like the rest of this pack, where Ard Math and Ard Counter only want floats). One seed box, and both your integer seed wire and your float seed_float wire are fed from the same value, so they can never drift apart.

    The inputs are dead simple: seed (an integer, 1 to 9,999,999,999) and max_count. That second one is where people get caught. The logic is: if the seed is greater than max_count, the seed resets to 1. So set max_count to the top of the seed range you actually use, or you'll find your "random" seeds snapping back to 1 every time you try something above it. It's a weird footgun for what is otherwise a plain pass-through node, and it's not something the built-in Seed node does.

    So really, you set max_count once to something big (or to your intended range) and forget it, then only touch seed.

    The outputs:

    • seed (INT) → KSampler's seed input, or any integer consumer.
    • seed_float (FLOAT) → a math node, a counter, a float widget - anything that refuses to take an integer.

    Honest take: this is a convenience node, not a capability. ComfyUI's core Seed node plus a "Primitive"/value-convert node gets you the same two numbers, and the randomize button on the built-in seed is something this box doesn't have. Where Ard Seed earns its place is inside Ardenius' own workflows, where the control box and math nodes expect numbers of specific types and you'd rather have one box feeding everything than a chain of converters.

    Install is the standard pack path - ComfyUI Manager → search ComfyUI-Ardenius, or:

    cd ComfyUI/custom_nodes
    git clone https://github.com/ArdeniusAI/ComfyUI-Ardenius
    

    then restart ComfyUI. The pack's requirements.txt installs civitai and moviepy for the whole pack; you can ignore them for a node this trivial, and if you see a single import error in the console at startup it's the Save Image node asking for comfyui_controlnet_aux - not this one.

    One more thing worth knowing if you're new: a fixed seed is how you make generations reproducible. Same seed + same model + same settings = same image. If you're hunting for variety, change the seed; if you're trying to reproduce, freeze it. Ard Seed just gives you a tidy place to hold that number (twice, in both types).

    CategoryArdenius

    Inputs (2)

    NameTypeDefaultDescription
    max_countINT1
    seedINT11–9999999999

    Outputs (2)

    NameTypeDescription
    seedINT
    seed_floatFLOAT