ComfyUI Extension
comfyui-image-cycler
A custom node for ComfyUI that cycles through a list of up to 10 image inputs in sequence on each generation, with automatic wrap-around and a reset toggle.
SteveCastle/comfyui-image-cycler
Nodes1
On cloudLocal install
Categoryimage
Stars1
Updated6 months ago
Readme
ComfyUI Image Cycler
A custom node for ComfyUI that cycles through a list of image inputs on each generation.
Features
- Connect up to 10 images and the node will output the next one in sequence each time the workflow is queued
- Automatically wraps around to the first image after reaching the end
- Outputs the current index so you can track which image is selected
- Reset toggle to restart from the first image
Installation
Clone this repository into your ComfyUI custom_nodes directory:
cd ComfyUI/custom_nodes
git clone https://github.com/SteveCastle/comfyui-image-cycler.git
Restart ComfyUI. The node will appear as Image Cycler under the image category.
Usage
- Add the Image Cycler node to your workflow
- Connect images to the input slots (
image_1is required,image_2–image_10are optional) - Each time you queue a generation, the node outputs the next image in the list
- Enable reset to restart the cycle from the first image
Outputs
| Output | Type | Description | |---|---|---| | image | IMAGE | The currently selected image | | current_index | INT | Zero-based index of the selected image |