Nodes/comfy-ovum/Repeat Item
ComfyUI Node

Repeat Item

Stamp out N copies of one value

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

RepeatItem does exactly one thing: take any value and produce a list containing that value repeated count times. ["seed_42"] becomes ["seed_42", "seed_42", "seed_42"]. That's the whole node, and for batch workflows it's one of those small pieces you suddenly can't live without.

When you'd reach for it

Any time you need the same value at multiple positions in a list - a constant seed applied across a batch, the same model name threaded through several entries, one file path duplicated for a multi-step process. The node's own description calls it out: "useful for building lists of constants, seeds, file paths, or objects for batch operations." It belongs to the pack's list-family of utilities that complement the LogicUtils ecosystem.

How it works

Mechanically it's [item] * count with guard rails. The count input is clamped so negatives become 0 (you get an empty list instead of weird Python repeat behavior), and the result is returned with OUTPUT_IS_LIST set - the engine treats the output as a batch. The item itself is a wildcard *, so it can be a string, an int, a file path, even a small object.

Inputs and outputs

  • item (required, *) - the value to repeat.
  • count (required, INT, default 1, min 0, max 1024) - how many copies. Clamped at 0 on the low end.
  • * (output, declared list) - the repeated list.

Installing it

This node is 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. No models, no GPU footprint - pure Python list building.

The one thing you need to know: it's deprecated

Here's the trap. In the pack's source, RepeatItem is flagged DEPRECATED = True and registered under the name "RepeatItemDEPRECATED(batch)". It's the old member of a three-way family, and the author moved on:

  • RepeatItemBatchOvum (category ovum/lists/comfy) - the current batch variant, same [item] * count behavior, output declared as a graph list.
  • RepeatItemOvum (category ovum/lists/python) - produces a real Python list object as a single value.

If you're starting fresh, pick one of those two - RepeatItemBatchOvum if you want the graph to fan the batch out to list-aware nodes, RepeatItemOvum if you're feeding Python-list utilities. This one still works, but it's the deprecated stepping stone, and there's no reason to build new workflows on it.

Categoryovum/lists/any

Inputs (2)

NameTypeDefaultDescription
item*
countINT10–1024

Outputs (1)

NameTypeDescription
**