Cover: Edit Any Video with Claude Code.
A Setup Guide · 2026-04-26

Edit any video with Claude Code.

The 3-step setup behind the video — plus the one gotcha that sends everyone back to Final Cut after 90 seconds. Install path, edge cases, and a free-prompts showcase to copy from.

Read time 8 min
Setup time 10–15 min
Skill level Beginner
What's inside

Ten sections. Three steps.

The setup I wish I'd had the first time I wired Remotion up to Claude. Every command verified; every gotcha named. First paste to working render is about ten minutes.

3
Steps to your first AI-edited render

Install Claude. Install the Remotion skill. Point it at a clip. Ten to fifteen minutes from terminal to finished MP4.

You've probably just watched a 35-second clip explaining that Claude killed video editors. The clip is short on purpose — this is the long version. The actual setup, the edge cases, and the one gotcha that sends most people back to Final Cut after 90 seconds. Read it once, follow it once, and you'll never timeline-edit by hand again. Estimated read: 8 minutes. Estimated time to your first AI-edited render: 10–15 minutes.

What you'll have at the end

  • Claude Code installed and signed in (desktop app or terminal — your call).
  • The Remotion skill/MCP wired up so Claude can write video timelines on demand.
  • A project folder where dropping a clip and one sentence produces a finished MP4.
  • A workflow loop that takes minutes, not hours, per revision.

Total time to set up: ~10 minutes if Node is already installed, ~15 if it isn't.

Before you start

You need exactly four things. Anything else this guide tells you to install, you'll install along the way.

RequirementWhat forHow to check
Node.js 20+The Remotion CLI runs on Nodenode -v should print v20.x or higher
A terminalWhere you'll run Claude CodeTerminal.app, iTerm2, Windows Terminal — any TTY
A Claude accountAPI access for Claude CodeSign up at claude.ai if you don't have one
A folder of footageThe video you want editedAnywhere on disk; we'll point Claude at it

If node -v errors out, install via nvm — don't use the system installer, you'll want to switch versions later.

Read this first

In the desktop app, don't paste the npx command.

The one rule: In the Claude desktop app, never paste the npx command from the Remotion site. Describe the install in plain English instead and let Claude handle it. (In Claude Code in a terminal, pasting is fine — the terminal can drive the interactive wizard.)

Visit remotion.dev and you'll see the install command shown right on the page — something like npx create-video@latest. It's tempting to copy that straight into Claude's chat in the desktop app. Don't.

That command is interactive. It expects you to answer questions with arrow keys — what to name your video, which template to use. Pasted into the desktop app's chat, this stalls silently. The sandboxed shell underneath is waiting for keystrokes that will never arrive — and the app's chat has no way to send them.

The fix: ask, don't paste

Instead of the raw command, type a sentence:

Install Remotion and scaffold a portrait video project here.
Use the TypeScript template.

Claude runs the install on your behalf, drives the wizard, picks the template, and waits out npm install. You walk away for two minutes and come back to a working folder. This is the path the video shows.

Power-user note — if you're running Claude Code in your terminal instead of the desktop app, this rule doesn't apply — your terminal can drive the interactive wizard, so pasting the npx command works. Either way, the safest approach is to describe the install and let Claude pick the right path.

Step 01 — Install Claude

