Eden_Seed
One seed to rule them all β and a string version of it for free
- seed
- seed_string
Eden_Seed is one of those nodes that makes you say "that's it?" the first time you see it, and then it quietly becomes part of every workflow you build. It takes a single integer and passes it through twice: once as an INT, once as a STRING. That's the entire job. The utility comes from what that little pass-through buys you.
It's from eden_comfy_pipelines, Eden.art's 70+ node suite, and it lives under Eden π±/general.
Why a seed needs its own node
Here's the problem it solves. In ComfyUI, the seed usually lives as a widget on the KSampler - typed in, sometimes randomized by a "control after generate" flag. That works fine until you want the same seed to drive several things at once: the KSampler, a random file picker, a batch variation counter, a filename. Once the seed is buried in a widget, other nodes can't read it. Eden_Seed gives you a single place where the seed is a first-class wire - set it once, fan it out to every random thing in the graph, and everything stays in lockstep. Change one number, and the whole workflow re-rolls coherently.
It also pairs naturally with the pack's other seed-taking nodes - GetRandomFile, Get_Prefixed_Imgs, FolderScanner, Eden_randbool - which all accept a seed INT input. Wire your Eden_Seed output into those and the "randomness" becomes reproducible: run the graph twice with the same seed and you get the same picks.
The two outputs
- seed (INT) - the value, untouched. Feed it into KSampler seed widgets (via a convert or a direct wire where supported), random nodes, counters.
- seed_string (STRING) - the same number as text. This is the sneaky-useful one: it drops straight into a filename builder, a save node's name prefix, or a metadata string. "Render_<seed>.png" is a much better archive name than "Render_00001.png".
One input, seed, with the full 64-bit range (0 to 18.4 quintillion). A practical note: if you want random behavior, don't type a fixed number - leave it at a value and randomize upstream, or drive it from a random source node. This node is deliberately deterministic, which is the point.
The honest take
This is not a node you need to understand deeply, because there's nothing to understand. What matters is the pattern: make your seed a wire, not a widget. Once you're doing batch variation, seeded random selection, and reproducible archive names in the same graph, the single-source-of-truth seed is what keeps all of them from drifting apart. Every other node in this pack that accepts a seed was clearly designed expecting this one to feed it.
Installing it
Standard pack install - ComfyUI Manager (search "eden"), or:
cd ComfyUI/custom_nodes
git clone https://github.com/edenartlab/eden_comfy_pipelines.git
cd eden_comfy_pipelines
pip install -r requirements.txt
Restart ComfyUI. Zero dependencies beyond the pack itself - no models, no keys, no GPU.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| seed | INT | 00β18446744073709550000 | β |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| seed | INT | β |
| seed_string | STRING | β |