Visit ComfyUI Online for ready-to-use ComfyUI environment
Aspect ratio management node for images, offering resolution options, custom dimensions, and dimension swapping for AI art.
The CR SD1.5 Aspect Ratio JK node is designed to help you manage and adjust the aspect ratio of your images, specifically tailored for the SD1.5 model. This node allows you to select from a variety of predefined resolutions or specify custom dimensions, making it versatile for different artistic needs. Additionally, it offers the flexibility to swap the width and height dimensions, providing more control over the final output. This node is particularly useful for ensuring that your images maintain the desired aspect ratio, which is crucial for achieving the best visual results in your AI-generated art.
This parameter allows you to choose from a list of predefined resolutions or opt for a custom resolution. The available options include "Custom", "SD15 512x512", "SD15 680x512", "SD15 768x512", "SD15 912x512", "SD15 952x512", "SD15 1024x512", "SD15 1224x512", "SD15 768x432", "SD15 768x416", "SD15 768x384", and "SD15 768x320". Selecting "Custom" enables you to define your own width and height, while the other options provide standard resolutions optimized for the SD1.5 model.
This parameter allows you to specify a custom width for your image when the "Custom" resolution is selected. The width can range from a minimum of 64 to a maximum of 2048 pixels, with a default value of 512 pixels. The step size for adjustments is 8 pixels. This parameter is essential for defining the exact width of your custom resolution.
This parameter allows you to specify a custom height for your image when the "Custom" resolution is selected. The height can range from a minimum of 64 to a maximum of 2048 pixels, with a default value of 512 pixels. The step size for adjustments is 8 pixels. This parameter is essential for defining the exact height of your custom resolution.
This boolean parameter allows you to swap the width and height dimensions of your selected resolution. The default value is False. When set to True, the width and height values are interchanged, providing an easy way to switch the orientation of your image.
This output parameter represents the final width of the image after considering the selected resolution and any custom dimensions or swaps. It is an integer value that defines the width in pixels.
This output parameter represents the final height of the image after considering the selected resolution and any custom dimensions or swaps. It is an integer value that defines the height in pixels.
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.