Free | No tracking | Every fact with a source|German and English

Glossary / Image and video

Latent – explained simply

Latent is the compressed numeric representation of an image, which diffusion models actually work on; only the VAE turns it into pixels.

Also: Latent Space, Latent Space, Latents, Latent Image

Calculating an image directly pixel by pixel would be very computationally expensive. Modern image models therefore work in a reduced space, the Latent Space. Comparison: Instead of planning a house brick by brick, you work with the blueprint, which is much smaller but still contains everything important.

The Latent-Diffusion paper describes exactly that: diffusion runs in the latent space of a pretrained autoencoder, which saves computing effort while still preserving detail. In Stable Diffusion, the latent is about eight times smaller per side than the image.

In ComfyUI, you can see this in nodes like Empty Latent Image (blank canvas) and VAE Decode (conversion into a visible image).

Related terms

Errors where that matters

Sources