Create List
Create List — up to 8 items in, one list out, empty slots ignored
- item_0
- item_1
- item_2
- item_3
- item_4
- item_5
- item_6
- item_7
- list
Some workflows need to bundle a bunch of values into a single wire - a set of seeds, a list of prompt variants, a collection of strengths - so a downstream node can iterate over them. That's what this node does: it takes up to eight items and packs them into one LIST output. From the Utilitools pack, it's dead simple, and it's the natural companion to the pack's List Index node, which pulls individual items back out.
The inputs are item_0 through item_7, all optional and all wildcard-typed (*), meaning each one accepts any type - an int, a float, a string, even a whole image or tensor. The single output, list, is a LIST containing whatever you connected.
The mechanism - and the quirk that makes it friendly
Here's the detail that makes this node nicer than it looks: it only appends items that are actually connected, and it skips anything that's None. So if you wire up item_0, item_2, and item_5 but leave the rest empty, you get a clean three-item list - not an eight-item list full of holes. No phantom empty slots, no off-by-one weirdness downstream. That's the behavior you want, and it's worth knowing because it means the output length tells you how many inputs you actually used, not how many slots exist.
The practical upshot: you can treat it as a "list of whatever I happen to provide" node and never worry about the empty slots. It won't pad, it won't error, it just builds the list in slot order.
How you'll use it
Pair it with List Index to pick a specific item - say, a batch of seed values you want to step through, or a set of CFG values you want to sample from for an experiment run. You can also use it to group a set of constants so a workflow can pass several parameters down one wire instead of five separate connections. Wildcard typing means the list can hold mixed types, though in practice you'll usually keep it to one type so downstream nodes don't choke.
Gotchas
The wildcard cuts both ways. Because inputs accept anything, ComfyUI can't validate what's in the list until a downstream node actually runs - a list of images fed somewhere expecting strings will fail at runtime, not at wiring time. And there's no way to nest or expand beyond 8 items; if you need more, chain two Create List nodes or look at a list-focused pack. It's also worth noting the * inputs mean the list's type is loose, so the node downstream effectively sees a generic list - which is exactly why List Index exists in the same pack.
Installing it
Standard Utilitools install:
cd ComfyUI/custom_nodes
git clone https://github.com/aesethtics/ComfyUI-Utilitools
or search "Utilitools" in ComfyUI Manager and restart ComfyUI. It's under Utilitools → Data. No dependencies, no downloads - the whole pack is stdlib Python with nothing extra to install. Small pack, no community buzz, but for "turn these eight things into one list," it's the whole job in one box.
Inputs (8)
| Name | Type | Default | Description |
|---|---|---|---|
| item_0opt | * | — | |
| item_1opt | * | — | |
| item_2opt | * | — | |
| item_3opt | * | — | |
| item_4opt | * | — | |
| item_5opt | * | — | |
| item_6opt | * | — | |
| item_7opt | * | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| list | LIST | — |