A custom node for Stable Diffusion ComfyUI to enable easy selection of image resolutions for SDXL SD15 SD21
A custom node for Stable Diffusion ComfyUI to enable easy selection of image resolutions for SDXL SD15 SD21
INT
values which can be connected to latent image inputs or other inputs such as the CLIPTextEncodeSDXL
width, height, target_width, target_height
.base_adjustment
dropdown. This will reduce the returned width and height values to suit the selected model whilst maintaining the image aspect ratio.# Example
SDXL base_resolution 1024x1024
SD21 adjustment returns 768x768
SD15 adjustment returns 512x512
# Change to the directory you installed ComfyUI
cd pathTo/ComfyUI
# Change to the custom_nodes directory ie.
cd custom_nodes
# Clone the repo into custom_nodes
git clone https://github.com/bradsec/ComfyUI_ResolutionSelector.git
# Restart ComfyUI
Add Node > utils > Resolution Selector