Visit ComfyUI Online for ready-to-use ComfyUI environment
Generate latent tensors with specific aspect ratios for AI art and image generation tasks, streamlining creation process.
The Empty Latent Ratio Select SDXL node is designed to generate latent tensors with specific aspect ratios, which are essential for various AI art and image generation tasks. This node allows you to select from predefined aspect ratios, ensuring that the generated latent tensors match the desired dimensions for your project. By providing a batch size, you can generate multiple latent tensors simultaneously, making it a versatile tool for batch processing and experimentation. The primary goal of this node is to streamline the process of creating latent tensors with specific dimensions, saving you time and effort in your creative workflow.
This parameter allows you to choose from a list of predefined aspect ratios. The available options are determined by the read_ratios
function, which reads and provides the possible aspect ratios. Selecting the appropriate ratio ensures that the generated latent tensor matches the desired dimensions for your project.
This parameter specifies the number of latent tensors to generate in a single batch. It accepts integer values with a default of 1, a minimum of 1, and a maximum of 64. Adjusting the batch size allows you to generate multiple latent tensors simultaneously, which is useful for batch processing and experimentation.
The output of this node is a dictionary containing a key "samples"
that maps to the generated latent tensor. The latent tensor is a multi-dimensional array filled with zeros, with dimensions determined by the selected aspect ratio and batch size. This output is crucial for downstream tasks in AI art and image generation, serving as the foundational data for further processing and manipulation.
ratio_selected
parameter is set to a valid option from the list provided by the read_ratios
function.batch_size
parameter is set to a value outside the allowed range (1 to 64).batch_size
parameter is set to an integer value between 1 and 64.batch_size
or use a system with more GPU memory to accommodate the required computations.© Copyright 2024 RunComfy. All Rights Reserved.