How AI Video Generation Works
A clear mental model of how text-to-video AI systems turn noise into coherent motion, frame by frame.
A complete interactive classroom, not just a preview.
Start when you are ready to enter this Stage's 11 scenes and explore, respond, and learn as you go.
How can a computer, given only text, produce a moving video that looks like real life?
- text-to-video-pipeline
- The end-to-end stages from a text prompt to a finished video.
- latent-space-compression
- Why models work in a compressed latent space instead of raw pixels.
- diffusion-process
- How a model iteratively removes noise to produce a coherent frame.
- temporal-coherence
- How models make frames look like they belong to the same video, not random stills.
- text-conditioning
- How the words in a prompt steer what the model generates.
AI video generators simply search a database of existing videos and stitch clips together.
Show that the model generates pixels from noise, not by retrieving or stitching clips.
Each frame in an AI video is generated independently, like a still-image generator repeated.
Show that temporal coherence is a learned constraint that ties frames together across time.
The model "understands" the prompt like a human reads it.
Show that text is converted to numerical embeddings that steer denoising, not parsed semantically.
- Basic understanding that AI models learn from data
- Familiarity with the concept of an image made of pixels
- training data details
- model architecture math
- commercial comparisons
- ethical/legal debates
- Learner can describe the four main stages of the text-to-video pipeline.
- Learner can explain why temporal coherence is hard and how models address it.
- Learner can predict what happens when a prompt is vague vs. specific.
- Read a news article about a new video generation model and identify which pipeline stage the announcement is actually improving.
Curious learners with no AI background. Comfortable with basic concepts like pixels and patterns, but no machine learning experience.
- 01From Words to Moving PicturesslideOrientation
Set up the central mystery: how does text become video? Preview the pipeline we will explore.
- Text-to-video is a multi-stage process
- We will follow one prompt through the full pipeline
- You will see each stage in action
- 02The Pipeline MapinteractiveModel buildingObserve
An interactive diagram of the text-to-video pipeline. Click each stage to reveal what happens inside.
- Text encoder → Latent diffusion → Temporal decoder → Upscale
- Each stage has a distinct job
- The output of one stage feeds the next
- 03Why Latent Space?slideModel buildingObserve
Explain why models compress video into a smaller latent representation before working on it.
- Raw video is enormous (millions of pixels per frame)
- Latent space keeps only the meaningful structure
- The model thinks in latents, then decodes back to pixels
- 04Watch Noise Become a VideointeractiveMisconception repairObserve
A simulation that lets the learner scrub through diffusion steps, watching random noise sharpen into a coherent video. Includes sliders for prompt strength and number of steps.
- Generation starts from pure noise
- Each step removes a little noise
- More steps = cleaner, more detailed output
- 05How Prompt Changes the OutputinteractivePredictionPredict
A second simulation where the learner edits the text prompt and watches the same noise evolve into a very different video.
- The same starting noise + different prompt = different video
- Specific prompts produce more predictable results
- Vague prompts give the model more creative freedom
- 06The Coherence ProblemslideModel buildingObserve
Explain why making a sequence of frames feel like one video is the central technical challenge.
- Generating one good frame is hard; generating many that agree is harder
- Objects must keep their shape, color, and identity across frames
- Without temporal modeling, you get a slideshow, not a video
- 07Frame-by-Frame: Coherent vs. ShuffleinteractiveMisconception repairObserve
A simulation showing two strips of frames. One is independently generated frames (shuffle mode); the other is temporally coherent. The learner toggles and compares.
- Independent frames look plausible alone but jitter together
- Coherent frames share motion and identity
- The model learns motion patterns, not just appearances
- 08Director's ChairinteractiveApplicationApply
An action game: the learner acts as a director, adjusting prompt detail, frame count, and coherence settings to make a video that matches a brief like 'a cat walking steadily across a room.'
- More prompt detail → more predictable output
- Higher coherence setting reduces flicker
- Trade-offs between speed, length, and quality
- 09From Latents to PixelsslideModel buildingObserve
Explain the final decode step that turns the latent video back into viewable pixels, often via an upscaler.
- Latents are decoded back into pixel frames
- A separate upscaler adds resolution and detail
- This is the last stage before you see the video
- 10Diagnose the PipelineinteractiveAssessmentChoose
A short puzzle game: the learner is shown a broken or weak output and must identify which pipeline stage is responsible (prompt encoder, diffusion, temporal modeling, or decoder).
- Symptoms map to specific stages
- Jitter = temporal stage; wrong subject = text conditioning; blurry = decoder
- This is how practitioners debug real models
- 11Putting It All TogetherslideSynthesisExplain
Recap the full journey: text → embedding → latent noise → denoised latent video → decoded pixels, with temporal coherence tying frames together.
- Four stages, one shared goal: coherent motion from text
- Every modern text-to-video model fits this template
- The active research is in making each stage better
Discussion threads for a Stage aren't available yet.