Sequence Generator
A tiny numpy in your graph — arange, linspace, and literal lists from one text box
- INT
- FLOAT
Sometimes you don't want one value, you want a sweep of them - a denoise strength that climbs 0.2 → 0.5 in steps, a batch of CFG values to grid-test, a scale factor ladder for an upscale. Sequence Generator is the node that produces those sweeps from a single text box, and it's small enough that you'll memorize the syntax in one sitting.
The gen input takes comma-separated expressions with three flavors, and they cover every common case:
x...y+z- sequence fromxtoy, stepping byz.0...1+0.1(the default) gives0, 0.1, 0.2 … 1.x...y#z-zevenly spaced numbers betweenxandy.0...1#5gives0, 0.25, 0.5, 0.75, 1.x,y,z- a literal list.4,7,11gives exactly those three.
Comma-separate as many expressions as you like and they all concatenate into one output list. Under the hood it parses each expression, handles descending sequences automatically (write 1...0-0.1 and it steps downward), and rounds to two decimals - so a float list and an integer list never disagree.
Inputs and outputs
gen- the single text input described above. Default0...1+0.1.INT- the sequence as integers (a list).FLOAT- the same sequence as floats (a list).
Wire whichever type your target node wants. Most sweep targets - sampler CFG, denoise strength, steps, LoRA weights - take either, and having both outputs means you don't have to convert.
Where it fits
This is a "drives the loop" node. In a batch or iteration workflow, feed the FLOAT output into the parameter you're sweeping and each step pulls the next value; the INT output can tag the run with the step number or drive a second axis. It plays especially well with the rest of this pack's suite, where a per-tile or per-pass denoise ladder is a real workflow, but honestly it earns its place in any graph where you've ever found yourself manually typing 0.3, 0.35, 0.4, 0.45 into four copies of a node. It's a lifted-and-polished take on the Cubiq essentials sequence generator, so if you already have that pack, this is a sibling rather than a revelation - but it's here if you want it.
Install
Part of the ComfyUI Steudio pack, Utils category:
cd ComfyUI/custom_nodes
git clone https://github.com/Steudio/ComfyUI_Steudio
Restart ComfyUI, or install via ComfyUI Manager by searching ComfyUI Steudio. No dependencies. One gotcha to file away: the # operator needs the count after the # - 0...1#5 is five values, not a step of five. Swap that mentally once and the syntax becomes frictionless.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| gen | STRING | 0...1+0.1 | — |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| INT | INT | — |
| FLOAT | FLOAT | — |