Visit ComfyUI Online for ready-to-use ComfyUI environment
Facilitates loading image sequences with directory path, indexing options, and fallback for smooth workflows.
The Image Sequence Loader [Dream] node is designed to facilitate the loading of image sequences from a specified directory, making it an essential tool for AI artists working with animations or frame-by-frame image processing. This node allows you to specify a directory path and a pattern to match the filenames of the images you want to load. It can handle different indexing methods, such as numeric or alphabetic order, to ensure the correct sequence of images is loaded. Additionally, it provides a fallback option to use a default image if the specified frame is not found, ensuring smooth and uninterrupted workflows. This node is particularly useful for creating animations, processing image sequences, or any task that requires sequential image loading.
The frame_counter
parameter is a required input that keeps track of the current frame to be loaded. It ensures that the correct image in the sequence is selected based on the current frame number.
The directory_path
parameter specifies the path to the directory containing the image sequence. This is a required input and should be a string. The default value is an empty string (''
). This parameter is crucial as it tells the node where to look for the images.
The pattern
parameter defines the filename pattern to match the images in the directory. This is a required input and should be a string. The default value is '*'
, which matches all files. This parameter helps in filtering the images that need to be loaded based on their filenames.
The indexing
parameter determines the method used to index the images in the sequence. It can be either numeric
or alphabetic order
. This is a required input and helps in organizing the images in the correct sequence.
The default_image
parameter is an optional input that specifies a fallback image to be used if the specified frame is not found in the directory. This parameter ensures that the workflow is not interrupted due to missing frames.
The image
output parameter provides the loaded image for the current frame. If the specified frame is not found, it returns the default image if provided. This output is essential for further processing or animation tasks.
The frame_name
output parameter returns the name of the loaded frame. This can be useful for logging, debugging, or any task that requires knowledge of the specific frame being processed.
directory_path
is correctly specified and accessible to avoid issues with loading images.pattern
parameter.indexing
method based on how your images are named to ensure they are loaded in the correct sequence.default_image
to handle cases where some frames might be missing, ensuring a smooth workflow.directory_path
is correct and that the directory is accessible.pattern
parameter to ensure it correctly matches the filenames of the images you want to load.frame_counter
is within the range of available frames and that the files are correctly indexed.default_image
to handle missing frames and ensure continuous processing.© Copyright 2024 RunComfy. All Rights Reserved.