08
Diffusion models

How AI Makes Images

Image generators do not paint. They start with static and remove noise, step by step, toward your words.

Training

Learn to predict noise

Real images are noised in steps; the model learns to guess the noise that was added.

Generation

Noise in, image out

20 to 50 denoising steps, each steered by the prompt's embeddings.

Latent space

Work small, decode big

Stable Diffusion denoises a 64×64×4 latent, 48× fewer numbers than the pixels.