ComfyUI > Nodes > ComfyUI-JakeUpgrade > SD1.5 Aspect Ratio JKšŸ‰

ComfyUI Node: SD1.5 Aspect Ratio JKšŸ‰

Class Name

CR SD1.5 Aspect Ratio JK

Category
šŸ‰ JK/šŸ“¦ Misc
Author
jakechai (Account age: 1902days)
Extension
ComfyUI-JakeUpgrade
Latest Updated
2025-05-20
Github Stars
0.08K

How to Install ComfyUI-JakeUpgrade

Install this extension via the ComfyUI Manager by searching for ComfyUI-JakeUpgrade
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-JakeUpgrade in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

SD1.5 Aspect Ratio JKšŸ‰ Description

Aspect ratio management node for images, offering resolution options, custom dimensions, and dimension swapping for AI art.

SD1.5 Aspect Ratio JKšŸ‰:

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.

SD1.5 Aspect Ratio JKšŸ‰ Input Parameters:

resolution

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.

custom_width

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.

custom_height

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.

swap_dimensions

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.

SD1.5 Aspect Ratio JKšŸ‰ Output Parameters:

width

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.

height

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.

SD1.5 Aspect Ratio JKšŸ‰ Usage Tips:

  • When working with custom resolutions, ensure that the width and height are within the allowed range (64 to 2048 pixels) to avoid errors.
  • Use the swap_dimensions parameter to quickly change the orientation of your image without manually adjusting the width and height values.

SD1.5 Aspect Ratio JKšŸ‰ Common Errors and Solutions:

Invalid resolution selected

  • Explanation: This error occurs when an unsupported resolution is chosen.
  • Solution: Ensure that the resolution parameter is set to one of the predefined options or "Custom".

Custom dimensions out of range

  • Explanation: This error occurs when the custom width or height is set outside the allowed range of 64 to 2048 pixels.
  • Solution: Adjust the custom_width and custom_height parameters to values within the specified range.

Swap dimensions not working

  • Explanation: This error occurs when the swap_dimensions parameter does not correctly swap the width and height.
  • Solution: Verify that the swap_dimensions parameter is set to True if you want to swap the dimensions. If the issue persists, check for any conflicting settings or errors in the input parameters.

SD1.5 Aspect Ratio JKšŸ‰ Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-JakeUpgrade
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

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.