How does AI draw pictures?

Knowledge Videos

Short animated explainers, organised by subject.

How does AI draw pictures?

Diffusion models add noise to learn, then remove it to create, steered by a prompt.

Transcript

Diffusion models learn by watching pictures being destroyed. Step by step, noise is added, until only static is left.

At every step, the model is shown the noisy image, and asked to predict the noise that was added.

To generate, we run it in reverse. Start from pure random noise.

The model removes a little noise at each step, and a picture slowly emerges.

A text prompt steers the denoising. The words are turned into embeddings, which guide every step.

Different noise gives a different picture, even for the same prompt.

Add noise to learn. Remove noise to create. Guided by your words, static turns into an image.

More in this series