Extensions/comfyui-image-cycler
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.

By SteveCastle·Created 6 months ago·Updated 6 months ago· 1
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

  1. Add the Image Cycler node to your workflow
  2. Connect images to the input slots (image_1 is required, image_2image_10 are optional)
  3. Each time you queue a generation, the node outputs the next image in the list
  4. 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 |