easy stringToIntList
Turn '1, 2, 3' into an actual list of numbers
- INT
You type 1, 2, 3 in a text box and you want ComfyUI to treat that as three separate numbers it processes one after another. easy stringToIntList does that conversion - text in, an integer list out. It's a small bridge node, but it's the kind of thing that makes batch and loop workflows actually pleasant to set up, because you get to specify your values as plain text instead of wiring up a pile of int nodes.
The typical use: seeds, frame indices, or step counts you want to sweep through. Write them once as a comma-separated string, convert, and feed the list into something that iterates per item.
How it works
It parses the input string - splitting on commas (and it accepts multiple lines, since the field is multiline) - and produces a ComfyUI list of integers. Because the output is a list, downstream nodes re-run once per number, which is exactly what you want for sweeping a value across a run.
The inputs and outputs that matter
string(multiline, default1, 2, 3) - your numbers as text. Comma-separated, and you can spread them across lines.INT(output, a list) - the parsed integers, ready to feed into anything that consumes an int list or iterates over one.
That's the entire node. One field, one output.
How to install it
ComfyUI Manager: search ComfyUI-Easy-Use, install, restart. Manually:
cd ComfyUI/custom_nodes
git clone https://github.com/yolain/ComfyUI-Easy-Use
then install.bat / pip install -r requirements.txt, restart. No models.
Common issues & troubleshooting
Non-numbers in the string. This parses integers. Stray letters, decimals, or trailing junk in the field will either be dropped or error depending on how it hits the parser. Keep it to whole numbers and commas.
"It's a list, so everything ran N times." That's the design - a list makes downstream nodes iterate. If you only wanted a single number, you don't want this node; grab a plain INT input instead. If you wanted the numbers batched together rather than iterated, you'll need a different conversion.
Order is preserved. The list comes out in the order you typed it, which matters when you're mapping numbers to a sequence (frame 0, frame 1, …). Type them in the order you want them consumed.
Pairs nicely with loops and seed nodes. This is the natural feeder for easy seedList-style sweeps or an index-driven loop - write the indices as a string here, convert, iterate. It saves you from building the same list out of individual number nodes by hand.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| string | STRING | 1, 2, 3 | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| INT | INT | — |