Visit ComfyUI Online for ready-to-use ComfyUI environment
Generate adjustable aspect ratio latent images for AI art creation, offering customization for various generative tasks.
The EmptyLatentImageAR
node is designed to generate latent images with adjustable aspect ratios, providing a flexible tool for AI artists to create and manipulate latent space representations. This node is particularly useful for generating base latent images that can be further processed or used as inputs for other nodes in your AI art pipeline. By allowing you to specify the resolution, aspect ratio, step size, and batch size, this node offers a high degree of customization, enabling you to tailor the latent images to your specific needs. The primary function of this node is to create empty latent tensors filled with zeros, which can serve as a starting point for various generative tasks.
The resolution
parameter defines the target resolution for the latent image. It determines the overall size of the generated latent tensor. The minimum value is 16, the maximum value is defined by MAX_RESOLUTION
, and the default value is 512. Adjusting this parameter will impact the dimensions of the latent image, with higher resolutions providing more detail but requiring more computational resources.
The ratio
parameter specifies the aspect ratio of the latent image. It is a floating-point value that determines the width-to-height ratio. The minimum value is defined by MIN_RATIO
, the maximum value by MAX_RATIO
, and the default value is 1.0. This parameter allows you to create latent images with non-standard aspect ratios, which can be useful for specific artistic effects or compositions.
The step
parameter controls the granularity of the resolution adjustments. It is an integer value with a minimum of 8, a maximum of 128, and a default of 64. This parameter affects how the resolution is divided, influencing the final dimensions of the latent image. Smaller step values result in finer adjustments, while larger values provide coarser control.
The batch_size
parameter determines the number of latent images to generate in a single batch. It is an integer value with a minimum of 1, a maximum of 4096, and a default of 1. This parameter is useful for generating multiple latent images simultaneously, which can be beneficial for batch processing or creating variations of a latent image.
The latent
output is a dictionary containing the generated latent tensor. This tensor is filled with zeros and has dimensions based on the specified resolution, ratio, and step parameters. It serves as the primary output of the node and can be used as input for further processing or manipulation in your AI art pipeline.
resolution
parameter while keeping the ratio
and step
parameters balanced to maintain the desired aspect ratio and granularity.batch_size
parameter to generate multiple latent images at once, which can save time and computational resources when working on batch processing tasks.resolution
parameter is set to a value outside the allowed range.resolution
value is between 16 and MAX_RESOLUTION
.ratio
parameter is set to a value outside the allowed range.ratio
value is between MIN_RATIO
and MAX_RATIO
.step
parameter is set to a value outside the allowed range.step
value is between 8 and 128.batch_size
parameter is set to a value outside the allowed range.batch_size
value is between 1 and 4096.© Copyright 2024 RunComfy. All Rights Reserved.