Repeat Item Ovum
N copies of one value, the list-utility way
- item
- *
RepeatItem Ovum is the Python-list flavor of the pack's repeat utility. Feed it an item and a count, and it returns a real Python list object - ["42", "42", "42"] - that flows through the graph as a single value. Same idea as its batch sibling, different dialect, and the difference matters more than the name suggests.
Python list vs. graph batch
This is the core distinction in the comfy-ovum list family, and it's worth getting straight because it decides which variant you grab:
ovum/lists/comfy(the "Batch" nodes) declareOUTPUT_IS_LIST. The graph engine treats the output as a batch and fans it out to list-aware consumers.ovum/lists/python(the "Ovum" nodes, like this one) return a Python list as a single opaque value. They speak to other list-manipulation utilities - the pack's pystructure data nodes, list editors, splices, and similar - that expect a list object on the wire.
So: reaching for RepeatItem Ovum means you're building a Python list to hand to list-shaped utilities, not stamping out a batch for ComfyUI's native batch processing.
When you'd reach for it
You need the same constant (a seed, a file path, a label) repeated N times as data you'll slice, join, index, or iterate with list tools. The node's close cousin in the pack's pystructure section is even documented with that exact use: "useful for building lists of constants, seeds, file paths, or objects for batch operations."
How it works
Mechanically identical to the batch variant: [item] * count, with count clamped so negatives become 0. The difference is purely in the type declaration - no OUTPUT_IS_LIST flag here, so the list stays a single value. It also inherits the pack's NewPointer base, meaning IS_CHANGED returns NaN and the node never gets cached.
Inputs and outputs
- item (required,
*) - the value to repeat. - count (required, INT, default 1, min 0, max 1024) - number of copies.
- * (output) - the Python list, as a single value.
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
- Downstream must speak Python-list. If your target expects a graph batch and iterates over inputs individually, this single-list value will confuse it. That's what the Batch variant is for.
- Negatives give you an empty list, not an error. Feed
count = -3and you get[]out. Harmless, but easy to mistake for a broken node. - Don't mix and match blindly. The
ovum/lists/anyfamily (RepeatItem,ReverseList,StringListEditor) is deprecated in favor of these - pick thecomfyorpythonvariant and ignore the old ones.
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| item | * | — | |
| count | INT | 10–1024 | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| * | * | — |