One download. Same on Mac and Windows.

  1. Go to claude.ai/download in any browser.
  2. Download the Claude desktop app for your OS — Mac or Windows. Run the installer.
  3. Open the app and sign in with your Claude account. (If you don't have one yet, sign up at claude.ai first — it takes 30 seconds.)

You're done when the app opens to a chat window. That's where the next two steps happen.

For power users — if you'd rather use Claude Code in your terminal, install via curl -fsSL https://claude.ai/install.sh | bash on macOS / Linux. Then run claude to sign in. The rest of this guide works in either interface.

Step 02 — Install the Remotion skill/MCP

Don't go to remotion.dev. Just ask Claude.

A. Open Claude (the app, or terminal) and start a new chat. Pick a fresh chat so Claude has a clean working context.

B. Tell Claude what you want. One sentence does it:

Install Remotion's skill/MCP for me, then scaffold a new portrait
video project in a folder called my-first-video. Use the
TypeScript template.

Claude will create the folder, install the Remotion skill, run the install wizard, pick the TypeScript template, and finish with npm install. Walk away for two minutes.

C. Verify it worked. Ask Claude to show you what landed: "Show me what's in the my-first-video folder." You should see roughly:

package.json    remotion.config.ts    src/    public/    node_modules/

If you see those five things, you're in business. If you don't, ask Claude what went wrong — the answer is almost always "an npm step failed; let me retry."

The gotcha — don't paste. If you visit remotion.dev, you'll see the npx install command sitting right on the page. In the desktop app, don't copy-paste it into chat. npx create-video@latest is interactive, and the app's chat can't drive arrow keys. Describe the install instead — Claude will run it correctly.

Step 03 — Edit your first video

Now the part that actually feels like magic.

A. Drop your footage into the project's public/ folder. Open the project folder in Finder (or Explorer on Windows) and drag your video file into the public/ folder. That's it. If you'd rather use the terminal:

cp ~/Downloads/raw-clip.mp4 my-first-video/public/raw-clip.mp4

public/ is special: anything in there can be referenced by Remotion at render time.

B. In your Claude Code session, describe the edit. Be specific:

I have a video at public/raw-clip.mp4. Cut out every filler word
("um", "uh"), trim any pause longer than 0.6 seconds, and add
word-by-word captions. Render to final.mp4 at 1080x1920 portrait.

Claude will probe the video for duration and resolution, generate a transcript, write the Remotion timeline as TypeScript in src/Composition.tsx, run npx remotion render, and hand you back final.mp4 — usually in 1–3 minutes. The first render is always the slowest because it has to bundle; subsequent renders cache.

Tip — be specific about the output. "Cut filler words" is vague; "remove every 'um' and 'uh' but keep all 'like' uses" is actionable. The more concrete the description, the less iteration.

C. Iterate. This is where the workflow flexes. From the same session:

The captions are too small. Double the font size.
The first cut at 0:14 should actually be at 0:18.
Add a slow-mo from 0:32 to 0:36, half-speed.
Re-render at 60 fps.

Each prompt is seconds, not minutes. Claude edits the timeline file and re-runs the render. This is the loop that kills traditional editing — not because the AI is smarter than a human editor, but because the iteration cost drops to near zero.

Tips & tricks

A handful of things you'll wish you knew on day one.

TrickWhy it works
Keep raw footage outside public/ until you actually use it.public/ files get bundled into every preview, slowing startup.
Render previews at 30 fps before going to 60.4× faster iteration; bump only the final pass.
Ask Claude to leave inline TSX comments explaining each scene's intent.Next time you edit, Claude reads its own notes and skips re-deriving context.
git init on day one — each Claude edit becomes a commit.Lets you say "go back to two prompts ago" with surgical precision.
For clips longer than 10 minutes, ask Claude to chunk first.Monolithic renders OOM; chunked renders are faster and concatenate cleanly.
Bake captions early, not last.Captions inform pacing decisions; adding them last means re-cutting.
Use the --concurrency=4 render flag.Most modern Macs render 3–4× faster with parallel encoding.
Drop a CLAUDE.md in the project root.Claude reads it on every session — encode preferences once.

Free prompts — the Showcase

Remotion publishes a Prompt Showcase — community-built timelines you can clone with one click. Each card has a small Claude icon; click it and the prompt is handed to Claude Code directly — no copy-paste, no manual translation. From inside Claude Code you can also ask:

Open the Remotion showcase. Find the "News article highlight" prompt.
Adapt it to use my footage at public/launch.mp4.

Personal favorites:

  • News article headline highlight — for any clip where you're reacting to a news story.
  • Travel Route on Map with 3D landmarks — for trip recaps; auto-generates the line + city pins.
  • Rocket Launches Timeline — looks ridiculous on portrait video; data-viz that actually pops.

Each is a starting point. Claude will adapt them.

Common gotchas

"Module not found: remotion" — you launched claude from the wrong directory. cd into the project folder first, then run claude.

"Cannot find module 'esbuild'"npm install didn't finish. Run npm install in the project root manually, then resume.

Claude says "I can't run that command" — the command is interactive. Don't paste it — describe what you want and let Claude handle the install. If the app keeps refusing, switch to Claude Code in your terminal.

Renders come out silent — two usual suspects: the audio file isn't under public/ (staticFile() only sees public/-relative paths), or you wrapped the audio in a <Sequence from={...}> that starts after the clip ends.

The timeline drifts after a re-cut — you spliced audio without shifting downstream scene timings. Every audio splice changes the timeline by Δ; every scene's start time past the splice needs . Claude will do this automatically if you ask.

The render freezes on the last frame — source video is shorter than the scene. Either the playback rate is too fast, or startFrom is too late. Lower one of the three.

What to learn next

Once the loop above feels comfortable, three directions to expand.

  1. Custom scene templates. Write a typing-animation or stat-card template once, reuse it across videos.
  2. Voice-over + synced captions. Pre-record narration with ElevenLabs, get word-level timestamps, sync captions, layer music underneath.
  3. Multi-clip masonry layouts. Collage four prior renders in a 2×2 grid for "look what I shipped this week" beats.

That's the whole loop. Drop a clip, write a sentence, render. Iterate in seconds. Now go cut something.

FAQ

Common questions.

Can Claude Code actually edit video?

Yes. With the Remotion skill/MCP installed, Claude Code writes the video timeline as TypeScript and runs the render. You drop a clip into the project's public/ folder, describe the edit in plain English, and Claude returns a finished MP4 — usually in 1 to 3 minutes.

Why shouldn't I paste the Remotion npx command into the Claude desktop app?

The npx create-video command is interactive — it expects arrow-key answers. Pasted into the desktop app's chat it stalls silently, because the sandboxed shell is waiting for keystrokes the chat can't send. Describe the install in plain English instead. Pasting is fine in Claude Code in a terminal.

What do I need to edit video with Claude Code?

Four things: Node.js 20 or newer, a terminal, a Claude account, and a folder of footage. Total setup time is about 10 minutes if Node is already installed, about 15 if it isn't.

Why does my Claude Code render come out silent?

Two usual causes: the audio file isn't under the public/ folder, so staticFile() can't see it; or the audio is wrapped in a Sequence that starts after the clip ends. Move the audio into public/ and check the Sequence start time.

How fast is iterating on an edit with Claude Code?

Each revision is seconds, not minutes. From the same session you describe a change — bigger captions, a different cut point, a slow-mo section — and Claude edits the timeline file and re-renders. The first render is slowest because it bundles; subsequent renders cache.

Get the guide

Keep the full reference.

The same guide as a printable PDF — install path, the tips table, the free-prompts showcase, and every gotcha in one file.