Extensions/ComfyUI-CanvasPresetStudio
ComfyUI Extension

ComfyUI-CanvasPresetStudio

Canvas Preset Studio provides an easy way to select, preview, and validate image and video canvas sizes for AI workflows.

By vitaliyburov·Created about a month ago·Updated about a month ago· 0
vitaliyburov/ComfyUI-CanvasPresetStudio
Nodes
On cloudLocal install
Stars0
Updatedabout a month ago
Readme

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

  1. Add Canvas Preset Studio node.

  2. Select a preset.

  3. Choose Landscape or Portrait.

  4. Select snapping mode.

  5. 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