Nodes designed for loading and utilizing Variational Autoencoders (VAEs) in ComfyUI, this tool enhances the capabilities of the base system by integrating support for the Wan upscale VAE. It provides improved functionality for decoding and upscaling images that are not natively supported.
- Supports enhanced input/output channel detection for the Wan2.1 VAE.
- Offers advanced latent decoding with optional upscaling and tiling features.
- Includes a simple neural latent upscaling method, significantly improving image quality over traditional interpolation techniques.
Context
This tool, known as ComfyUI-VAE-Utils, serves as an extension to the ComfyUI framework, enabling users to load and manipulate VAEs in ways that the default setup does not accommodate. Its primary purpose is to facilitate the use of the Wan upscale VAE, which enhances image processing capabilities within the ComfyUI environment.
Key Features & Benefits
The extension replaces the standard Load VAE node with one that includes enhanced detection for input and output channels specific to the Wan2.1 VAE. Additionally, it provides a VAE Decode node that can automatically upscale images and offers tiling options, making it easier for users to manage complex image processing tasks.
Advanced Functionalities
One of the standout features is the Latent Upscale node, which utilizes a neural network approach to upscale images in the latent space. This method is more effective than traditional bilinear or bislerp interpolation, resulting in better image quality. The tool also allows for native VAE decoding with latents from specific wrappers, provided that the latents are un-normalized beforehand.
Practical Benefits
By incorporating this tool into their workflow, users can achieve greater control over image quality and processing efficiency in ComfyUI. The advanced features enable smoother handling of VAEs, leading to improved output quality and streamlined workflows, particularly for users dealing with high-resolution images or complex projects.
Credits/Acknowledgments
The original authors and contributors of this repository are acknowledged, and the project is available under an open-source license, allowing for community collaboration and enhancement.




