imagegenerated

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

directory
STRING
start_index
0
limit
-1
initial_value1
COMBO
initial_value2
COMBO
Easy Use

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 to 0, with a minimum of 0 and a step of 1.

  • limit (INT, optional):
    The maximum number of images to load. Defaults to -1, which means no limit. Valid range is -1 to 10000.

  • 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 directory to the folder containing your image sequence before running the loop.
  • Use start_index when you want to begin loading from a particular image in the sequence.
  • Use limit to restrict how many images are processed during the loop. Leave it at -1 for no limit.
  • The initial_value1 and initial_value2 dropdowns 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.

Loading comments…