ComfyUI Extension: ComfyUI-VAE-Utils

Authored by spacepxl

Created

Updated

135 stars

Nodes for loading and using VAEs in ways not supported by base ComfyUI. Currently supports Wan upscale VAE, more may be added later as needed.

Custom Nodes (0)

    README

    side by side comparison

    Nodes for loading and using VAEs in ways not supported by base ComfyUI. Currently supports Wan upscale VAE, more may be added later as needed.

    Install

    cd custom_nodes
    git clone https://github.com/spacepxl/ComfyUI-VAE-Utils
    

    That's it! No extra requirements outside of what ComfyUI already uses.

    Models

    Wan2.1 VAE 2x imageonly real v1

    Nodes

    Load VAE (VAE Utils)

    Direct replacement for native Load VAE node, but with added input/output channel detection for Wan2.1 VAE

    VAE Decode (VAE Utils)

    Decode latents with optional auto detected upscaling, and optional tiling

    Latent Upscale (VAE Utils)

    latent upscale comparison

    Simple neural latent upscaler (right), far from optimal but much better than naive bilinear/bislerp interpolation (left).

    Currently supported: Wan2.1 2x

    Workflows

    workflow/workflow_wan_t2i_upscale2x.png

    IMPORTANT

    To use native VAE decoding with latents from kijai/ComfyUI-WanVideoWrapper, you need to un-normalize the latents first using this node:

    WanVideoWrapper latent rescale