How to set up Claude Code to edit videos with AI

You will turn a folder on your computer into a working video editor using Claude Code, then edit a clip with two plain English prompts. It suits anyone who wants cuts, captions and titles without learning a timeline editor. You need the Claude desktop app, Node.js 22 or newer, and one raw clip.

YouTube video: How to Edit Videos with Claude (2-Minute Tutorial)

Caption availability is unknown. Check the CC control in the YouTube player.

Video length
2 min 19 s
Time to do it
20 minutes
Difficulty
Easy
Steps
7

What you need

Steps

  1. Make a folder called AI Video Editor. Inside it, create two folders: Raw clips for your source footage and Finished edits for the exports.

  2. Open the Claude desktop app, switch to the Code tab, and open your AI Video Editor folder so Claude can read and write files there.

  3. Paste the setup prompt. Ask Claude to give itself Whisper (whisper.cpp), FFmpeg, HyperFrames from heygen-com/hyperframes, and Node.js 22 or newer, and to install anything missing.

  4. Add that raw videos go in Raw clips and finished videos go in Finished edits. Ask Claude to run a quick test and tell you when it passes.

  5. Say yes when Claude asks before installing anything. Wait for the confirmation that the test worked before you add footage.

  6. Drop one clip into Raw clips. Paste the edit prompt: cut the silences and mistakes, add captions, put a title at the start, save it in Finished edits.

  7. Watch the export in Finished edits. If the cuts or captions are off, describe the change in plain English and Claude edits it again.

Tips and common mistakes

Start with one short clip so you can check the cuts and captions before running a longer video.

Name the folders exactly Raw clips and Finished edits, because the prompt points Claude to those names.

If an install fails, paste the error message back into the chat and ask Claude to fix it.

Keep a copy of your original footage in a separate place so you always have a clean source.

Questions

Do I need to know how to code?

No. You paste two prompts written in plain English and answer yes to the installs. Claude runs the commands and reports back.

Are the editing tools paid?

The four tools named in the prompt are free and open source. You still need the Claude desktop app with Code mode and your own account.

What if the captions come out wrong?

Captions are built from Whisper's transcript of your speech, so tell Claude which words are wrong and ask it to redo them. A cleaner audio track gives better results.

The notes are drafted automatically from video details and general task knowledge. How the guide was prepared

Report a correction

More in Apps & Software

See all