Skip to content

buddy-bytes/ComfyUI-SmartResolutionToolkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

ComfyUI-SmartResolutionPicker

A lightweight yet powerful resolution assistant for ComfyUI.
It allows you to select image size using human-friendly dropdowns instead of typing width and height manually.

Designed for: βœ“ EmptyLatentImage
βœ“ Video / TikTok / IG / Story formats
βœ“ ControlNet / AnimateDiff / Sampler
βœ“ Latent-safe (auto snap to 64)


✨ Features

🧠 Smart width & height calculation
– Choose Resolution Preset (HD, FullHD, 2K, 4K, 8K)
– Choose Aspect Ratio (1:1, 9:16, 4:5, 21:9 etc.)
– Output: clean width and height (INT values)

βš™ Latent-safe scaling
– Automatically snaps resolution to the nearest multiple of 64
– 100% compatible with latent operations

🎯 Two Nodes Included

Node Description
Smart Resolution Picker Returns width & height (INT) for image/latent initialization
Smart Latent Generator Directly creates empty LATENT tensor from resolution + ratio

πŸ“ Available Resolution Presets

Name Size
SD 512 Γ— 512
HD 1280 Γ— 720
FullHD 1920 Γ— 1080
2K Cinema 2048 Γ— 1080
QHD 2560 Γ— 1440
4K UHD 3840 Γ— 2160
8K UHD 7680 Γ— 4320

πŸ“Έ Available Aspect Ratios

Ratio Common Usage
1:1 Square / Album Cover
4:5 Instagram Portrait
3:4 Classic Portrait / Photography
2:3 DSLR Photo / Print
5:4 Medium Format
9:16 TikTok / Reel / Story
16:9 YouTube / Widescreen
21:9 Cinematic Ultra-wide

πŸš€ SmartLatentGenerator Node

Generates latent directly, no need for EmptyLatentImage.

flowchart LR
    A[SmartLatentGenerator] --> B[Sampler / KSampler]
Loading

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages