Tired of constantly doing mental math, checking resolution charts, or getting distorted images because your dimensions don't match your model's native training?
The Aspect Ratio Master node provides a seamless, intelligent, and highly precise resolution management utility directly inside your ComfyUI interface. Built for creators who want perfect compositions without the headache, it eliminates guesswork by embedding native model resolutions and automated quality tiers directly into your workflow.
🚀 Key Features
All Major Models Pre-Configured: Out-of-the-box support for the most popular AI models (including SD 1.5, SDXL, Flux, and more). It automatically knows their optimal native base resolutions, preventing unwanted stretching, bad framing, or generation artifacts.
Dynamic Quality Modes (Low, Middle, High): Switch effortlessly between Low, Middle, and High quality presets. The node automatically scales and recalculates your resolution presets on the fly to match your chosen target fidelity.
Smart Ratio Calculations: Quickly toggle between standard aspect ratio presets (16:9, 9:16, 1:1, 4:3, 2:3, etc.) or define your own custom aspect ratios instantly.
Native & Fluid UI Integration: Powered by a dedicated front-end script (
aspect_ratio_master.js), making preset swapping and quality shifting interactive and immediate within your graph.Zero Performance Footprint: Clean backend logic (
aspect_ratio_master.py) ensuring rapid execution with absolutely no VRAM overhead.
📦 Note: This node is included as part of the ComfyUI-3R3BOS-Pack suite. Installing the pack gives you instant access to this layout tool along with our other workflow optimization utilities.
🛠️ Installation
Method 1: Via ComfyUI Manager (Recommended)
Open the ComfyUI Manager.
Click on Custom Nodes Manager.
Search for
ComfyUI-3R3BOS-Pack.Click Install, then restart your ComfyUI instance.
Method 2: Manual Installation (Git)
Navigate to your custom_nodes directory and clone the repository:
Bash
cd ComfyUI/custom_nodes
git clone https://github.com/3R3BOS/ComfyUI-3R3BOS-Pack.git
Restart ComfyUI to let the interface register the custom scripts.
🔗 Useful Links & Resources
✨ Star the repository to stay updated with the latest features and optimizations!
💡 Quick Start Guide
Right-click on the workspace ->
Add Node->3R3BOS->Aspect Ratio Master.Select your Model: Pick the architecture you are currently using (e.g., SDXL, Flux) to lock in native base resolutions.
Set your Quality Tier: Choose
Lowfor fast drafting,Middlefor standard generation, orHighfor maximum fidelity. The presets adapt automatically!Choose your Aspect Ratio: Select your desired preset or enter a custom ratio.
Connect the
widthandheight or latentoutput slots directly into yourEmpty Latent Imagenode (or your generation node of choice) and queue your prompt!