New Tool Radar

AI Image & Voice

How to Add a VAE to a ComfyUI Workflow for Better Colours

Put a VAE file in ComfyUI's models/vae folder, add a Load VAE node, and wire it into the workflow to fix washed-out colours.

Schematic diagram with four steps: download a matching VAE, copy it into models/vae, add a Load VAE node, then wire it into VAE Decode for better colours.

The VAE (variational autoencoder) is the part of an image model that turns the sampler’s latent image back into pixels. Some checkpoints ship without a good VAE, and the result looks washed out or grey. Adding a matching VAE file to the workflow is the fix, and ComfyUI keeps VAEs in their own folder.

Put the VAE in models/vae and wire it in

Download a VAE that matches your checkpoint family — for example the VAE published alongside an SD 1.5 or SDXL checkpoint — and copy it into models/vae. Restart ComfyUI, then add a Load VAE node to the canvas. Connect its output to the VAE Decode node (and to the VAE Encode node if your workflow has one), replacing the VAE that came baked into the checkpoint loader.

VAE files: ComfyUI/models/vae
Nodes: Load VAE -> VAE Decode (and VAE Encode where used)
Symptom fixed: washed-out, grey or dull colours in the output

If the colours look right already, you do not need a separate VAE: many checkpoints include one. Add the node only when the output looks dull or the colours shift oddly. A mismatched VAE — for example an SD 1.5 VAE on an SDXL workflow — will make the image worse, not better.

Try it: four checks

Check What you should see If you do not see it
VAE listed The VAE file appears in the Load VAE dropdown Move it into models/vae and restart
Wired in Load VAE connects to VAE Decode Follow the node connections, not the node positions
Colours improve The new image has richer, correct colours Try the VAE published with your checkpoint
No errors The queue finishes without a VAE error Check the VAE family matches the checkpoint family

Expected result. We checked the ComfyUI README, which puts VAE files in models/vae and lists VAEs among the model parts ComfyUI loads separately from checkpoints. We did not load a VAE or generate an image on this machine.

Limits

This guide covers adding a VAE only. Picking the right VAE for a checkpoint family is a separate choice, and a wrong-family VAE will hurt the result. We did not test any VAE ourselves.

Sources

See all
AI Image & Voice

How to Remove a Background in Canva

Remove a photo background in Canva with Background Remover, then fix the edges with the Erase and Restore brushes.