---
description: Automated post-processing
---

# VAE

Vae files are for adding small modifications to color and composition to the generated image. Usually making a better result when used. They can also help with bad hands and eyes sometimes, but that's not always guaranteed.

Really, there are currently only a handful of unique vaes that get used. But they are renamed by the author of the model before redistribution. If you have the options listed below, you don't need to download any other vae files when downloading new models.

Increasingly, vaes come 'baked' into the model. But selecting one of your own will overwrite that baked in vae.

<figure><img src="https://2463013151-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrjzSinvVPe17AZtDte0Z%2Fuploads%2ForLBVRUhTMJrBZOp4JrI%2Fthe_line.png?alt=media&#x26;token=1bf137fe-5b91-486d-bb1b-affd4e3d193c" alt=""><figcaption></figcaption></figure>

## Example Images

Here are some examples of the different vaes, used on different models. Note some of them may have baked in vaes, which is why some of the 'No Vae' examples look more saturated than the 'Anything.vae' examples.\


<details>

<summary>Settings used for all images</summary>

Positive Prompt: ITAP of a beautiful (freckled:0.6) woman, smiling at the viewer, close up, wearing a blue flowing dress, floating in space, surrounded by flowers and rainbows, a planet with rings in the background\
\
Negative Prompt: nude, nsfw, child, loli, flat chest, mutated, deformed, amateur drawing, lowres, worst quality, low quality, jpeg artifacts, text, error, signature, watermark, username, blurry, censorship, sketch, monochrome\
\
Steps: 20, Sampler: Euler a, CFG scale: 7, \
Seed: 1451321348, Size: 512x512

</details>

{% embed url="https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrjzSinvVPe17AZtDte0Z%2Fuploads%2FwLnMeWzy9mXRIN9PDble%2F3xyplot_vae__Anime1.vae.pt_Anime2.vae.pt_Anything.vae.pt_blessed2.vae.pt_ClearVAE_NansLess1.safetenso.png?alt=media&token=581f26bb-4829-481a-9b05-cecd12cd73ef" %}

<figure><img src="https://2463013151-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrjzSinvVPe17AZtDte0Z%2Fuploads%2ForLBVRUhTMJrBZOp4JrI%2Fthe_line.png?alt=media&#x26;token=1bf137fe-5b91-486d-bb1b-affd4e3d193c" alt=""><figcaption></figcaption></figure>

## The VAEs

The vaes widely in use are,

### **Anything-V3.0.vae**&#x20;

Commonly called anything.vae, which was originally NAI.vae It is used mostly for non-realistic images (anime, paintings, cartoons, etc.), but can be used on realistic images too. \
Colors are much less saturated than the other options.&#x20;

_This vae can also cause images to become solid black when generated. Usually at larger resolutions._

Download link: [https://pub-060d7c8cf5e64af8b884ebb86d34de1a.r2.dev/models/vae/Anything-V3.0.vae.pt](https://pub-060d7c8cf5e64af8b884ebb86d34de1a.r2.dev/models/vae/Anything-V3.0.vae.pt)&#x20;



### **kl-f8-anime2.vae**&#x20;

Commonly called anime.vae, is used pretty much exclusively for anime. Can distort realistic images.\
More saturated than NAI.vae, but slightly less than mse.vae \
\
Download link: [https://pub-060d7c8cf5e64af8b884ebb86d34de1a.r2.dev/models/vae/kl-f8-anime2.vae.ckpt](https://pub-060d7c8cf5e64af8b884ebb86d34de1a.r2.dev/models/vae/kl-f8-anime2.vae.ckpt)&#x20;



### **ft-mse-840000-ema.vae**&#x20;

Commonly known as mse.vae, yields great results in most cases, especially with photo realistic images.\
Very saturated colors.

Download link: [https://pub-060d7c8cf5e64af8b884ebb86d34de1a.r2.dev/models/vae/vae-ft-mse-840000-ema-pruned.vae.pt](https://pub-060d7c8cf5e64af8b884ebb86d34de1a.r2.dev/models/vae/vae-ft-mse-840000-ema-pruned.vae.pt)



### rmada-cold.vae

This vae is designed to have cooler colors than other options. Is more in focus than anything.vae, but less saturated and vibrant than mse.vae\
This is a good alternative to anything.vae if that one is causing errors, or you don't like the vibrancy of mse.vae and anime.vae

Works well on a wide variety of models

Download Link: [https://drive.google.com/file/d/1GW2ZktwVDBYwxxevFdSMEhERQg1tKddv/view?usp=sharing](https://drive.google.com/file/d/1GW2ZktwVDBYwxxevFdSMEhERQg1tKddv/view?usp=sharing)



### blessed2.vae

Very similar to anything.vae but slightly more vibrant and in focus.

_This vae can also cause images to become solid black when generated. Usually at larger resolutions._

Download Link: [https://huggingface.co/NoCrypt/blessed\_vae/resolve/main/blessed2.vae.pt](https://huggingface.co/NoCrypt/blessed_vae/resolve/main/blessed2.vae.pt)



<figure><img src="https://2463013151-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrjzSinvVPe17AZtDte0Z%2Fuploads%2ForLBVRUhTMJrBZOp4JrI%2Fthe_line.png?alt=media&#x26;token=1bf137fe-5b91-486d-bb1b-affd4e3d193c" alt=""><figcaption></figcaption></figure>

There are also the predecessors of the anime2.vae and mse.vae. They aren't really as good as their newer options, but may be interesting to try out.&#x20;

### **kl-f8-anime1.vae**&#x20;

Predecessor to kl-f8-anime2.vae, which is most likely the better option. Listed here mainly to offer all the discovered choices.

Download link: [https://huggingface.co/hakurei/waifu-diffusion-v1-4/resolve/main/vae/kl-f8-anime.ckpt](https://huggingface.co/hakurei/waifu-diffusion-v1-4/resolve/main/vae/kl-f8-anime.ckpt)

### **ft-ema-560000-ema.vae**&#x20;

Predecessor to ft-mse-840000-ema.vae, which is most likely the better option. Listed here mainly to offer all the discovered choices.

Download link: \
[https://huggingface.co/stabilityai/sd-vae-ft-ema-original/resolve/main/vae-ft-ema-560000-ema-pruned.ckpt](https://huggingface.co/stabilityai/sd-vae-ft-ema-original/resolve/main/vae-ft-ema-560000-ema-pruned.ckpt)



<figure><img src="https://2463013151-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrjzSinvVPe17AZtDte0Z%2Fuploads%2ForLBVRUhTMJrBZOp4JrI%2Fthe_line.png?alt=media&#x26;token=1bf137fe-5b91-486d-bb1b-affd4e3d193c" alt=""><figcaption></figcaption></figure>

## Installing and Activating

To install them, simply add them into a folder specifically called "Vae", located in your model weights folder.

<figure><img src="https://2463013151-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrjzSinvVPe17AZtDte0Z%2Fuploads%2F6y7sDZni4bIClBo7mm4j%2Fvae%20folder.png?alt=media&#x26;token=fddc720f-93a8-4d4f-8b84-ca46a0392e0f" alt=""><figcaption></figcaption></figure>

After placing the files in this location they will show up in the drop-down box in app, no restart required.

<figure><img src="https://2463013151-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrjzSinvVPe17AZtDte0Z%2Fuploads%2FtgR58m6h4Ed9oTFbnHQP%2F001-2.png?alt=media&#x26;token=014ad7dc-5656-4f88-b26f-6028b37d7e29" alt=""><figcaption><p>renamed to personal choice</p></figcaption></figure>
