Diffusion in one line: learn to remove noise, then start from noise.
The short answer
Drawing by un-blurring.
Most modern AI image generators use a method called diffusion. During training, the model sees millions of real pictures with different amounts of random noise added, and learns to predict that noise. To make a new image, it starts from pure static and removes noise step by step, steered by your text prompt, until a picture appears.
Step 1: learning to remove noise
Ruin a picture on purpose, then learn to fix it.
Take a photo of a cat. Add a little random noise, like TV static. Add more, and more, until it is pure static. Now train a neural network on a simple task: look at a noisy image and predict exactly which noise was added. If the network can predict the noise, you can subtract it and get a slightly cleaner image.
Do this with millions of images and every possible noise level, and the network becomes an expert at turning "slightly noisy" into "slightly cleaner" for almost any kind of picture.
Step 2: making something new
Start from nothing but static.
Here is the clever part. To create a brand new image, you give the model pure static and ask it to clean it up a tiny bit. Then you feed the result back in and clean again. After dozens of steps, shapes appear, then details, then a sharp picture that never existed before. Because the starting static is random, every run gives a different image.
Step 3: how the words steer the picture
The prompt becomes numbers too.
Your prompt, such as "a red fox reading a book in the snow", is turned into numbers by a text model. Those numbers are given to the image model at every cleaning step, so it removes noise in a direction that matches the words. A setting often called guidance controls how strongly the picture must follow the prompt: low guidance is more creative, high guidance is more literal.
What a teen needs to build one
Harder than a chatbot app, very doable with a guide.
| Skill | Why it matters |
|---|---|
| Python | Every modern AI tool is written and controlled in Python. |
| PyTorch basics | To define the neural network and train it. |
| A U-Net | The network shape most diffusion models use to predict noise. |
| Noise schedules | How much noise to add and remove at each step. |
| A GPU | Training is slow on a laptop; a cloud GPU makes it practical. |
Students in our one-to-one Research Tutorial can choose a generative images track and build a small diffusion model from scratch.
Things to talk about together
Powerful tools come with real questions.
Image generators learn from huge collections of existing pictures, which raises fair questions about artists' work and consent. They can also make fake images of real people. Good habits for teens: never create images of real people without permission, label AI images as AI, and be sceptical of shocking pictures online.
Quick answers
Common questions from teens and parents.
What is a diffusion model?
A diffusion model is a type of AI that learns to remove random noise from images. It creates new pictures by starting with pure noise and cleaning it step by step, guided by a text prompt.
Do AI image generators copy existing pictures?
They do not normally paste in parts of specific images; they learn general patterns from many pictures. However, they can sometimes produce images very close to famous works or styles, which is why artists' rights are an active debate.
Can a teenager build an AI image generator?
Yes. A teen who knows Python can train a small diffusion model on simple images such as handwritten digits, with guidance and access to a GPU. Large tools like Midjourney need far more data and computing power.
Why do AI images sometimes have strange hands or text?
Hands and lettering have many fine details that must be exactly right, and the model builds images from statistical patterns rather than real understanding of fingers or spelling, so small errors are common.
Curious how your teen could go from using these tools to building one? Book a free 45-minute trial class.