D2 Multi Output
Paste a column of numbers and get a list to sweep
- create_seed
- LIST
- x / y_list
XY Plot workflows need lists - a column of seeds, a column of CFG values, a column of sampler names - and typing them into ComfyUI's awkward list widgets is misery. D2 Multi Output is the node that turns plain line-break-separated text into a proper LIST, which is exactly the shape the D2 XY Plot family wants. You paste numbers into a text box, pick a type, and out comes a list.
It's a converter with a dropdown, and that dropdown is the whole story:
FLOAT- for CFG values and the like.INT- for steps.STRING- for sampler or scheduler names.SEED- like INT, but with a bonus: acreate_seedbutton appears that fills the text field with random seeds, one per line. Great for seeding a batch of runs without thinking about it.
The inputs
type-FLOAT,INT,STRING, orSEED.parameter- the multiline text; one value per line.create_seed- the random-seed generator button, visible whentypeisSEED.
Outputs
LIST- the parsed array, typed per yourtypeselection.x / y_list- the plain line-break text passed through, which the XY Plot nodes consume as their x/y axis definition.
Installing it
It's in the D2 pack. ComfyUI Manager → search "D2-nodes-ComfyUI" → install, or:
cd ComfyUI/custom_nodes
git clone https://github.com/da2el-ai/D2-nodes-ComfyUI
Restart. No model downloads, deps are piexif and charset-normalizer. Since v32.0.0 the pack needs a recent ComfyUI (V3 schema); older builds should use a pre-32.0.0 version.
The gotcha
Type coercion is strict and silent-ish: if you set type to INT and one line isn't a valid integer, the whole node throws on execution. Keep the text clean - no blank lines, no stray spaces - and you're fine. It's a boring little node, but it's the paste-in door to the pack's XY Plot feature, and for that it's genuinely the right tool. If you're doing seed sweeps, the SEED type with its randomizer is the one you'll actually reach for.
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| type | COMBO | 4 options: FLOAT, INT, STRING, SEED | |
| parameter | STRING | — | |
| create_seedopt | D2_BUTTON | — |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| LIST | LIST | — |
| x / y_list | STRING | — |