Number to Seed
Hand a KSampler a seed by wire, not by widget
Here's a thing that trips people up the first time they try to automate seeds in ComfyUI: the vanilla KSampler's seed field is a widget, not an input socket. You can type a number into it or right-click "convert to input" in some setups, but the moment you want a seed that's computed - from a counter, from Random Number, from Image to Seed, from anywhere other than your own fingers - you need a node that outputs something the seed slot will actually accept. Number to Seed is that node: a small, deliberately unglamorous type-coercion step that turns a plain NUMBER into a proper seed value.
It exists because WAS's own number ecosystem (Number Operation, Random Number, Constant Number, Image to Seed, and the rest) all speak in a generic NUMBER type, while seed inputs want something more specific. Rather than making every one of those nodes seed-aware, WAS gives you one small converter and lets you wire it wherever a seed needs to come from somewhere other than a typed-in value. It pairs naturally with WAS's own KSampler (WAS) node, which the pack built specifically because it "accepts a seed as a node input" - i.e., exactly the gap this node exists to fill for people who don't want to hand-edit KSampler's built-in widget every run.
The shape of it is as simple as it sounds: a NUMBER input, a SEED output, and that's the whole job. Wire your computed value in on one side, get something KSampler-shaped out the other, and connect it to whichever sampler's seed input you're driving. If your source number is coming from something with a wide range - a hash, a large random draw, a running counter that's grown for a while - it's worth knowing that seed values do have practical bounds, so an extremely large or negative number can wrap or clamp rather than passing through untouched. Keep your source numbers in a sane, positive-integer range and you won't think about this again.
Installing it: through ComfyUI Manager, search "WAS Node Suite" and install - simplest option by far. By hand: cd ComfyUI/custom_nodes && git clone https://github.com/WASasquatch/was-node-suite-comfyui, then install requirements with pip install -r requirements.txt (portable: python_embeded\python.exe -s -m pip install -r requirements.txt; manual/venv: activate the venv first), then restart ComfyUI. There's no model and no extra dependency tied to this node - it's pure Python arithmetic, so if the suite imports at all, this node works.
Where it bites: almost nowhere on its own - this is about as low-risk as a node gets, no download, no external library, no GPU work. The thing to actually watch for is the suite around it: WAS Node Suite hasn't been actively maintained since late 2023 (the README says "Retired" outright), and the community's recurring pain point is the entire pack failing to import after a ComfyUI or dependency update rather than any single node breaking on its own. If Number to Seed disappears from your node search, look at your console for an import error on the whole suite before assuming something's wrong with this specific node - that's almost always what's actually happening.
Inputs (0)
No inputs
Outputs (0)
No outputs