Visit ComfyUI Online for ready-to-use ComfyUI environment
Aspect ratio management node for images, customizable SDXL resolutions, swap width and height, AI artist tool.
The CR SDXL Aspect Ratio JK node is designed to help you manage and adjust the aspect ratio of your images, particularly for the SDXL series of resolutions. This node allows you to select from a variety of predefined SDXL resolutions or specify custom dimensions, making it versatile for different artistic needs. Additionally, it offers the option to swap the width and height dimensions, providing further flexibility in how you configure your image outputs. This node is particularly useful for AI artists who need to ensure their images meet specific resolution requirements or who want to experiment with different aspect ratios to achieve the desired visual effect.
This parameter allows you to choose from a list of predefined SDXL resolutions or select "Custom" to specify your own dimensions. The available options include various standard resolutions like "SDXL 1024x1024", "SDXL 1280x768", and many others. Selecting a predefined resolution ensures that your image conforms to standard sizes, which can be beneficial for consistency and compatibility. If "Custom" is selected, you can define your own width and height using the custom_width
and custom_height
parameters.
This parameter is used to specify the custom width of the image when the "Custom" resolution option is selected. It accepts integer values with a default of 1024, a minimum of 64, and a maximum of 2048, with increments of 8. This allows you to precisely control the width of your image, ensuring it meets your specific requirements.
This parameter is used to specify the custom height of the image when the "Custom" resolution option is selected. It accepts integer values with a default of 1024, a minimum of 64, and a maximum of 2048, with increments of 8. This allows you to precisely control the height of your image, ensuring it meets your specific requirements.
This boolean parameter allows you to swap the width and height dimensions of the selected resolution. The default value is False. When set to True, the width and height values are interchanged, providing an easy way to switch between landscape and portrait orientations without manually adjusting the dimensions.
This output parameter provides the width of the image based on the selected resolution or custom dimensions. It reflects the final width after any dimension swapping has been applied, ensuring you have the correct width for your image processing needs.
This output parameter provides the height of the image based on the selected resolution or custom dimensions. It reflects the final height after any dimension swapping has been applied, ensuring you have the correct height for your image processing needs.
swap_dimensions
parameter to quickly switch between landscape and portrait orientations without manually adjusting the width and height values.swap_dimensions
parameter is set to False, but the dimensions appear swapped.swap_dimensions
parameter and ensure it is set to True if you want to swap the width and height dimensions.RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Playground, enabling artists to harness the latest AI tools to create incredible art.