Nodes/D2 Nodes ComfyUI/D2 Multi Output
ComfyUI Node

D2 Multi Output

Paste a column of numbers and get a list to sweep

By da2el-ai·Created 2 years ago·Updated about a month ago· 66
D2 Multi Output
  • create_seed
  • LIST
  • x / y_list
type
parameter

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: a create_seed button 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, or SEED.
  • parameter - the multiline text; one value per line.
  • create_seed - the random-seed generator button, visible when type is SEED.

Outputs

  • LIST - the parsed array, typed per your type selection.
  • 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.

CategoryD2/Text

Inputs (3)

NameTypeDefaultDescription
typeCOMBO4 options: FLOAT, INT, STRING, SEED
parameterSTRING
create_seedoptD2_BUTTON

Outputs (2)

NameTypeDescription
LISTLIST
x / y_listSTRING