๐บ User Input (Seed)
A labeled seed input with a randomize button that just works
- seed
- _controller_hook
Every seedable node in ComfyUI ships its own little seed widget, and once your graph has ten of them they're all just anonymous SEED fields you can't tell apart. ๐บ User Input (Seed) is the fix this pack's author reached for: a seed input that carries a name and a randomize-on-queue behavior, so you can label the seeds in your workflow and drive them from one place. It's part of the pack's "user input" family - the same idea as its Boolean, Float, and String siblings, just for seeds.
Honestly, on its own, it's a glorified passthrough: it outputs the value you set, as an INT. The interesting behavior is in the seed resolution. A value of -1 or 0 (the default is -1) means "give me a fresh random seed this run" - and unlike most nodes, it actually forces re-execution on each queue run while randomized, so the randomize semantics work the way you'd expect from ComfyUI's own seed widget. Set a concrete number and it's deterministic, full stop. So the practical split is: type -1 when you want variety, type a number when you want to pin a run.
The second output, _controller_hook, is a CONTROLLER_HOOK type that only matters if you're using the pack's controller system (the Nilor Preset / Group nodes, driven by the Brando UI). In the plain ComfyUI graph it comes out as None and you can ignore it entirely - it exists so the pack's fancier UI layer can bind this input into groups. For 99% of users, the seed output is the whole story.
Inputs and output
- input_name - the label, e.g.
my_seed_input. Cosmetic in vanilla ComfyUI, meaningful in the controller UI. - value - the seed.
-1(default) or0= randomize each run; any positive integer pins the run. - seed (INT output) - wire into any seed input in your graph.
- _controller_hook - ignore it unless you're building Brando-UI presets.
Installing it
Part of Nilor Nodes (nilor-corp/nilor-nodes):
cd ComfyUI/custom_nodes
git clone https://github.com/nilor-corp/nilor-nodes
or ComfyUI Manager โ search "Nilor Nodes" โ install โ restart. No model files. The README lists Kijai's comfyui-kjnodes as a prerequisite, and the pack's dependency stack (boto3, fastapi, huggingface_hub, openexr) is heavy for what this node does - but you get it all regardless of which nodes you use.
Troubleshooting
The main surprise is scope: this node's label doesn't magically tie into other seeds, and the _controller_hook output does nothing until you wire the pack's controller nodes in. Expect passthrough behavior and you won't be confused. Also note the randomization only kicks in when you queue while the value is still -1/0 - once you type a number, that's your seed until you clear it back. This pack has no community threads to consult, so the source is the reference if a seed ever behaves oddly. If you're not using the controller UI at all, there's a fair argument that this is more ceremony than function - but the named-label habit pays off in bigger workflows.
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| input_name | STRING | my_seed_input | โ |
| value | INT | -1-1โ1125899906842624 | โ |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| seed | INT | โ |
| _controller_hook | CONTROLLER_HOOK | โ |