Your first motion graphic with Claude Code and Remotion, step by step
You have never used Remotion and want a 10 second animated title out of Claude Code today
# First motion graphic with Claude Code + Remotion
## Step 1. Set up (once, in a terminal)
You need Node.js and Claude Code installed. Then:
npx create-video --yes --blank my-video
cd my-video
npx remotion skills add
npm run dev
Leave that terminal open. Remotion Studio opens in your browser.
Optional: Remotion also ships an official Claude Code plugin, see remotion.dev/docs/ai/claude-code-plugin
## Step 2. Start Claude Code in a second terminal
cd my-video
claude
## Step 3. Paste this first prompt
Make a 10 second, 1920x1080, 30 fps composition called TitleCard.
Beats:
1. Frames 0 to 20: a thin line draws from left to right in the center.
2. Frames 15 to 40: the title "YOUR TITLE HERE" rises 30 px into place and fades in, with a spring, no bounce.
3. Frames 40 to 70: a subtitle "Your subtitle" fades in under it.
4. Frames 70 to 270: hold, with a very slow 2% scale up on everything.
5. Frames 270 to 300: everything fades out together.
Use a warm off white background, near black text and one accent color.
Make the title, subtitle, colors and durations props with defaults so I can edit them in Studio.
Before writing code, list the beats back to me with frame numbers.
## Step 4. Iterate in small steps
Good follow ups, one at a time:
- "The title feels slow. Make the rise take 14 frames instead."
- "Add a 9:16 version called TitleCardVertical that reuses the same component."
- "Swap the font for a free Google font that feels editorial, and load it properly."
## Step 5. Render
npx remotion render TitleCard out/title.mp4
Then drop the MP4 into Premiere, Resolve, Final Cut or CapCut like any other clip.
Before you run it Fill in anything in [brackets]. If it edits a project, use a duplicate and read the agent's plan before you say go
Sources and credit
- Remotion, Prompting videos with coding agentsSetup commands in step 1
- Remotion, Claude Code pluginPlugin install alternative
The prompt text is written by AgentCut. These sources informed it and are worth reading in full
More in Claude Code for editing
- Connect Claude Code to DaVinci Resolve, step by stepYou want Claude Code to read and edit your Resolve timeline and need a safe first session
- Claude Motion prompt for a 30 second explainerYou are on a Claude Team or Enterprise plan and want an animated explainer from your own script, numbers or…
- Claude Code skill: /cut-silencesYou record talking head videos and want one command that finds the pauses, shows you the cut list, and…
The AgentCut weekly
New AI connectors for After Effects, Premiere, Resolve and CapCut, tested setup notes, and what broke after app updates. One email a week