Nodes/comfy-ovum/String Batch Editor Ovum
ComfyUI Node

String Batch Editor Ovum

Type a batch, one string per line

By sfinktah·Created about a year ago·Updated 10 months ago· 7
String Batch Editor Ovum
    • *
    items_text

    String Batch Editor is the "type a list here" node: a multiline text box where each line becomes one item, and out comes a graph-level batch of strings. It's the maintained batch variant of the pack's string-list family - the older StringListEditor in the ovum/lists/any category is deprecated, so this is the one to reach for when you want ComfyUI to see a proper batch on the wire.

    When you'd reach for it

    You need a batch of strings and you'd rather type them than build them node-by-node. Prompts for a batch loop, a list of model names, a set of output labels - one per line, done. Because the output is declared OUTPUT_IS_LIST, list-aware downstream nodes can fan out over each item, which is the standard pattern for iterating a fixed set of values in ComfyUI.

    How it works

    The backend is about as simple as a node can get: split the multiline string on newlines, strip whitespace per line, drop empty lines, return the rest as a list. The ovum/lists/comfy category means the engine treats the result as a batch - each element available to consumers that iterate list inputs - rather than a single opaque Python list object.

    Inputs and outputs

    • items_text (required, STRING, multiline) - one item per line. Blank lines are ignored, whitespace is trimmed.
    • * (output, declared list) - the batch of trimmed, non-empty strings.

    Installing it

    Part of the comfy-ovum pack:

    cd ComfyUI/custom_nodes
    git clone https://github.com/sfinktah/comfy-ovum
    

    Restart ComfyUI, or use ComfyUI Manager → search "comfy-ovum" → Install. Light dependencies, no models.

    Common gotchas

    • Batch dialect, not Python-list dialect. If the consumer expects a single list object (the pack's Python-list utilities, for instance), use StringListEditorOvum instead. This output is for nodes that consume graph batches.
    • Whitespace and blank lines get cleaned. Leading/trailing spaces are trimmed and empty lines vanish. If your strings need to keep their whitespace, this isn't the node for them.
    • Newlines only. There's no comma or delimiter splitting here; each physical line is exactly one item.
    Categoryovum/lists/comfy

    Inputs (1)

    NameTypeDefaultDescription
    items_textSTRING

    Outputs (1)

    NameTypeDescription
    **