🎈List-Image-Repeater
Stretch a short image batch into a long one, frame by frame
- images
- images
Need each of your images more than once in a sequence? ImageListRepeater takes an IMAGE batch or list and a repeat count, and returns every frame repeated N times, in order. [A, B] with a repeat of 3 becomes [A, A, A, B, B, B]. That's the entire feature set, and it's exactly what you want when you're building frame sequences - holding a keyframe for a few frames in an animation, padding a batch to match a different pipeline's length, or duplicating a conditioning image across a loop.
It's one of the utility nodes in Comfyui-LG_GroupExecutor, LAOGOU-666's small pack. It's genuinely simple, no dependencies, no models - don't expect anything clever, and you won't be disappointed.
How it works
The node is INPUT_IS_LIST-aware and tolerant of both shapes: a single batched tensor [B, H, W, C] or an actual list of images. It iterates the input, appends each image repeat_times times (capped at 100), and returns the flattened result as an IMAGE list. The log prints input and output counts, which is the easiest way to sanity-check that you got the multiplication you expected.
Inputs & outputs
- images (IMAGE) - batch or list in.
- repeat_times (INT, 1–100) - how many copies of each image. Default 1, which is a no-op.
Output: images (IMAGE list), length = input length × repeat_times.
Install
cd ComfyUI/custom_nodes
git clone https://github.com/LAOGOU-666/Comfyui-LG_GroupExecutor
or ComfyUI Manager → "Comfyui-LG_GroupExecutor", then restart.
Small print
- Order matters and is preserved - it's per-item repetition, not a blanket copy of the batch.
- Empty input returns an empty list, so wire your images in first.
- If you want repetition interleaved or in a different order, this isn't the node - pair it with a splitter or reorder upstream.
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| images | IMAGE | — | |
| repeat_times | INT | 11–100 | 每张图片重复的次数 |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| images | IMAGE | — |