Visit ComfyUI Online for ready-to-use ComfyUI environment
Simplify resolution selection for PixArt models with predefined ratios, streamlining image optimization and eliminating manual calculations.
The PixArtResolutionSelect
node is designed to help you easily select the appropriate resolution for your PixArt models based on predefined ratios. This node simplifies the process of choosing the correct width and height for your images, ensuring that they are optimized for the specific PixArt model you are using. By providing a straightforward interface to select the model and ratio, it eliminates the guesswork and manual calculations, allowing you to focus more on your creative process. This node is particularly useful for AI artists who need to generate images with precise dimensions that match the requirements of different PixArt models.
The model
parameter allows you to select the specific PixArt model you are working with. This parameter is crucial as different models have different resolution requirements. The available options are derived from the keys of the pixart_res
dictionary, ensuring that you can only select from valid models. Choosing the correct model ensures that the node can accurately determine the appropriate resolution for your images.
The ratio
parameter lets you select the aspect ratio for the resolution. This parameter is essential for determining the width and height of the output image. The available options are derived from the keys of the selected model's resolution dictionary, with a default value of "1.00". Selecting the correct ratio ensures that your images are generated with the desired aspect ratio, which is important for maintaining the visual integrity of your artwork.
The width
parameter represents the width of the output image in pixels. This value is determined based on the selected model and ratio, ensuring that the width is optimized for the specific PixArt model you are using. The width is an integer value that directly impacts the resolution and quality of your generated images.
The height
parameter represents the height of the output image in pixels. Similar to the width, this value is determined based on the selected model and ratio, ensuring that the height is optimized for the specific PixArt model you are using. The height is an integer value that directly impacts the resolution and quality of your generated images.
model
parameter to get accurate resolution values.ratio
parameter to fine-tune the aspect ratio of your images, especially if you have specific requirements for the width and height.width
and height
values to ensure they meet your project's resolution requirements before proceeding with image generation.pixart_res
dictionary.model
parameter.ratio
parameter.width
and height
values do not match your expectations.pixart_res
dictionary to understand the available resolutions for the selected model and ratio.© Copyright 2024 RunComfy. All Rights Reserved.