Nodes/comfy-ovum/Repeat Item Batch Ovum
ComfyUI Node

Repeat Item Batch Ovum

Stamp out a fan-out batch from a single value

By sfinktah·Created about a year ago·Updated 10 months ago· 7
Repeat Item Batch Ovum
  • item
  • *
count1

RepeatItem Batch Ovum builds a batch from one value: give it a seed, a model name, a prompt, whatever, and it hands back a list of that value repeated count times - flagged so ComfyUI treats it as a proper graph-level batch that list-aware nodes can fan out over.

This is the current batch variant of the pack's repeat-item family. The older RepeatItem in the ovum/lists/any category is marked deprecated in the source; this one, in ovum/lists/comfy, is what you should be using.

When you'd reach for it

Think "apply the same thing across a batch." You have a fixed seed or a fixed setting and you want every element of a batch iteration to receive it. Or you're building a ComfyUI batch pipeline - images, latents, conditionings - and need a parallel list of constants that matches the batch size. The ovum/lists/comfy category is the pack's answer to "lists that speak ComfyUI's batch dialect," as opposed to the ovum/lists/python category for raw Python list objects.

How it works

The mechanism is straightforward: [item] * count, with negatives clamped to 0 and a cap at 1024 for the count widget. The output is declared with OUTPUT_IS_LIST, which is the key difference from the Python-list variant - the graph engine knows this output is a batch and can fan it out to nodes that iterate over list inputs, rather than treating it as one opaque list object.

Like most of the pack's utility nodes, it inherits NewPointer, so IS_CHANGED returns NaN and the node is never cached away. In a batch workflow that's usually what you want - it guarantees the list is rebuilt fresh each run.

Inputs and outputs

  • item (required, *) - the value to repeat. Any type works.
  • count (required, INT, default 1, min 0, max 1024) - how many copies to make. Zero or negative gives an empty list.
  • * (output, declared list) - the repeated batch.

Installing it

Part of the comfy-ovum pack:

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

Restart ComfyUI, or install via ComfyUI Manager → search "comfy-ovum". The pack's requirements are lightweight (pillow, numpy, requests, aiohttp and friends); no model downloads.

Common gotchas

  • Batch list ≠ Python list. If the thing you're feeding expects a single list object (the pack's Python-list utilities, for instance), grab RepeatItemOvum instead. This node's output is meant for nodes that consume graph-level batches.
  • The count widget is the only control. If you need a dynamic count that changes mid-run, feed count from an upstream node - it's a proper input socket, not a locked widget.
  • Same caveat as the rest of the family: it repeats one value; it doesn't interleave or generate. If you need variation, build the varied list elsewhere and repeat only the constants.
Categoryovum/lists/comfy

Inputs (2)

NameTypeDefaultDescription
item*
countINT10–1024

Outputs (1)

NameTypeDescription
**