ComfyUI-CanvasPresetStudio
Canvas Preset Studio provides an easy way to select, preview, and validate image and video canvas sizes for AI workflows.
ComfyUI Canvas Preset Studio
An easy canvas management node for ComfyUI.
Canvas Preset Studio provides an easy way to select, preview, and validate image and video canvas sizes for AI workflows.
It is designed to eliminate common latent size mismatches while making canvas selection fast and visual.
Preview
<p align="center"> <img src="img/Canvas_Preset_Studio.PNG" alt="Canvas Preset Studio" width="900"> </p> --- ## Features- 🎨 Large built-in library of common AI canvas presets
- 🖼️ Live visual canvas preview
- 📐 Landscape and Portrait switching
- 📏 Automatic snapping to divisible values
- ⚡ Prevents latent size mismatches
- 🧩 Works with image and video workflows
- 🖥️ Optimized for ComfyUI
- ✨ Editable custom resolutions
Why use it?
Many AI models require image dimensions that are divisible by a specific value (8, 16, 32, 64, etc.).
Incorrect dimensions can cause:
- latent size mismatches
- decoder errors
- padding artifacts
- workflow failures
Canvas Preset Studio automatically snaps canvas sizes to compatible values, reducing these problems while giving you complete control over the final resolution.
Usage
-
Add Canvas Preset Studio node.
-
Select a preset.
-
Choose Landscape or Portrait.
-
Select snapping mode.
-
Connect Width and Height outputs into your workflow.
Outputs
- Width
- Height
Compatibility
Works with virtually any workflow that accepts Width and Height values in ComfyUI.
Examples:
- SDXL
- Flux
- Wan
- LTX
- Hunyuan
- Image models
- Video models
License
MIT License
Created by Vitaliy Burov