wan_2.2_vae.safetensors
π§ File Formatβ
- File Name:
wan_2.2_vae.safetensors
- Format:
safetensors
β a secure and fast binary format designed to replace.pt
and.ckpt
. - Model Type: VAE (Variational Autoencoder)
- Location (ComfyUI):
Should be placed in yourComfyUI/models/vae/
directory.
Why
safetensors
matters: It's faster, avoids torchscript pitfalls, and won't let you accidentally run arbitrary Python code just by loading a model. Basically, it wonβt torch your GPU or your dignity.
π Function in ComfyUI Workflowsβ
In ComfyUI, the VAE is used to decode latent space data into the RGB images you actually see. Think of it as the translator between the language of AI neurons and human eyeballs.
When a checkpoint (like wan_v2.2.ckpt
) generates a latent image, this VAE decodes it into pixel data. Without a matching VAE, you're likely to get:
- Desaturated colors
- Crushed shadows
- Blown highlights
- A general βwhat is this soggy potato?β vibe.
So yes, a good VAE = happy visuals.
π§ Technical Detailsβ
- Trained for: Compatibility with
wan_v2.2
SD1.5 checkpoint - Architecture: Follows Stable Diffusion-style VAE layout, tuned with a custom loss function that better preserves color contrast and structural details.
- Dynamic Range Handling: Excellent β unlike older VAEs, this one doesnβt nuke your highlights or mudify shadows.
- Color Space Calibration: Carefully finetuned to reflect true prompt-driven saturation and tone shifts.
TL;DR: This VAE actually cares about your colors.
β Benefitsβ
- πΌ Improved visual fidelity: Richer tones, deeper contrast, cleaner lines.
- π Better color reconstruction: Great for colorful and high-dynamic-range outputs.
- π§ͺ Built to match the
wan_v2.2
SD1.5 model β using any other VAE is just asking for weirdness. - π§΅ No more stitching artifacts or blobby textures β goodbye AI meltdowns.
βοΈ Usage Tipsβ
- Always pair it with the
wan_v2.2
checkpoint. Itβs not just a suggestion. Itβs the VAEβs soulmate. - Use higher-resolution outputs (768x768 or above) to fully appreciate the detail retention.
- If you're using it with Ultimate SD Upscale or Inpainting workflows, expect excellent results in both base and enhanced passes.
- If you get slightly dull color output, try raising
CFG
slightly or increasing denoise β not the VAE's fault, it's being polite.
π― Best Fit Model Typesβ
This VAE was trained for, tested on, and basically obsessed with:
Checkpoint Name | SD Version | Match Quality | Notes |
---|---|---|---|
wan_v2.2.safetensors | SD 1.5 | β β β β β | Perfect fit |
Any SD1.5 realistic | SD 1.5 | β β β β β | Works fine, just mind the colors |
SDXL or SD2.x models | SDXL/2.1 | β ββββ | DO NOT use. Youβve been warned. |
Anime models (e.g. AOM) | SD 1.5 | β β βββ | Technically works, but there are better anime VAEs |
π οΈ Setup Instructionsβ
-
Download the VAE
wan_2.2_vae.safetensors -
Place the file here:
ComfyUI/models/vae/wan_2.2_vae.safetensors
-
Load the VAE in ComfyUI:
- Add a
VAELoader
node - Set
vae_name
to"wan_2.2_vae.safetensors"
- Add a
-
Connect it to your CheckpointLoader or VAE Decode node.
Bonus points if you use thewan_v2.2.ckpt
checkpoint. They were literally made for each other.
π₯ What-Not-To-Do-Unless-You-Want-a-Fireβ
- β Don't use it with SDXL models. Youβll get garbage, and it will be colorless garbage.
- β Donβt assume βany VAE works with any checkpoint.β No. VAE β universal decoder.
- β Donβt forget to load it. Some checkpoints disable baked VAEs. No VAE = ugly outputs.
- β Donβt rename the file and forget what it was. Youβll end up trying 8 VAEs at once and blame your workflow instead.
- β Donβt stack it with baked-in VAEs. Pick one β not both. This isnβt a VAE sandwich.
π Additional Resourcesβ
π Example Node Configurationβ
{
"id": 5,
"type": "VAELoader",
"pos": [100, 200],
"size": [300, 60],
"inputs": [],
"outputs": [{ "name": "VAE", "type": "VAE" }],
"properties": { "vae_name": "wan_2.2_vae.safetensors" }
}
Node Chain Example (simple):
CheckpointLoader β VAELoader β KSampler β VAEDecode β SaveImage
Node Chain Example (advanced upscale):
CheckpointLoader β VAELoader β UltimateSDUpscale β VAEDecode β ImageSharpen β SaveImage
π Notesβ
- This VAE was part of the broader wan2.2 workflow release, which included color-sane generation, control module compatibility, and cleaner transitions between tiles.
- While you can experiment with other VAE files, if you're using
wan_v2.2
, this is the only VAE that will show you its full potential. - The color science behind this VAE is genuinely impressive. It doesn't just decode β it interprets.