What is a diffusion model
A diffusion model is an AI that draws a picture out of noise. During training it saw millions of captioned images and learned to remove noise, the coloured static you'd see on an old TV. When you write a prompt, the model takes pure noise and removes it step by step, checking against your words. After a few dozen steps an image emerges from the static.
The model doesn't search the web for a finished picture, it draws a new one to match your description. The starting noise is new every time and is set by a random number called a seed. That's why the same prompt gives different results: ask for 3–4 options and pick the best.
One more quirk: the model draws the "average". Type just "candle" and you get the most typical candle. To get yours, describe what makes it different: shape, colour, label, light.
Covered in the lessonHow Does AI Generate Images? Diffusion Explained SimplyOpen the lesson →