Load Images For Loop(loadImagesForLoop)
The Load Images For Loop node (loadImagesForLoop) belongs to the image category in ComfyUI-Easy-Use.
load Images For Loop
Description
The Load Images For Loop node (loadImagesForLoop) belongs to the image category in ComfyUI-Easy-Use. It provides configuration for loading images inside a loop workflow: you specify a directory, an optional starting index, an optional limit, and up to two initial values that the loop can use.
Inputs
-
directory (
STRING, required):
The path to the folder containing the images to be loaded. Defaults to an empty string. -
start_index (
INT, optional):
The index of the first image to use. Defaults to0, with a minimum of0and a step of1. -
limit (
INT, optional):
The maximum number of images to load. Defaults to-1, which means no limit. Valid range is-1to10000. -
initial_value1 (
COMBO, optional):
A dropdown for setting the first initial value used by the loop. The available choices are defined by the workflow or widget configuration. -
initial_value2 (
COMBO, optional):
A dropdown for setting the second initial value used by the loop. The available choices are defined by the workflow or widget configuration.
Outputs
This node currently has no output sockets. It is intended to configure loop parameters rather than pass image data directly to other nodes.
Usage Notes
- Set
directoryto the folder containing your image sequence before running the loop. - Use
start_indexwhen you want to begin loading from a particular image in the sequence. - Use
limitto restrict how many images are processed during the loop. Leave it at-1for no limit. - The
initial_value1andinitial_value2dropdowns are optional and can be left at their defaults if the loop does not require them.
Comments
Sign in with GitHub to join the discussion.