mind.extractor

How to Make Videos With Claude (Animation as Code)

What it solvesClaude makes a video with code, no separate video generator needed.

GuideVideo and graphicsUpdated November 13, 2026

Claude has no video generator. It still makes videos, because it doesn't draw frames: it writes animation as code: a program that draws every frame and sound. That gives you sharp graphics without the AI blur, and edits in one sentence: change the third scene and leave the rest alone.

Good for explainers, intros, and animated diagrams for a post or a presentation.

What you need first

  • A Claude account: claude.ai in the browser or the desktop app.
  • File creation turned on. The video opens as an artifact, a separate window next to the chat, and artifacts work only with the Cloud code execution and file creation setting on (in the new menu it's called Create and edit files). On personal plans it's in Settings → Capabilities; on Team and Enterprise the owner turns it on in Organization settings → Capabilities. Details in the artifacts help article.
  • A sample: the code of a video you already like. More on that below.

Step 1. Give it a sample as code

This is the main trick. Send a reference video, and Claude won't watch it as a video; it breaks it into frames, and half the style gets lost. Give it the code of a good video, and it repeats the style and changes only the content.

Where to get code:

  • your last good video from Claude: open the artifact and copy the code;
  • any HTML/JavaScript animation example you like.

Step 2. The topic in one sentence

Prompt
Here is the code of a video whose style I like: [paste code].
In the same style, make a 20-second animated explainer: how noise-cancelling headphones work.
One idea per scene, little text on screen.
Show me the storyboard first, the key scenes as pictures. Don't write the video code yet.

Step 3. Storyboard first

Don't skip it. Fixing a storyboard is cheaper than fixing a finished clip: you change the order and meaning of scenes before the video exists. When the storyboard works for you:

Prompt
Storyboard is fine. Build the video with sound effects.

The finished clip opens next to the chat.

Step 4. Targeted edits

The video is code, so you edit a piece and leave the rest:

Prompt
Make the background darker and speed up the third scene. Leave everything else as it is.

Exactly that changes. No regenerating and hoping the good scenes survive.

Step 5. Found a style? Save it

Got a video you want to repeat? Save its code. That's your sample for next time. A new topic in the same style means going back to step 2.

On Team or Enterprise: Claude Motion

Anthropic has a ready-made feature for this: Claude Motion. It's in beta and only on Team and Enterprise plans: on Team it's on by default, on Enterprise it's off, and the owner turns it on in Organization settings → Artifacts.

How to start:

  1. In any chat, ask for an animation, or click Output in the message box and choose Motion.
  2. Or in the Artifacts tab, pick a Motion template and describe what you need.
  3. Say right away who will watch it, where it will be shown and roughly how many seconds. Attach a report, data or images.
  4. Edit in chat or yourself in the editor.
  5. Done? Click Export to get an MP4 file.

Motion doesn't use a video model, so it can't make realistic people or footage, only animation. Official guide: Get started with Claude Motion.

Common mistakes

  • Sending a video instead of code. The style gets lost. You need the sample's code.
  • Skipping the storyboard. Then you redo a whole clip instead of a couple of pictures.
  • A long video right away. Start with 15–20 seconds: you save usage limits and edits are easier.
  • An edit without "leave everything else". Add that phrase so only what you asked for changes.

What it costs

The sample method works on any plan where you have artifacts. Plan prices are at claude.com/pricing. Claude Motion is Team and Enterprise only, and every animation uses your plan's limits: the longer and more complex the video, the faster they go.

more in video and graphicsall solutions →
free express audit
Find the leak

I build these setups for my own marketing work. If you want them wired into your sales and ads, start with a free express audit.