Comfyui-Resolution-Master  by Azornes

Precise resolution and aspect ratio control for AI image generation

Created 7 months ago
252 stars

Top 99.6% on SourcePulse

GitHubView on GitHub
Project Summary

Summary

This ComfyUI custom node provides granular control over image resolution and aspect ratio for AI generation workflows. It targets users needing precise dimension management, offering an intuitive interface, advanced scaling options, and model-specific optimizations to enhance output quality and flexibility.

How It Works

The node features an interactive 2D canvas for visual resolution selection with real-time preview and advanced drag modifiers for aspect ratio preservation and snap-to-grid control. It supports manual scaling, resolution targeting (e.g., 1080p), and megapixel targeting, calculating a rescale_factor for downstream upscaling nodes. Crucially, it includes model-specific optimizations for SDXL, Flux, and Qwen-Image, enforcing their unique constraints and improving generation quality. A robust Preset Manager facilitates custom preset creation, organization, and import/export.

Quick Start & Requirements

  • Installation: Install via ComfyUI-Manager (search for "Comfyui-Resolution-Master") or manually clone the repository into ComfyUI/custom_nodes/.
  • Prerequisites: A functional ComfyUI environment. No other specific hardware or software dependencies are listed.
  • Links: Project repository: https://github.com/Azornes/Comfyui-Resolution-Master. Quick start and known issues are detailed within the README.

Highlighted Details

  • Interactive 2D canvas with real-time preview and flexible drag controls (snap, aspect ratio, fine-tuning).
  • Advanced scaling modes: Manual Scale, Resolution Targeting, Megapixel Targeting, outputting a rescale_factor.
  • Extensive preset library categorized by use case (SDXL, Flux, Social Media, Cinema, etc.).
  • Model-specific optimizations (SDXL, Flux, WAN, Qwen-Image) enforcing resolution constraints and quality improvements.
  • Comprehensive Preset Manager for custom preset creation, organization, import/export via GUI or JSON editor.

Maintenance & Community

The project is maintained by Azornes. No specific details on community channels or sponsorships were found in the provided text.

Licensing & Compatibility

  • License: MIT License, permitting broad use, modification, and distribution.
  • Compatibility: Requires ComfyUI's "Modern Node Design (Vue Nodes)" to be disabled. Known conflict with comfyui-mixlab-nodes.

Limitations & Caveats

  • Incompatible with ComfyUI's "Modern Node Design (Vue Nodes)"; this feature must be disabled.
  • A conflict with comfyui-mixlab-nodes causes the node to render blank; a workaround involves modifying ui_mixlab.js or disabling comfyui-mixlab-nodes.
  • The 2D canvas may appear visually distorted at resolutions above 2K (up to 32K), though output values remain accurate; canvas max dimensions can be adjusted via node properties for better visualization.
Health Check
Last Commit

2 months ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
0
Star History
11 stars in the last 30 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems") and Jeremy Howard Jeremy Howard(Cofounder of fast.ai).

clarity-upscaler by philz1337x

0.1%
5k
AI image upscaler & enhancer, alternative to Magnific
Created 2 years ago
Updated 1 year ago
Feedback? Help us improve.