Visit ComfyUI Online for ready-to-use ComfyUI environment
Automate image resolution selection for AI art projects with predefined options and orientation choices for consistency and optimization.
The SDXL Resolutions (WLSH) node is designed to help you easily select and manage image resolutions for your AI art projects. This node provides a set of predefined resolutions and allows you to choose between landscape and portrait orientations. By automating the resolution selection process, it ensures that your images are generated with the correct dimensions, saving you time and effort. The node is particularly useful for maintaining consistency across different artworks and optimizing the output for various display formats.
This parameter allows you to select from a list of predefined resolutions. Each resolution is presented in the format width x height | aspect ratio
. The available options are 1024x1024|1:1
, 1152x896|9:7
, 1216x832|19:13
, 1344x768|7:4
, and 1536x640|12:5
. Choosing the right resolution ensures that your image is generated with the desired dimensions and aspect ratio.
This parameter lets you specify the orientation of the image. You can choose between landscape
and portrait
. Selecting landscape
will keep the width and height as specified in the resolution, while choosing portrait
will swap the width and height values. This flexibility allows you to easily adapt your images to different display formats.
This output parameter represents the width of the generated image in pixels. The value is determined based on the selected resolution and direction. If the direction is set to portrait
, the width will be the height value from the selected resolution.
This output parameter represents the height of the generated image in pixels. The value is determined based on the selected resolution and direction. If the direction is set to portrait
, the height will be the width value from the selected resolution.
portrait
direction for images intended for vertical displays, such as mobile screens or posters, and the landscape
direction for horizontal displays, like computer monitors or landscape photographs.width x height | aspect ratio
format.landscape
or portrait
as the direction value.© Copyright 2024 RunComfy. All Rights Reserved.