All tutorials

How to Edit Videos with Claude Code: Talking-Head Footage

There are two ways to edit videos with Claude Code. Connect Pireel and it cleans up the whole recording, or install an editing style and get one finished short from a sentence. Here is what to type at each step, how long it took us and what it cost.

You can edit videos with Claude Code in two ways. If you need the whole recording, connect Pireel: Claude cuts the retakes, tightens the pauses and adds captions, and every change sits in a project you can open and check. If you want one designed short out of a long recording, install an editing style: you type a sentence, and Claude takes it from picking the passage to the export, on your computer.

Neither needs any code from you. Below is what to type at each step, and how long it took when we cut a video ourselves.

What Claude Code can do on its own

Claude Code can run ffmpeg on your computer. Trimming by timestamp, joining clips and converting formats all work.

Talking-head footage is harder for another reason. Claude cannot hear what you said, cannot tell which take is the retake, and cannot see whether the result looks right. So it needs two things: a transcript with timings, and a way to check its work. Each route below gives it both.

Which route to use

Connect PireelInstall an editing style
What you getAn edited project you can keep changing, then exportA finished MP4 with captions, music and sound effects
Best forA recording you will post in full, or a long one split into several shortsThe best passage of a long recording, made into one designed short
How you check itOpen the project in Pireel and see every changeWatch the video, then read the list Claude gives you to confirm
Where the video goesUploaded to your Pireel project, up to 2 GB a fileStays on your computer; only the sound is sent for the transcript
What you needA Pireel accountA Pireel account, ffmpeg and Google Chrome

If you are unsure, start with the first. A cut you disagree with can be put back, one at a time.

Route 1: connect Pireel and clean up the whole recording

1. Ask Claude Code to connect

Paste this into Claude Code:

Read https://pireel.com/connect-agent.md, connect Pireel, and start a new video editing project.

Claude reads the guide, sets up what it needs, and opens your browser so you can sign in to Pireel and approve access. There is no API key to copy.

If you would rather do it by hand, these two lines in a terminal do the same:

claude mcp add --transport http pireel https://pireel.com/api/studio/mcp
claude mcp login pireel

2. Name the file, the result and what must stay

Import ~/Videos/take-03.mp4 and clean it up: remove retakes, filler words and long pauses, but keep my meaning.

Claude imports the video into the project, makes the cuts and tells you what it changed.

3. Open the project and check

Open the project at pireel.com, then open Caption transcript. The words Claude removed are marked. If a cut is wrong, click those words and choose Restore everything cut here. Or tell Claude:

Keep the first "today I'll cover three methods" and delete the second time I say it.

Quoting your own words works better than giving a timestamp. Listen to the first 30 seconds twice. You are still warming up there, and that is where most retakes are.

4. Keep asking, then export

With the project open, go one request at a time:

Highlight the key words in the captions.

Find four shorts in this interview that make sense on their own, and make a 9:16 version of each with captions.

Export a 1080p MP4.

To see the plan first, ask Claude to "read the current timeline and explain every edit before changing anything."

Checking frames and exporting need the project open in your browser. Changes to cuts and captions go through with it closed.

Route 2: install an editing style and get a finished short

1. Pick a style and install it

Open Claude video editing skills, open a style, click Copy install line and paste it into Claude Code. It installs itself. The first time, you also need ffmpeg and Google Chrome, and Claude sets them up with you.

Not sure which one? Use Motion graphics when you explain how something works, Bold type for a strong opinion, and Whiteboard for a framework. These three 6-second clips were cut from the same 11-and-a-half-minute startup talk, one in each style:

2. Ask in one sentence

Cut ~/Movies/explainer.mov into a motion-graphics TikTok.

3. Answer its questions

Before it starts, Claude asks what it needs to know: where you post, how long the video should be, and which style.

4. Get the video and a list to confirm

Claude picks the passage, cuts it, designs the graphics, mixes the sound and then watches its own export. You get an MP4 and a list of things to confirm: the names, numbers and sources that appear on screen.

This short was made that way. The talk runs 11 and a half minutes, we typed "cut this into a motion-graphics TikTok," nobody stepped in, and the short came back at 53 seconds:

If something is off, say so: "open on the second line instead," or "that number should be 30%." Claude makes the change and exports again.

How long it takes and what it costs

We cut that talk three times with Route 2:

TimeCost at API list prices
Claude Fable 5.2 at Medium, the default12 minutesAbout $4.60
Claude Opus 5.530 minutesAbout $6
Claude Fable 5.2 at High35 minutesAbout $17

The three shorts are nearly the same video, so the default effort is enough. We cut it once with each, so take the numbers as rough. On a Claude subscription you pay none of this, and the edit counts against your usage. All three shorts are in Fable 5.2 vs Opus 5.5 for video editing.

On the Pireel side, both routes use credits for the transcript, by the length of your video, and new accounts get free credits. The styles are free, and so are the music, sound effects and stock footage. Styles that generate images, such as Sticker collage and Cartoon, use more credits, and Claude asks for your budget before it generates anything.

If something goes wrong

What happensWhat to do
Claude says Studio is not openOpen your project at pireel.com and ask again. Checking frames and exporting need it open
Your file is over 2 GBAsk Claude to compress it with ffmpeg before importing. Or use Route 2, where the video is not uploaded
You are in the Claude desktop appYou can connect Pireel in the connector settings. Importing a file from your computer needs Claude Code
A name or number on screen is wrongNames are sometimes misheard. Go through the list to confirm and give Claude the right spelling
You run short of Fable on a subscriptionOn Pro plans and standard Team seats, Fable can use half of your weekly usage. Type /model and switch to Opus 5.5

If you have not connected yet, start at Claude Code video editing. If you would rather delete words from a transcript yourself, see text-based editing vs AI agent editing.

Frequently asked questions

Can Claude Code edit videos?

Yes. On its own it can trim and join files with ffmpeg. For talking-head footage it also needs a timed transcript and a way to check the result, which it gets when you connect Pireel or install an editing style.

Do I need to write code to edit videos with Claude Code?

No. You install and edit by telling Claude what you want in a sentence, and it runs the commands it needs.

How long does Claude Code take to edit a video?

We had it cut an 11-and-a-half-minute talk into a 53-second short. Claude Fable 5.2 at its default effort took 12 minutes and Opus 5.5 took 30. We cut it once with each, so take that as rough.

Is my video uploaded?

It depends on the route. When you connect Pireel, the video is uploaded to your Pireel project. With an editing style, only the sound goes to Pireel for the transcript, and the picture and the finished file stay on your computer.

Does this work in Codex too?

Yes. Both routes work in OpenAI Codex, and you ask for the edit in the same words.