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)
π§ 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 |
| 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 |
| 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 |
Generates latent directly, no need for EmptyLatentImage.
flowchart LR
A[SmartLatentGenerator] --> B[Sampler / KSampler]