AI video · Guide + kit

Make these 9 effects in your videos with Claude Code.

I recorded a video and asked Opus 5.5 for nine effects without opening a single editor. Here's everything you need to do it with yours: what to install, how to set it up, how to record, the prompt for each effect with the technique that worked and what to ask for when something doesn't come out right.

Screenshots and videos are in Spanish; the steps are the same.

9 effects
Done on a computer
Claude Code, Pro plan or higher
My first version: 3 h 11 min of agent time and $54.39 at API prices
#1 headline wall#2 zoom#3 spotlight#4 the list#5 layers#6 rewind#7 orbit#8 freeze and label#9 before and after
Before you start: this isn't a button. Your Claude Code makes the effects on your video following these prompts, and you review at every phase. Each effect comes with the specific technique that worked after several rounds: with just the effect's name, it comes out generic.

The kit

The CLAUDE.md template, the script, the master prompt and the nine prompts, in files ready for your folder.

Download the kit (.zip)

01

What you need

The tools I used, how to install them and what they cost.

⌄

I used all of this for the video. Below you'll find the commands together, ready to copy, and at the end, alternatives I didn't use that might suit you better.

ToolWhat forHow to install itCostDid I use it?
Claude CodeThe agent that edits: it cuts, composes, renders and reviews.curl -fsSL https://claude.ai/install.sh | bash (Windows: irm https://claude.ai/install.ps1 | iex)Pro plan or higherYes
Opus 5.5 on xhigh effortThe model and how much it thinks before acting.Inside Claude Code: /model opus and /effort xhighIncluded in the planYes
Node.jsRemotion and Playwright need it.nodejs.org, the LTS versionFreeYes
ffmpegCutting, converting, pulling out frames to review.Mac: brew install ffmpeg · Windows: ffmpeg.orgFreeYes
RemotionComposing the video with code: each effect is a component.npx create-video@latest --yes --blank my-videoFree for individuals and companies of up to 3 people; bigger ones need a company licenseYes
@remotion/motion-blurThe zoom's motion blur.npx remotion add @remotion/motion-blurFree (Remotion license)Yes
RobustVideoMattingCutting you out of the background without a green screen (layers, orbit, wall, and measuring where your face is).Python + PyTorch; it loads with torch.hub from its GitHub repositoryFree, GPL-3.0 licenseYes
mlx-whisperTranscribing with the timing of every word (subtitles and anchoring each effect).pip install mlx-whisper in a virtual environment. Apple Silicon Macs onlyFreeYes
PlaywrightCapturing real headlines at phone size (#1).npm i -D playwright and npx playwright install chromiumFreeYes
Nano Banana 2 (Gemini 3.1 Flash Image)Erasing you from a frame for the layers background (#5).A Gemini API key from Google AI Studio, as an environment variableAbout $0.067 per 1K image. If you record 3 s of empty shot, you don't need itYes
Without an Apple Silicon Mac: almost everything works the same. Change the transcription (use whisper.cpp instead of mlx-whisper, below in the alternatives), and the RobustVideoMatting cut-out runs much faster with an NVIDIA graphics card; without one it works, but takes quite a bit longer.
02

What you can do with what you have

What each effect needs and what to do if you're missing it.

⌄
EffectNeedsIf you don't have it
#1 wallYour cut-out and screenshots of headlinesPut the cards only in front of you, at the sides of your face.
#2 zoomRecording in 4KIn 1080p, keep the punches under 1.5x.
#3 spotlightNothing else·
#4 the listNothing else·
#5 layersYour cut-out and a background without youRecord 3 s of empty shot at the start: it's free and better than generating it.
#6 rewindRecording the mistake on purposeWithout the mistake on tape there's no effect.
#7 orbitYour cut-out and about 6 of your clipsUse screenshots or photos instead of videos.
#8 freezeThe official logos of what you're labelingLabel with text only.
#9 before and afterThe raw footage·
03

The setup

The project's CLAUDE.md, the model and the effort.

⌄

Claude Code reads the folder's CLAUDE.md before doing anything. It's where the rules that apply to the whole video go, so you don't repeat them in every prompt. This is the template, with everything this video taught me the hard way. Change what's between square brackets.

CLAUDE.md
# Video editing with Claude Code · project rules

Format: vertical 1080x1920, at the raw footage's fps ([60]), for [TikTok and Instagram], in [English].

## What never gets done
- Don't touch the raw footage: always work on copies.
- Don't install anything globally: everything inside this folder or in a virtual environment, and noted in INFORME.md.
  If something is paid or needs an account, ask me first.
- Don't call anything finished without having looked at it. You don't see the video: you see frames. Before showing me any effect,
  pull out single frames from its exact moment (and a contact sheet at 10 fps if there's movement) and look at them.

## My face
- Everything that goes near me is placed by measuring where my head is IN EVERY FRAME (with the alpha of the
  RobustVideoMatting cut-out: top of the hair, center and width), never by eye. Nothing covers my eyes unless the effect calls for it.

## Areas to keep clear (my measurements in 1080x1920, not official: check them against a screenshot of your app)
- Nothing important above y=130 or below y=1460: that's where the app's text goes.
- The column of buttons on the right: nothing to the right of x=950 below y=960.
- The subtitle band (y from 1290 to 1400, x from 140 to 940) is for the subtitle only.

## Subtitles
- 1 to 3 words, burned in, at the bottom, with the timing of each word (Whisper with word-level timestamps).
- If the transcription brings a word forward or late, the audio level wins: the caption comes in when the voice sounds.

## Finishing the master
- The audio, aligned with the image: measure it against the voice track and fix it if it's shifted.
- Loudness at -14 LUFS.
- The color tag has to tell the truth: if the render converts with the bt601 matrix, the file says
  smpte170m (no re-encoding, just the tag).
- If there's fine text, encode at high quality and check it on a short render before the full one.

## How we work
- In phases. In each one you show me what's done and wait for my OK.
- I ask you for specific changes ("bring it in 3 frames earlier", "smaller"), not "make it better".

Model and effort

I used Opus 5.5 on xhigh effort: /model opus and /effort xhigh inside Claude Code. On medium it edits too, but with less detail and less self-correction.

The folder

One folder per video with the raw footage, CLAUDE.md, script.md, logos/ and my-videos/. Open Claude Code inside it.

The rule that changes the result most: Claude doesn't see the video, it sees single frames and numbers. The quality comes when you ask it to look at its own frames before showing you anything, and when you give it the effect's technique and not just its name.
04

Record with the effects in mind

The template script and how to record so every effect has its place.

⌄
  • Vertical, on a tripod and, if you can, in 4K. The camera doesn't move for the whole clip. The 4K is for the zoom.
  • Start with 3 seconds of empty shot, without you. It's the layers background, for free.
  • After each line that triggers an effect, hold, looking at the camera. That silence is where the effect shines. If you look at your notes, that bit is no use.
  • A lavalier mic and light from the front.
  • For the rewind, get it wrong on purpose and then say the line properly.

The script I used, as a template. Change whatever you like: what matters is that each effect has a line that triggers it and a hold.

EffectWhat you sayWhat you do
#1 headline wallLet's see what [model] can do editing video. To find out, we're going to ask it for nine effects.Looking at the camera. It's the hook: the headlines are there from the first frame.
#2 zoomThis is the zoom.Hold still for 2 seconds looking at the camera: that's where the zoom punches go.
#3 spotlightIf you want to add drama to a line, turn off the light.Hold for 1 second after “light”.
#4 the listTo use it you only need three things: record yourself, send it the video and tell it what you want.Count on your fingers. A short pause between each thing.
#5 layersIt can also split me into layers.Hold still for 1.5 seconds: the sheets open during that hold.
#6 rewindOr make my videos sp... spi... (you trip over it). And if I get it wrong... rewind.The mistake is on purpose. After “rewind”, say the whole line properly.
#7 orbitOr make my videos spin around my head.Point at your head. Hold for 1.5 seconds.
#8 freeze and labelIt can also freeze the image to put labels on what matters.Still on “freeze”: that frame is the photo. Make sure what you're going to label can be seen clearly.
#9 before and afterThis is what I recorded. And this is what it gave me back.A pause between the two lines.
closingComment [WORD] and I'll send you [what you're offering].Come closer to the camera.
05

The workflow, phase by phase

Six phases, and in each one you review before moving on.

⌄
  1. Rough. Remove silences and false starts, and keep the hold after each effect line. Review here: this is where almost everything gets fixed.
  2. Plan. The list of effects with their exact second and how it's going to do each one. Correct it before it does anything.
  3. Cut-out and measurements. Your RobustVideoMatting cut-out and, from it, where your head is in every frame. It's what stops a graphic landing on your face.
  4. The first effect. It sets the style for the rest. If you're not convinced, now's the moment.
  5. The rest, one by one. Paste each effect's prompt from this guide. Ask for frames before each render.
  6. Checks and master. Clear areas, single frames, audio and color.

Ask for specific changes (“bring it in 3 frames earlier”, “smaller”, “don't cover my mouth”), not “make it better”.

#1

Headline wall

Real press headlines around your head from the first frame, some behind you and some in front.

⌄

Real press headlines around your head from the first frame, some behind you and some in front.

Needs: Your cut-out (RobustVideoMatting) and real screenshots of the headlines (Playwright).
Prompt for effect #1 · headline wall
Effect #1, headline wall, from the first frame until I say "[exit word]".
1. Find [5-7] REAL, recent headlines about [topic], from named outlets. Verify each one on its page (the headline and the date have to be in the HTML) and drop the ones you can't verify. Show me the list with its links before carrying on.
2. Capture each headline with Playwright at phone size (430 px wide, scale 3) and crop each capture to: the outlet's logo, the headline and the date. No ads or menus.
3. Lay out the captures as cards around my head, some BEHIND me (my cut-out goes on top) and others IN FRONT. Measure my head in every frame with the cut-out's alpha: no card covers my eyes or my mouth.
4. Each card's width calculated so the headline's text is at least 28 px in 1080x1920: if it can't be read on a phone, it's no use.
5. They come in staggered with a spring and leave to the sides (never up or down, which is where the app's text is) on "[exit word]".
Show me 3 single frames (at the start, the middle and the exit) before rendering.

If it doesn't work

The cards cover your face. Ask it: “Measure my head in every frame with the cut-out's alpha and move the cards away from that area.”

They can't be read on a phone. Ask it: “Recalculate each card's width so the headline's text is 28 px or more.”

#2

Zoom

A punch-in zoom, like a camera operator: it slams in, follows you, punches a second time and leaves with a blurred whip.

⌄

A punch-in zoom, like a camera operator: it slams in, follows you, punches a second time and leaves with a blurred whip.

Needs: Recording in 4K (at 2x, 1080p looks soft) and the @remotion/motion-blur package.
Prompt for effect #2 · zoom
Effect #2, zoom, on "[word, e.g.: zoom]", during the hold that follows.
Don't do a smooth push-in in one go: do it in PUNCHES, like a camera operator.
1. On the word, slam in to 1.45x in 6 frames (fast curve at the start and soft at the end), keep pushing in slowly, at 0.75 s punch a second time to 2x and keep pushing in slowly until the end of the hold.
2. The camera follows me: center my face (measured from the cut-out's alpha) with a 3-frame delay, and add on top a slow reframe (about 70 px from side to side over the hold, on a soft curve) and a slight handheld pulse that grows with the zoom. Scale just enough so the rotation doesn't leave black corners.
3. If I have the raw footage in 4K, do the zoom on the 4K with the same color as the rest of the video.
4. At the end of the hold, leave with a pull back with motion blur (CameraMotionBlur from @remotion/motion-blur, only on those frames: it's expensive) that lands on the next shot with the same blur for about 8 frames.
5. On top, a camera viewfinder: four white corners that fit my face with a small bounce on each punch and the zoom readout (1.5×, 2.0×) in a monospaced font. Keep it out of the clear areas in CLAUDE.md.
Show me a contact sheet at 10 fps of the whole effect before the render.

If it doesn't work

It's static: it just pushes in. Ask it: “I don't want a ramp: zoom punches, the camera following me with a delay and a slow reframe between punches.”

It looks pixelated. Ask it: “Do the zoom on the 4K raw footage, not on the 1080p.”

#3

Spotlight

The room dims and a warm light stays on you, falling from above your head, like in a film. Subtle, no blacks.

⌄

The room dims and a warm light stays on you, falling from above your head, like in a film. Subtle, no blacks.

Needs: Nothing else. It's the effect that gets ruined most by overdoing it: the trick is that it doesn't look like a drawing.
Prompt for effect #3 · spotlight
Effect #3, spotlight, on "[word, e.g.: light]", until the cut.
Make it look like film lighting, not a blackout or a drawing. DON'T cut out my figure and DON'T draw a cone.
1. Make a light map that MULTIPLIES the whole shot (a layer with "multiply" blending on top of the video):
   - the map's background: a mid bluish gray (for example rgb(92,97,114)), which leaves the whole image at half brightness and with slightly cool shadows, never black;
   - on top, a column of warm light (for example rgb(255,244,226)) falling from a small point, out of frame, right above my head: narrow at the top, a little wider at the height of my hair and a bit below, very blurred (a blur of about 95 px), at full intensity on my head and fading towards my legs;
   - a bit more light on my face, because it's closer to the spotlight than the wall.
2. A trace of the beam in the air, almost invisible (the same column in "screen" blending at 4-5%), and fine film grain on top.
3. The light DOESN'T follow me: a spotlight stays still (use the average position of my head in the cut).
4. The light dims like a dimmer over about 7 frames on the word, and comes back at the cut.
Show me a frame from before, one from right after and one from the middle.

If it doesn't work

It looks like a cartoon. Ask it: “No cones or cut-outs: a light map that multiplies the whole image, with the column very blurred.”

It's too dark. Ask it: “Make the map's background lighter: the room at half brightness, not black.”

#4

The list

A checklist that builds up while you talk: each thing appears when you say it and the previous one gets ticked off.

⌄

A checklist that builds up while you talk: each thing appears when you say it and the previous one gets ticked off.

Needs: Nothing else.
Prompt for effect #4 · the list
Effect #4, the list, from "[line that announces it]" until the cut.
A real checklist widget, not a text note:
1. A light frosted glass card (it blurs what's behind it), with a thin border, a soft shadow and rounded corners. Don't let it cover my face: place it by measuring my head in the cut-out.
2. Header: a small icon, the title "[to use it]", a subtitle "· only [3] things" and a counter on the right (0/3, 1/3...) that gets colored in when it's complete.
3. A thin progress bar that moves forward with a spring every time something gets ticked off.
4. One row per thing, with its round checkbox and a line icon (camera, send, chat...). The slots are there from the start as gray bars; each thing appears on the exact word that names it, with a colored highlighter that paints from left to right; the previous one gets ticked off (a check that draws itself and a small burst of dots) when I say the next one.
5. It drops in with a spring and a slight 3D tilt, and leaves upwards before the cut.
Use the words I say, not the script's: [thing 1], [thing 2], [thing 3].

If it doesn't work

The things don't appear when you say them. Ask it: “Anchor each row to the exact second of its word in the transcription with word-level timestamps.”

It looks like any old note. Ask it: “I want a widget: frosted glass, a counter, a progress bar, icons and checkboxes that get ticked.”

#5

Layers

The shot splits into three 3D sheets: the background without you, you alone on a glass sheet and a text sheet in front.

⌄

The shot splits into three 3D sheets: the background without you, you alone on a glass sheet and a text sheet in front.

Needs: Your cut-out and a background WITHOUT you: record 3 seconds of empty shot at the start (free) or ask Nano Banana 2 for it (paid).
Prompt for effect #5 · layers
Effect #5, layers, on "[word, e.g.: layers]", during the hold.
1. The background without me: use [the first 3 seconds of the raw footage, which are the empty shot / empty-background.png]. If I don't have either, ask me before generating it with Nano Banana 2: it's paid.
2. Three 3D sheets (CSS 3D in Remotion): at the back, the empty background; in the middle, ME, my cut-out on a transparent glass sheet with a colored dashed border; in front, a text sheet with that line's subtitle.
3. On the word: the shot pulls back and turns (about -45° around the vertical axis) and the sheets separate A LOT (about 600 px of depth each), staggered: first the background backwards, then the text forwards. The camera keeps turning slowly while they're open, so the depth shows.
4. Each sheet with a big FLAT tab with its name ("background", "me", "text"), stuck to its corner but not turning with it, so it can be read.
5. Calculate the 3D projection of each sheet's corners (careful: in CSS, scale() doesn't scale depth) and choose the rotation, scale and separation with which edges and tabs stay inside the clear areas in CLAUDE.md for the whole turn.
6. The sheets come back together and return to the flat shot before the cut.

If it doesn't work

You can't tell they're layers. Ask it: “Separate them much more (about 600 px of depth) and staggered, with a flat tab with each sheet's name.”

The names can't be read. Ask it: “Big flat tabs, outside the 3D, placed on each sheet's projected corner.”

#6

Rewind

You get it wrong on purpose, say “rewind” and the video goes back like a VHS tape before you say the line properly.

⌄

You get it wrong on purpose, say “rewind” and the video goes back like a VHS tape before you say the line properly.

Needs: Recording the mistake on purpose (it's in the template script).
Prompt for effect #6 · rewind
Effect #6, rewind. In the recording I get it wrong on purpose ("[the tangled line]"), say "and if I get it wrong... rewind" and repeat the line properly.
1. In the rough, keep the mistake, the "rewind" and, right after, a gap: that's where the mistake section goes BACKWARDS (image and voice; the reversed voice sounds like tape), speeding up and slowing down (cosine curve), from 1 to 1.5 s. Then the good line.
2. On top, a VHS tape look from a few frames before "rewind" until the end of the gap: chromatic aberration (red and blue separated by a few pixels), horizontal lines, a tracking band moving up, a slight horizontal shake, "◀◀ REWIND" at the top and an "SP 00:00:00" counter that runs backwards with the time of the frame on screen.
3. A hard cut when it ends.

If it doesn't work

The rewind doesn't match what's on screen. Ask it: “The counter has to come from the real time of the frame on screen, with the same curve as the rewind.”

#7

Orbit

Your videos spin around you in a ring, in front and behind. When they pass behind your head, they disappear completely.

⌄

Your videos spin around you in a ring, in front and behind. When they pass behind your head, they disappear completely.

Needs: Your cut-out and about 6 of your clips (4 s each, vertical).
Prompt for effect #7 · orbit
Effect #7, orbit, on "[word, e.g.: my videos]", until the cut.
1. [6] clips from my-videos/ (4 s each, playing inside the cards) spin around me in a HORIZONTAL ring, in front and behind. Not top to bottom.
2. The camera looks at the ring slightly from above: behind, they pass at the height of my hair, smaller and a bit darker; in front, bigger and at chin height, so my eyes can be seen. Few, small cards, with space between them, so you read a ring and not a wall.
3. When they pass behind my head they have to DISAPPEAR COMPLETELY: paint my cut-out over the ones behind with the alpha hardened (a' = 2.4·a - 0.3, with feComponentTransfer) so the semi-transparent hair doesn't show the card.
4. No borders or frames: the video with rounded corners and a soft shadow only on the ones in front.
5. At the sides, each card turns a little on itself, like on a carousel. They come out from behind my head spinning fast, slow down to one turn every 3.6 s and at the end rise and fly off outwards.
Measure every frame of the exit: nothing in the clear areas in CLAUDE.md.

If it doesn't work

They cover your face the whole time. Ask it: “Look at the ring from above: in front at chin height, and fewer cards, smaller.”

You can see them through your hair when they pass behind. Ask it: “Harden my cut-out's alpha in that section so it covers me completely.”

#8

Freeze and label

The image freezes like a printed photo and product tags appear pointing at what you're wearing, with each brand's logo.

⌄

The image freezes like a printed photo and product tags appear pointing at what you're wearing, with each brand's logo.

Needs: The official logos of what you're labeling, from each brand's press kit (not recolored).
Prompt for effect #8 · freeze and label
Effect #8, freeze and label, on "[word, e.g.: freeze]", until the cut.
1. Freeze the frame of that word with a short white flash and turn it into a printed photo: a paper border, slightly tilted (about -2°), a bit smaller (0.8) and moved up, over the same frame blurred and darkened.
2. Label things THAT CAN BE SEEN, like Instagram's product tags: a white dot pulsing ON the object, a thin line that draws itself and a paper tag with the brand's official logo (logos/, not recolored or distorted) and what it is underneath. My tags: [object 1 · brand], on "[word]"; [object 2 · brand], on "[word]".
3. To one side, like a handwritten caption: [your credit].
4. Measure each object's dot ON THE FROZEN FRAME, with the photo already tilted and scaled, and keep dots and tags above the subtitle band.
No circles around my head: a tag points at something specific, it doesn't decorate.

If it doesn't work

It looks generic. Ask it: “Product tags on things that can be seen, with each brand's official logo, instead of circles or loose arrows.”

#9

Before and after

The image switches to the raw footage as is, and a wipe sweeps the screen to reveal the edit.

⌄

The image switches to the raw footage as is, and a wipe sweeps the screen to reveal the edit.

Needs: The raw footage (you have it).
Prompt for effect #9 · before and after
Effect #9, before and after.
1. On "[line, e.g.: this is what I recorded]", the image switches to the RAW footage as is (no color, no zoom, no graphics) with a short flash and a stamp "raw · [raw footage length]".
2. On "[line, e.g.: what it gave me back]", a vertical wipe with its handle sweeps the image from left to right and reveals the edit (with its color and graphics, and a stamp "edited · [master length]"), comes back halfway and ends on the edit. "before" and "after" labels on either side of the handle.
3. The wipe's line is cut behind the subtitle band and fades out before entering the button column.
4. The subtitles stay on top on both sides.

If it doesn't work

The wipe runs over the subtitle. Ask it: “Cut the line at the subtitle band and fade it out before the button column.”

★

The master prompt

start here

The whole video in one go: paste it and add the effects you're going to use underneath.

⌄

It's the whole brief, in phases, with what I learned on this video. Under “The effects and their technique”, paste the prompts from this guide for the effects you want.

Master prompt
Edit my video [raw-footage-name.mov] (vertical, for [TikTok and Instagram], in [English]). Before anything else, read CLAUDE.md and script.md.

In this folder you have:
- [raw-footage-name.mov]: the raw footage. Don't move it or modify it.
- script.md: what I say and the effect that goes with each line.
- logos/: the official logos of the brands I name or label.
- my-videos/: [6] of my videos for the orbit.
- [empty-background.png, if you have it: the shot without me. If not, the first 3 seconds of the raw footage are the empty shot.]

Tools: Remotion to compose, ffmpeg, RobustVideoMatting to cut me out of the background, [mlx-whisper] to transcribe with word-level timestamps and Playwright to capture headlines. If you're missing something free, install it inside this folder or in a virtual environment and note it down. If something is paid or needs an account, ask me first.

Phases. In each one, show me what's done and wait for my OK:
1. Rough: transcribe, remove silences and false starts, and after each line that triggers an effect keep the hold the effect needs, cutting before I look away from the camera (look at it on a sheet of frames, don't work it out from the audio). Give me the edit list.
2. Plan: the list of effects with their exact second in the rough, the word that triggers it and how you're going to do each one.
3. Cut-out and measurements: my cut-out of the whole rough with RobustVideoMatting and, from its alpha, where my head is in every frame. Everything that goes near me comes from that measurement.
4. The first effect in full: it sets the style for the rest.
5. The others, one by one, with each effect's technique, which I paste below. Before showing me each one, pull out single frames from its exact moment (and a sheet at 10 fps if there's movement) and look at them.
6. Checks and master: every 0.1 s, that nothing steps on the clear areas in CLAUDE.md; that no effect leaves a stray frame at a cut; and the audio and color finishing in CLAUDE.md.

The effects and their technique:
[paste here the guide's prompts for the effects you're going to use]

Deliver in this folder: the master with subtitles, the same without subtitles and a short INFORME.md with which tool you used for each effect, what you installed and what didn't work out and why.
06

All the commands

The whole install, in order, to copy.

⌄
Commands
# 1. Claude Code (macOS, Linux and WSL)
curl -fsSL https://claude.ai/install.sh | bash
#    On Windows (PowerShell): irm https://claude.ai/install.ps1 | iex

# 2. ffmpeg (Mac with Homebrew; on Windows, from ffmpeg.org)
brew install ffmpeg

# 3. The Remotion project and the motion blur
npx create-video@latest --yes --blank my-video
cd my-video
npx remotion add @remotion/motion-blur
#    Optional and recommended (I didn't use them): Remotion's skills for agents
npx remotion skills add

# 4. Python for the cut-out and the transcription, in its own environment
python3 -m venv .venv
source .venv/bin/activate
pip install torch torchvision av tqdm pims numpy
pip install mlx-whisper          # only on Apple Silicon Macs

# 5. Playwright, to capture real headlines (#1)
npm i -D playwright
npx playwright install chromium

# 6. Inside Claude Code, in the project folder
claude
/model opus
/effort xhigh
If pip install gives you the “externally-managed-environment” error, you haven't activated the virtual environment: run source .venv/bin/activate first.
07

If something fails

The problems I ran into and the exact line to get it fixed.

⌄
What you seeWhy it happensAsk it
A graphic lands on your face.Remotion doesn't know where you are.“Measure my head in every frame with the cut-out's alpha and place [the graphic] based on that measurement.”
The subtitles are early or late.The transcription goes by sentences, or brings words forward.“Transcribe with word-level timestamps (audio at 16 kHz mono) and, where it doesn't fit, adjust each caption to the real level of the voice.”
It tells you it's done and it isn't.Claude doesn't see the video, it sees frames.“Before you tell me it's done, pull out single frames from second [X] and a sheet at 10 fps, look at them and tell me what you see.”
On the phone the colors look different from on the computer.The file's color tag doesn't say which matrix it was converted with.“Check with ffprobe which matrix the master says and which one the render used, and rewrite the tag without re-encoding.”
Fine text looks blurry.Compression eats the thin strokes.“Encode at higher quality (in my case, crf 14 and preset slow) and check it first on a 200-frame render.”
A one-frame flicker at a cut.An effect ends one frame before or after the cut.“Look for stray frames at the edges of each effect and stick each edge to the exact frame of the cut.”
Something ends up under TikTok's buttons.The app's zones don't show in the render.“Check every 0.1 s that nothing steps on the clear areas in CLAUDE.md, against a version of the video without graphics.”
The audio is slightly shifted.The render leaves the mix a few milliseconds late.“Measure the master's audio offset against the voice track and fix it down to 0 samples.”
The cut-out stalls the first time, doing nothing.PyTorch asks you to confirm in the terminal that you trust the RobustVideoMatting repository, and from Claude Code nobody answers.“Load the model with torch.hub.load(..., trust_repo=True).”
You run out of quota halfway.A video like this is hours of agent time on xhigh.“Work in phases and ask it to write down the state in an ESTADO.md at the end of each one, so you can pick up without losing anything.”
08

How long it takes and what it costs

My video's numbers, and how I got them.

⌄
3 h 11 minof agent work on the whole first version, editing only
$54.39at API prices (Claude on xhigh and one Nano Banana image). With a subscription you don't pay this: you use up quota

It's a 52-second video with all nine effects. Afterwards I asked for fixes on six effects: that's separate hours, and that's why this guide already comes with the corrected techniques.

Quota: on xhigh, a video like this eats a lot of it. I ran out once in the middle of a session. Work in phases and have the agent write down the state at the end of each one.

How I measured it: it's an estimate taken from the session log: the time from each of my messages to the agent's last action before the next one (how long I took to answer doesn't count), separating the editing from what wasn't. The cost, with each response's tokens at the official prices.

09

Alternatives I didn't use

Options that might suit you better depending on how you work.

⌄

Remotion's official skills · I didn't use it

They teach your agent how things are done in Remotion (timing, audio, subtitles) before it starts. I didn't install them for this video; if you're starting from scratch, I recommend them: they save the agent from having to read the documentation.

npx remotion skills add inside the project

HyperFrames · I didn't use it

The video is written in HTML and CSS instead of React and rendered to MP4. Apache 2.0 license and Node 22 or later. If you find HTML easier to read than React, it fits.

claude plugin marketplace add heygen-com/hyperframes and claude plugin install hyperframes@hyperframes

whisper.cpp · I didn't use it

Whisper for Windows, Linux or Intel Macs, where mlx-whisper doesn't work.

Mac: brew install whisper-cpp; everywhere else, its GitHub repository

Nano Banana 2 Lite · I didn't use it

The cheap version of Nano Banana for the layers background: about $0.034 per 1K image.

The gemini-3.1-flash-lite-image model in the Gemini API