How Claude Makes Videos

By Animated Essays · November 2026 · 9 min

how-claude-makes-videos.mov

Chapters

  1. What a video actually is
  2. Step 1: the script
  3. Step 2: the voice
  4. Step 3: drawing with code
  5. Step 4: recording, sort of
  6. Step 5: ffmpeg
  7. Step 6: generated footage
  8. Step 7: checking without eyes

Transcript

Okay, real talk. If you're watching this right now, you're not playing GTA 6. And you're definitely not an Anthropic employee, refreshing a stock ticker every 4 seconds.

This morning the biggest game launch in years and the biggest stock market debut ever landed on the same day, and the internet named it Grandthropic.

Meanwhile, Claude made this video. Every frame, every word, every sound. Without ever watching a single video in its life.

Wait. Hold on. A video, made by something that has literally never seen one? Yep.

How does a machine that only writes text make a video? In seven steps I'll teach you a skill you think will make you money. Spoiler: it won't. But it's fun.

What a video actually is

Quick history, I promise: in 1878 a photographer named Muybridge lined up cameras along a racetrack, snapped a galloping horse, and proved motion is just still pictures.

Ten years later came the oldest surviving film: two seconds of people walking around a garden. Humanity invented video and filmed its friends doing nothing. Relatable.

Now, the video file on your phone, an MP4, uses the exact same trick: 30 pictures every second. But 30 full photos a second? That would be enormous. So they need shrinking.

That's the job of a codec: a set of rules for shrinking video, mostly by storing only what changes between pictures. It's also why you look like a potato on video calls.

Then the sound gets added, and both get packed into one file, called the container. Which, honestly, is just a lunchbox for video.

The whole recipe: Claude writes a script, a voice reads it, SVG draws it, a browser records it, FFmpeg glues it, AI adds footage, and Claude checks it.

Step 1: the script

Step one: the words. Claude writes short lines, each with a caption and an emotion tag telling the voice how to feel. More emotional guidance than most of us got growing up.

Fun fact: text-to-speech reads MP4 like a café Wi-Fi password, so the spoken script spells it out, letter by letter, like you're on the phone with your grandma.

Step 2: the voice

Step two: the voice, before any animation. Claude calls a text-to-speech tool through MCP, basically a switchboard that lets an AI plug into other apps.

It sends one line at a time and gets one audio file back for each. Then a tiny script measures every clip and writes down when each line starts. Boring? Yes. Important? Yes.

Each line costs a fraction of a cent. That's cheaper than a voice actor, and it never, ever asks for one more take... with feeling.

The clever bit: those start times become the clock for the whole video. A sentence that takes 4 seconds to say gets exactly 4 seconds of animation. The voice leads.

Step 3: drawing with code

Step three: the pictures. Claude doesn't paint pixels: it writes SVG, a picture described in plain text, like describing your ex to a police sketch artist. Tall. Red. Round.

Think of a cake. A JPEG is a photo of the cake: zoom in and it gets blurry. SVG is the recipe: bake it at any size and it's always sharp. And now I'm hungry.

So a circle is literally one line of text: circle, x 200, y 300, radius 40. And the browser bakes it into a picture. That's it. That's the whole magic trick.

One strict rule: every frame must be drawable from the clock alone, like a flipbook you can open at any page, where page 372 always shows the same drawing.

Want a line to draw itself? It's already there, hidden behind a curtain, and when you slide the curtain away, it looks like someone is drawing it live.

Is that cheating? Absolutely. And it's how every single line in this video appeared.

Step 4: recording, sort of

Step four: recording. So Claude just hits record, right? Nope. Not even close.

Because screen recording is like filming a concert on your phone. If your phone lags for even a second, that moment is gone forever. And so is your dignity.

So instead, Claude does stop-motion. Like a clay animator: pose the scene, snap one photo, nudge it, snap again. Very patient. Very slightly unhinged.

The camera is headless Chrome: a real browser, just with no window. A tiny script tells it: jump to this moment, take the photo, save it. Over, and over, and over.

That's 30 photos for every second of video, so a 7-minute video needs about 12,000 of them. And honestly? They're more interesting than your vacation photos.

Fun fact: 30 frames per second is exactly what GTA 6 gets on a PS5 Pro. Except we chose this.

Step 5: ffmpeg

Step five is the glue: a free program called FFmpeg, started back in 2000 by a French programmer named Fabrice Bellard. And, I'm not kidding, it has literally been to Mars.

NASA's Perseverance rover used it to process its landing video. And your side project? Has not been to Mars.

It's such a big deal that Lex Fridman did a whole episode on it this year, with VLC's lead developer, and the engineer behind FFmpeg's famously spicy X account.

People call it a Swiss Army knife. Which is true, if the knife had a few hundred blades, and every blade was a setting you have to google. Every. Single. Time.

One command takes 12,000 pictures plus the voice track, unpacks them, cleans them up, squeezes them with the codec, and packs it all into one MP4. One command!

GTA 6 is a 212 GB download, while this whole video is a few hundred megabytes, at most. So yeah, thank the codec.

Pro tip: forget -y ("yes, overwrite the file") and FFmpeg politely asks for permission. Then it waits. Forever. And your agent just sits there, waiting with it.

Step 6: generated footage

Step six: some shots aren't drawn. The footage came from Higgsfield, an AI video generator: send a prompt, get a ticket, keep asking if it's ready. Like a burger place.

The catch? It has zero memory between clips. So the same prompt, twice, gives you two completely different cars. Cool. Cool cool cool.

And AI models expire. Remember Sora? OpenAI switched it off for other apps in September, so a setup built on one model can become a museum piece overnight. RIP.

Step 7: checking without eyes

The last step is checking the result, which is tricky when you can't press play. So Claude lays frames out in a grid, like a contact sheet, and looks at it as one image.

Each full HD frame costs about 2,700 tokens, which is basically the AI's reading budget, so it only skims. And anything that happens between two samples? Never happened.

And when every command reports success, an agent will happily tell you it's done. Even if the server room is on fire. This is fine.

Then a human watches it. Version one: too fast. Version two: too long. Hi. I'm version three. Be nice.

In short

So that's it: words, a voice, SVG drawings, a headless browser taking 12,000 selfies, and FFmpeg gluing it all together.

Text goes in, and an MP4 comes out. Claude still hasn't watched this video, but you have. So, congratulations! You're now its unpaid quality control department.

Now go play GTA 6. Because, let's be honest, you were never going to finish that side project anyway. Thanks for watching!