How an image generator works
It does not draw and it does not collage. It starts with pure static and removes the noise that does not belong — which is a stranger idea than it sounds, and it works.
6 modules, drawn as you go. Step through them below, or read them straight down underneath — about 4 minutes either way.
The modules
- 01
Start with static
The first frame is random noise — a screen of coloured snow with nothing in it. Every image these systems make begins here, and the whole process is subtraction, not drawing.
- 02
It learned by adding noise
In training, real photographs were destroyed on purpose: a little static added, then more, then more, until only snow was left. At every stage the model was asked to predict the noise that had just been added. That is the only thing it was ever taught to do.
- 03
So it can run that backwards
A model that can spot the noise in a nearly-ruined picture can also remove it. Point it at pure static and it will take out what it thinks is noise, leaving something very slightly more like a picture.
- 04
Your words steer every step
Your prompt is turned into numbers and fed in alongside, nudging each removal towards an image matching the description. Say a red bicycle in snow and every pass pulls the static a little further in that direction.
- 05
Twenty-odd passes
Repeat twenty to fifty times. Snow becomes shapes, shapes become objects, objects sharpen into a photograph that never existed. You can sometimes watch this happen in a progress preview.
- 06
What this explains
The hands. Nothing in this process counts anything — it matches texture and plausibility, and five fingers is a fact, not a texture. The same gap explains mangled text in signs and jewellery that joins up wrongly: all plausible locally, none of it checked as a whole.
Everything on this page is drawn by the page itself, so it costs nothing to load and reads the same on a slow connection.