# Prompts · 9 video effects with Claude Code

marbuilds.dev/resources/en/claude-code-video-effects · @itsmarbuilds

## The 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.
```

## #1 · Headline wall

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).

```
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.

**Needs:** Recording in 4K (at 2x, 1080p looks soft) and the @remotion/motion-blur package.

```
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.

**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.

```
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.

**Needs:** Nothing else.

```
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.

**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).

```
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.

**Needs:** Recording the mistake on purpose (it's in the template script).

```
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.

**Needs:** Your cut-out and about 6 of your clips (4 s each, vertical).

```
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.

**Needs:** The official logos of what you're labeling, from each brand's press kit (not recolored).

```
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.

**Needs:** The raw footage (you have it).

```
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."
