Next Seeds
One Master Seed to Drive Them All
- seed_1
- seed_2
- seed_3
- seed_4
Every ComfyUI power user eventually hits the same annoyance: your workflow has four noise-producing nodes (a sampler, a latent noise node, a conditioning noise node, an image noise node), and you want them all to change together when you randomize, but you don't want to hand-pick four related numbers or let them drift out of sync. Next Seeds solves that with one input: feed it a single master seed and it derives four deterministic child seeds, one for each of four outputs. Change the master, all four downstream nodes change with it, coherently.
It's a small utility and it's genuinely great at its one job. The derivation isn't seed+1, seed+2, seed+3, seed+4 - that would produce boringly related values (and, at the extremes, patterns that correlate). Instead it uses a proper bit-mixing step so the four outputs look like independent draws while staying fully deterministic from the master.
How it works
The node walks a golden-ratio-derived increment (0x9E3779B97F4A7C15 - a constant straight out of hash-code folklore) across four offset streams, then pushes each value through the MurmurHash3 64-bit finalizer: three rounds of xor-shift and multiply. The whole thing is masked back to unsigned 64-bit after every step, so every output is a valid ComfyUI seed. Notably, it mixes offset streams rather than re-mixing the raw input, which avoids the classic seed = 0 fixed-point trap (where 0 mixes back to 0 forever). With count > 1 each output becomes a list of count deterministic seeds, de-interleaved so the first value of each list matches the old scalar behavior.
The inputs that matter
seed- your master seed.count- seeds per output (default1= the classic four-way fan-out; higher values give each output a list stream for batch work).
Outputs: seed_1 through seed_4, each an INT (or an INT list when count > 1).
Installing it
Part of Skoogeer-Noise. Manager → search "Skoogeer-Noise", or:
cd ComfyUI/custom_nodes
git clone https://github.com/ttulttul/Skoogeer-Noise
Restart ComfyUI. Deps are torch, numpy>=1.26, einops, pyyaml>=6.0.3 - nothing to download.
Common gotchas
Two things to keep straight. First, the outputs are intended for fan-out, not for cryptography - the derivation is deterministic and guessable, so don't treat it as a source of secrets (you're seeding image generation; fine). Second, changing count changes the entire stream, not just the length - count=2 doesn't give you "the old stream plus one extra." It's a different de-interleaving of the same underlying values, designed so each output's first seed is stable. If you only ever use the four-way scalar fan-out, leave count at 1 and it just works.
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| seed | INT | 00–18446744073709550000 | Base 64-bit seed. The node treats it as an unsigned 64-bit value and derives four deterministic child seed streams for downstream nodes. |
| count | INT | 11–4096 | How many seeds to emit per output. A count of 1 preserves the original four-way seed fan-out; higher counts extend each output's deterministic seed stream. |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| seed_1 | INT | — |
| seed_2 | INT | — |
| seed_3 | INT | — |
| seed_4 | INT | — |