♻️ Seed
One seed, five samplers, zero guesswork about what the number means
- SEED
FiL Seed is the simplest node in the FiL_Design_ImageMind pack: one integer input, one SEED output, nothing else. Don't let the thinness fool you - this is the node that kills the most annoying failure mode in ComfyUI for people who build multi-sampler graphs.
The problem it solves is repetition. You have a seed that needs to feed a sampler, a hires pass, a seed-noise node, and a filename node. If you type the number into each widget separately, changing it means editing four places - and the first time you forget one, you get a silent mismatch where half your graph used one seed and half used another. A value node breaks the seed out of the widgets and turns it into something the graph can fan out from a single socket. Wire this node's SEED output into every sampler in the graph and there is exactly one source of truth.
How it works
The seed widget is managed by the node's own UI rather than being a plain number box. The README describes the panel as one row: the value plus a randomize button, a "reuse last" button, and a "new fixed random" button. Typing digits switches it into fixed mode and applies the value. So you get the three behaviors people actually want - roll a random one, keep the one that just worked, or set a specific number - without hunting through control_after_generate menus.
Under the hood it's honest about caching: fingerprint_inputs returns the seed, which is how ComfyUI decides whether to re-run downstream nodes. A node that changed its seed marks the graph dirty; a node that didn't lets the cache do its job. That's the difference between a seed node that "feels laggy" and one that doesn't - and this one got it right.
The trap this node exists to dodge
There's a classic ComfyUI injury this is the antidote to: you randomize a seed, get a great image, flip the control to fixed to keep it - and discover the good seed was already overwritten, because the randomize fired after the run that produced the image. The number in the box is the one that will be used next, not the one that made what you're looking at. A dedicated seed node with a "reuse last" button makes that sequence painless: the value that just ran is right there to grab. (The other fix is changing widget control mode to "before," which the community thread on this recommends as a one-time global setting - do both and you'll stop losing seeds entirely.)
Where it fits
This is a Values-category utility, so the honest use cases are: one seed driving several samplers (consistency), one seed driving a sampler and the seed-noise variation node (so your exploration stays anchored), or just a nicer seed UX than stock widgets. It's not the node you reach for on a single-sampler workflow where you never touch the seed - the stock widget is fine there. It earns its place the moment the same number has to live in more than one place.
Wire SEED (an INT) into any int seed socket - KSamplers, the pack's own FiLKSampler and Noise Control, whatever you have. Install is pack-standard: ComfyUI Manager search FiL_Design_ImageMind, or clone + pip install -r requirements.txt + restart. Needs ComfyUI 0.3.60+ for the V3 node API this pack is written against.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| seed | INT | 00–18446744073709550000 | Resolved seed value (managed by the UI). |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| SEED | INT | Deterministic or random integer seed. |