Visit ComfyUI Online for ready-to-use ComfyUI environment
Generate empty latent images for AI artists' iterative tasks in image processing pipelines.
The EmptyLatentImageLoop
node is designed to generate a batch of empty latent images, which can be used as a starting point for various image processing tasks within a looped pipeline. This node is particularly useful for AI artists who need to create multiple iterations of latent images for further processing or experimentation. By providing a consistent and controlled way to generate these latent images, the EmptyLatentImageLoop
node helps streamline workflows and ensures that the generated images meet specific size and batch requirements. The node leverages PyTorch to create tensors filled with zeros, representing the empty latent images, and can be configured to run multiple loops, making it a versatile tool for iterative image generation tasks.
The width
parameter specifies the width of the latent images in pixels. It determines the horizontal dimension of the generated latent images. The width can be set between 64 and 8192 pixels, with a default value of 512 pixels. Adjusting the width impacts the resolution and aspect ratio of the latent images.
The height
parameter defines the height of the latent images in pixels. It sets the vertical dimension of the generated latent images. The height can range from 64 to 8192 pixels, with a default value of 512 pixels. Modifying the height affects the resolution and aspect ratio of the latent images.
The batch_size
parameter indicates the number of latent images to generate in a single batch. This parameter allows you to create multiple latent images simultaneously. The batch size can be set between 1 and 64, with a default value of 1. Increasing the batch size can be useful for generating a series of images for batch processing.
The num_loop
parameter specifies the number of loops to execute. This parameter controls how many times the latent image generation process should be repeated. The value can be set to any non-negative integer, with a default value of 1. Setting this parameter to a higher value allows for iterative processing within a looped pipeline.
The loop_idx
parameter represents the current loop index. It is used to track the iteration number within the looped pipeline. The value can be set to any non-negative integer, with a default value of 0. This parameter is useful for managing and referencing specific iterations during the looped execution.
The opt_pipeline
parameter is an optional input that allows you to specify a loopchain pipeline. This parameter can be used to integrate the EmptyLatentImageLoop
node into a larger, more complex processing pipeline. The value should be of type LOOPCHAIN_PIPELINE
.
The LATENT
output parameter provides the generated batch of empty latent images. These images are represented as PyTorch tensors filled with zeros. The latent images can be used as input for further processing steps, such as denoising, upscaling, or other image manipulation tasks.
The INT
output parameter returns the current loop index (loop_idx
). This value helps track the iteration number within the looped pipeline and can be used for managing and referencing specific iterations during the execution.
width
and height
parameters to higher values, keeping in mind the maximum resolution limit of 8192 pixels.batch_size
parameter to create multiple latent images in a single batch, which can be useful for batch processing or experimentation with different image variations.num_loop
parameter to execute multiple iterations of latent image generation, allowing for iterative processing and refinement within a looped pipeline.EmptyLatentImageLoop
node into a larger processing pipeline by specifying the opt_pipeline
parameter, enabling more complex and automated workflows.{key}
doesn't exist.width
, height
, or batch_size
values to decrease the memory usage, or consider running the node on a CPU if GPU memory is insufficient.© Copyright 2024 RunComfy. All Rights Reserved.