Video with AILesson 4 of 66

Module 1 · What the machine is actually doing

Why a chair stays a chair and a face does not

In this lesson

  • 10 min read
  • 7 reading sections
  • Knowledge check
  • Lesson 4 of 10 in this chapter

This chapter’s goalTrace a prompt and a first frame through a latent video model (encoder, noise schedule, attention across time, decoder) and use that path to predict which settings change the picture, which change only the cost, why the final second degrades, and what VRAM a given model needs before you download it.

This chapter’s media

The film explains chapter ideas. The audiobook narrates the complete teaching text.

FormatEnglishहिंदी
Chapter filmNot availableNot available
Full audiobookNot availableNot available

A little at a time

Explore an idea, try it, then check what stays.

Step 1 of 8Free · no account needed
Lesson steps

What attention is doing here

After the encoder, the latent is cut into patches: typically 2×2 in space, sometimes across a pair of latent frames as well. Each patch becomes a token. For our five-second 1080p clip: 30 latent frames, 240×135 latent pixels, patched 2×2, gives 30 × 120 × 68 ≈ 244,800 tokens.

In full 3D attention, every one of those tokens computes a relationship with every other one. That is 244,800² ≈ 60 billion pairs, per attention layer, per step. Modern kernels do not materialise that matrix, but the work still scales that way.

This is the expensive thing in the whole pipeline, and it is also the thing that makes video models work. A patch on frame 118 can look directly at a patch on frame 3. That is how the wall stays where it was.

Your place and first choices stay on this browser. Classroom credit is recorded separately.

Every lesson here is open. Your progress is recorded once you pass the Editing Video exam.

Stuck on something?Ask Chiamaka, your AI tutor

How to cite: Addaly (2026) ‘Why a chair stays a chair and a face does not’, in Video with AI. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/ai-video/attention-across-frames (Accessed: 29 November 2026).