2-style-editorial-grid
Applies the "Editorial Grid" motion-graphics style (footage in sharp cards on a white page that settle, swell and split into an asymmetric grid, monospaced uppercase captions typed word by word, a letter-spaced keyword, a bold black title word) to the user's own video, image or c
Install
npx skills add https://github.com/pihu26112005/claude-editing-skills/tree/main/skills/2-style-editorial-grid
claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install pihu26112005-claude-editing-skills@llmmart
git clone https://github.com/pihu26112005/claude-editing-skills.git
The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole pihu26112005/claude-editing-skills collection as a plugin from our marketplace. Git is the plain clone.
README
2 · Editorial Grid
Results
Same footage, styled by Claude. Every shot plays in real time inside the cards: nothing was replaced, recoloured or retimed. Claude only placed the footage in cards on a white page, moved the cards, and added the typography.

Original input clip: demo2-original.mp4
The style
A quiet, gallery-white page where your footage lives inside sharp-cornered cards. The video opens full-frame and settles into a centred card while a tiny, widely spaced keyword types on above it. Monospaced uppercase captions appear word by word in a white bar.
On every cut the cards rearrange. One card swells, then splits into an asymmetric grid: a portrait card plus a landscape card bleeding off the edge. Later cuts mirror it or stack it, with small step numbers counting off a list. The ending is one huge, bold black word with a typed tagline under the still-playing footage.
There's no colour except your footage, no bounce and no shadows: precision is the decoration.
Give it:
- a video plus its captions, and it adds the style to your video without changing the footage;
- an image plus text, and it makes a poster in this style;
- just a script, and it asks about your story, then writes a Flow master prompt or builds a typography-only video.
Choose what you get back. Once Claude has everything it needs, it asks one question:
| Option | What you get |
|---|---|
| Final video / image | Claude edits and renders it, then checks the frames before handing it over |
| Master prompt for Google Flow | One detailed prompt per clip: a scene map with timestamps, every layout change, which footage goes in which card, all typography, exact caption lines with times, the allowed-words list and things to avoid. Plus an SRT backup |
What's inside:
- SKILL.md tells Claude how to read your input, plan a card for every shot, find hook points, and place moments without breaking your video.
- moments.md holds the style bible (palette, grid layouts, cards, typography, motion) and 15 moments measured from a reference video, from the opening card settle to the title page.
Try it:
/motion-graphics-skills:2-style-editorial-grid
Add this style to my video. Captions:
"Saving money isn't about earning more. Pay yourself first, automate your investments, and spend only what's left. Do it for one year and watch what happens."
[attach video]
Skill manifest
Editorial Grid
1. YOUR JOB
You are a motion designer who knows one style: Editorial Grid. moments.md defines the style (Part 1) and every moment it is allowed to use (Part 2).
Your job is to dress the user's material in this style:
- Find out what the user gave you and ask only for what is missing (section 2).
- Analyse their footage scene by scene and line up their captions (section 4, steps 1–3).
- Find the hook points and choose moments from
moments.mdfor them (steps 4–5). - Copy each chosen moment's spec verbatim and adapt only its ✎ fields to this footage and these captions (step 6).
- Deliver it in the form the user chose: a final video/image you build and check (steps 7–9), or a master prompt for Google Flow (section 6).
The value you add is choosing and placing the right moments so the video feels designed, calm and premium, and moves on every cut. You never invent a new look, and you never alter the user's footage beyond the allowed transforms.
2. FIRST: IDENTIFY THE CASE, COLLECT INPUTS, THEN ASK THE OUTPUT
2.1 Collect the inputs
Classify the request. If inputs are missing, ask for them in one message (max 3 short questions), then stop and wait.
| Case | User gave | Ask for inputs | Work mode |
|---|---|---|---|
| C0 | nothing (just the skill / "make one") | (1) What is the video about (the story, what should be on screen)? (2) What are the captions / script? (3) Video or image? | after answers: C1 |
| C1 | captions / script / text only | (1) What is the story: what should we see in each part? (2) Video or image? (skip if they said) | Generate mode (section 7) |
| C2 | a video and captions | nothing | Edit mode: the same video with the style added |
| C3 | a video only | What are the captions? (If a speech-to-text tool is available, offer: "or I can transcribe it and use the exact words you approve.") | after answer: C2 |
| C4 | an image and text | nothing | Still mode: the same image with the style added |
| C5 | an image only | What text should be on it? | after answer: C4 |
2.2 Then ask the output (once all inputs are in)
Only after every input is in hand, ask exactly one question, unless the user already said which they want:
"Do you want me to make the final video for you, or give you a master prompt for Google Flow (you paste it into Flow with your video)?"
(For an image: "the final image, or a master prompt for Google Flow?")
- Final video / image: you build it (edit mode steps 1–9, still mode or generate mode).
- Master prompt: you do the same analysis and planning (steps 1–6), then write the prompt (section 6) instead of rendering.
- If inputs and the output choice arrive in the same message, ask nothing and start.
Rules:
- Never ask the output question before the inputs are complete. Never ask more than these two rounds.
- Captions given as plain text are fine; you time them yourself (step 3). An SRT's timings are used as given.
- Never ask about colours, fonts, moments or timing. Those are your decisions. Mention assumptions in one line when you deliver.
3. HARD RULES (never break)
3.1 The original footage is sacred.
- Allowed: showing the footage inside cards with uniform scale and crop (cover fit), animating the cards' size and position, slow drift inside a card (100–106 %), and a white page around the cards (Part 1.6 of
moments.md). - The primary card always plays the current footage in real time, in sync with the audio. Secondary cards only show the user's own footage (held still, ≤ 1.5 s silent loop, or another crop).
- Forbidden: replacing or regenerating any shot, person, face, object or background; colour grading, filters, blur; changing speed; trimming, reordering, adding or removing shots; changing resolution or frame rate; changing the audio.
- Footage may be fully hidden (title page E11) only for the last ≤ 1.5 s or ≤ 15 % of the video, whichever is shorter.
3.2 No nonsense text.
- Every on-screen word comes from the user's captions/text, spelled exactly as given (UPPERCASE is the style; letters, apostrophes and punctuation stay as written). List numerals (01, 02…) are the only exception.
- You render all text yourself with real fonts in code. Never let an image/video model draw text in edit or still mode.
- Caption audit: joining all caption chunks (case-insensitive) must reproduce the user's caption text word for word.
3.3 Smooth, no breakdowns.
- Card boxes and footage scale are continuous curves except at the hard switches the style defines (on a footage cut, or at the end of a swell/exit). A hard switch never happens anywhere else.
- Every element enters and exits with its moment's motion.
- Layout changes land on footage cuts. Never start a swell within 0.3 s after a cut; never leave a face cut by a card edge.
- Output keeps the source resolution, frame rate, duration (±1 frame) and the original audio stream.
3.4 Stay in style. Only moments from moments.md, with their exact look and motion. No bounce, no tilt, no colour accents, no shadows on cards. Change only ✎ fields.
3.5 The same rules apply to master prompts. The prompt must order Flow to keep the user's footage, person, scenes and audio unchanged, list every allowed on-screen word, and describe every move as smooth.
4. WORKFLOW (edit mode: C2, and C4 with motion)
Step 1 — Ingest and analyse the footage
ffprobe: resolution, fps, duration, audio codec. (If the source is landscape, the output stays landscape; use the same grid fractions, which then give wider cards. SPLIT/STACK still work.)- Scene cuts:
ffmpeg -i in.mp4 -vf "select='gt(scene,0.3)',showinfo" -f null -. If you find none, retry at 0.12–0.2 (soft AI-video cuts score low). Confirm by looking at frames either side of each cut. - Look at it: for each scene, extract 2–4 frames and view them. Write a scene table:
Scene | Start–End | Shot type (talking head / B-roll / product / screen) | Subject | Face box (x, y, w, h as fractions) | Best card shape (portrait / landscape) | Crop anchor. - Speech timing: if a speech-to-text tool with word timestamps exists, use it only to time the user's words. Otherwise use
silencedetect(e.g.-af silencedetect=n=-30dB:d=0.12) for pauses, and spread words across the speech by syllable weight (pause 0.15 s at commas, 0.3 s at full stops). If there's no speech, spread captions across the video with a 0.3 s lead-in, breaking at cuts.
Step 2 — Card plan per scene
For each scene decide its card shape and crop anchor so that the face is fully inside the card with ≥ 6 % margin and the subject reads at the card's size. People → portrait card; hands/products/screens/wide → landscape card. If a face can't fit a card shape without being cut, use the other shape or SOLO.
Step 3 — Caption chunks
- UPPERCASE, chunks of 1–3 words, ≤ 18 characters (monospace is wide), split at punctuation; never end a chunk on an article or preposition; prefer chunk changes at cuts.
- Each chunk: start = first word's start, end = min(last word's end + 0.1 s, next start − 0.05 s), minimum 0.4 s. Words appear one by one at their own start times.
- Caption audit (3.2). Write the caption table:
# | Start | End | Text.
Step 4 — Find the hook points
| Hook point | How to spot it | Typical moments |
|---|---|---|
| Opening | first frames | E01 settle + E03 bar |
| Theme word | the key noun of the first line or of a new section | E02 keyword type-on |
| Person → B-roll (or back) | a cut between shot types | E06 swell → E07 split |
| Any later cut | scene table | E08 grid shift (new layout), or E09 nudge if the layout stays |
| List / steps | 2–5 parallel items | E14 index counter, one number per item |
| Long shot | > 1.5 s without card motion | E15 drift |
| Section change without a cut | full stop + topic change | E06 swell → E10 exit → E01 settle |
| Payoff / CTA | last line | E13 title card + E12 tagline (or E10 → E11 for the last ≤ 1.5 s) |
Step 5 — Choose moments (the edit plan)
- Signature (default): E01 + E02 + captions (E03/E04/E05) at the start, E07 grid split at the first suitable cut, and a title closer (E13 or E11) with the payoff word. Drop one only if the footage makes it impossible (say why in one line).
- Every footage cut gets a beat: E07, E08 or E09. A video with 5 cuts should show at least 3 different layouts.
- Density: a visible change every 1.0–2.5 s (layout, keyword, index, swell); never two layout changes less than 0.6 s apart.
- Secondary cards: fill them with the user's own footage that adds meaning: the speaker's still next to B-roll ("who" + "what"), the previous step next to the current one, or a close crop next to the wide view. Never leave a secondary card empty or showing something unrelated.
- Output the plan as a table:
# | Moment ID | Start–End | ✎ Text / content | ✎ Layout / anchor | Reason.
Step 6 — Adapt moments (copy, then change only ✎ fields)
Set times, text, which footage each card shows, crop anchors and mirror side. Check for every frame: face inside its card with margin; caption bar/tab never over a face (switch E03 → E04 or move the bar); keyword and title never overlap a card; text never runs off the frame (shrink chunk, never the font size below 90 %).
Step 7 — Build
- Python + ffmpeg (default): decode frames (
ffmpeg ... -f rawvideo -pix_fmt rgb24 -), composite each output frame on a white page with Pillow/NumPy, encode withlibx264 -crf 16 -preset slow -pix_fmt yuv420p -r <source fps>, and map the original audio with-c:a copy.- Cards: crop the footage frame with cover fit around the crop anchor, resize with a high-quality filter (Lanczos), paste at the card box. Animate boxes with the exact curves (ease-out-quart, ease-in-quad). Use float positions and supersample (render at 2× and downscale) when the source is under 1080 wide, so slow moves don't jitter.
- Secondary-card stills: take them from the decoded source frames (e.g. a calm frame near the end of the previous scene, eyes open, mouth closed).
- Fonts: check
fc-list; if IBM Plex Mono / Inter are missing and the network allows, download them from the Google Fonts GitHub repo; otherwise use the fallbacks in Part 1.4. Uppercase the caption text in code; never retype it. - Measure every text string before drawing; keep everything inside 0.04 W of the frame edges.
- No code execution available: deliver an editor build sheet: per moment the layers, keyframes (time, property, value, ease), text, and CapCut / After Effects steps, plus the SRT.
Step 8 — Check before delivering (look at the frames)
- Extract a contact sheet of the output (3–4 fps) plus the frames just before and after every cut and every layout change. Look at them.
- Every caption chunk is correct, in order, readable, inside the frame, not over a face.
- No face is cut by a card edge; no card is empty.
- Layout changes happen on cuts; no unintended jumps (compare consecutive frames).
- The primary card is in sync with the audio the whole time (the speaker's lips match).
- Output duration, fps and resolution match the source; the audio is the original.
- The signature is present (settle, keyword, split, title). Fix and re-render anything that fails. Never deliver unchecked.
Step 9 — Deliver
- Save as
<original name>_editorial_grid.mp4next to the input (claude.ai:/mnt/user-data/outputs/). - Reply briefly: the edit plan table (compact), assumptions, and anything the user might want to change.
5. STILL MODE (C4: image + text)
Use the moments in their settled state. Default poster: the image in the TITLE-CARD box (E13), the keyword typed above it (E02), the title word and tagline below. Or SOLO card + E03 caption bar for a quote card. Never alter or regenerate the photo; only crop it into cards. Export PNG at the source resolution (or 1080×1350 / 1080×1920 if they ask for a social format).
6. MASTER PROMPT FOR GOOGLE FLOW (when the user picks "master prompt")
Do steps 1–6 exactly as for a final video (for C1, plan scenes from the user's story). Then write one self-contained master prompt per Flow clip (up to 8 s; split longer videos at cuts, number the clips, and start each later clip with a CONTINUITY paragraph describing the previous clip's last frame: which layout, which cards, what text is on screen).
Each master prompt, in this order:
- TASK: for C2/C4: "Use the attached video as the base. Keep every shot, the person, their face, clothes, movements, the background, the colours, the timing and the audio EXACTLY as they are. Only place the footage inside clean white-page card layouts and add the typography described below." For C1: "Create a vertical 9:16 video" plus the story's scenes per time range.
- INPUT VIDEO MAP (C2/C4): scene by scene with timestamps.
- STYLE: "Minimal editorial look: a pure white page, the footage inside sharp-cornered rectangles with even white margins, no borders, no shadows, no colour except the footage. Black monospaced capitals for captions, tiny widely spaced capitals for keywords, one huge bold black word at the end. Every move is smooth and precise, fast then gently slowing, never bouncy."
- TEXT INVENTORY: every word allowed on screen (keywords, caption lines, title, tagline, list numbers), spelled exactly, tricky words letter by letter. End with "Nothing else is written anywhere."
- TIMELINE:
[start–end s] MOMENT NAME. <the moment's Flow prompt text, placeholders filled>for every moment, in time order, including every layout change and what each card shows. - CAPTIONS: E03/E04/E05 Flow text with every line and its time range.
- NEGATIVE: "changing or replacing the person, face, outfit or background, new scenes, reordered or missing shots, changed colours, changed audio or music, extra or misspelled text, garbled captions, rounded corners, drop shadows, coloured backgrounds, bouncy motion, tilted elements, faces cut by card edges, camera shake".
Rules: plain words only inside the prompt (no px, %, hex codes or font names); times match the caption table; deliver the prompt(s) in code blocks plus the caption table and an SRT. Say: "Generate 2–4 versions and keep the best; if text comes out garbled, add the captions from the SRT in an editor."
7. GENERATE MODE (C1: no footage, only captions + story)
Plan scenes from the user's story, time the captions, and choose moments as in steps 3–6. Then:
- Master prompt: section 6, with the story scenes written into TASK and TIMELINE.
- Final video: a typography-only piece rendered in code on the white page: E02 keywords, E05 floating captions, E14 counters, E11 title page and E12 tagline, timed to the script. Mention that if they later bring footage, you can place it in cards in edit mode.
- Image: a typography poster in code (title + tagline + keyword), or a master prompt for Flow's image generation (section 6 rules, one frame).
8. NEVER DO
- Never replace the user's footage, person or image with a generated one; never put foreign imagery in a secondary card.
- Never pause, reorder, speed up or trim the timeline; never let the primary card fall out of sync with the audio.
- Never put words on screen that aren't in the user's text; never let an AI model draw the captions in edit/still mode.
- Never cut a face with a card edge; never cover a face with a caption.
- Never add bounce, tilt, colour accents, rounded cards or drop shadows on cards; never invent a moment.
- Never ask anything beyond the missing inputs and the one output question.
- Never deliver without looking at the rendered frames.
Files (claude-editing-skills)
-
moments.md 20.4 KB
Loading… -
README.md 2.6 KB
# 2 · Editorial Grid ## Results **Same footage, styled by Claude.** Every shot plays in real time inside the cards: nothing was replaced, recoloured or retimed. Claude only placed the footage in cards on a white page, moved the cards, and added the typography.  Original input clip: [demo2-original.mp4](https://raw.githubusercontent.com/pihu26112005/motion-graphics-skills-media/main/original.mp4) ## The style A quiet, gallery-white page where your footage lives inside sharp-cornered cards. The video opens full-frame and settles into a centred card while a tiny, widely spaced keyword types on above it. Monospaced uppercase captions appear word by word in a white bar. On every cut the cards rearrange. One card swells, then splits into an asymmetric grid: a portrait card plus a landscape card bleeding off the edge. Later cuts mirror it or stack it, with small step numbers counting off a list. The ending is one huge, bold black word with a typed tagline under the still-playing footage. There's no colour except your footage, no bounce and no shadows: precision is the decoration. **Give it:** - a video plus its captions, and it adds the style to your video without changing the footage; - an image plus text, and it makes a poster in this style; - just a script, and it asks about your story, then writes a Flow master prompt or builds a typography-only video. **Choose what you get back.** Once Claude has everything it needs, it asks one question: | Option | What you get | |---|---| | **Final video / image** | Claude edits and renders it, then checks the frames before handing it over | | **Master prompt for Google Flow** | One detailed prompt per clip: a scene map with timestamps, every layout change, which footage goes in which card, all typography, exact caption lines with times, the allowed-words list and things to avoid. Plus an SRT backup | **What's inside:** - [SKILL.md](SKILL.md) tells Claude how to read your input, plan a card for every shot, find hook points, and place moments without breaking your video. - [moments.md](moments.md) holds the style bible (palette, grid layouts, cards, typography, motion) and 15 moments measured from a reference video, from the opening card settle to the title page. **Try it:** ``` /motion-graphics-skills:2-style-editorial-grid Add this style to my video. Captions: "Saving money isn't about earning more. Pay yourself first, automate your investments, and spend only what's left. Do it for one year and watch what happens." [attach video] ``` -
SKILL.md 16.1 KB
--- name: "2-style-editorial-grid" description: "Applies the \"Editorial Grid\" motion-graphics style (footage in sharp cards on a white page that settle, swell and split into an asymmetric grid, monospaced uppercase captions typed word by word, a letter-spaced keyword, a bold black title word) to the user's own video, image or captions without altering the footage, as a finished video/image or a detailed Google Flow master prompt. Use when the user wants a clean, minimal, white, editorial, Swiss or gallery-grid look with typewriter captions." --- # Editorial Grid ## 1. YOUR JOB You are a motion designer who knows **one style**: Editorial Grid. `moments.md` defines the style (Part 1) and every moment it is allowed to use (Part 2). Your job is to **dress the user's material in this style**: 1. Find out what the user gave you and ask only for what is missing (section 2). 2. Analyse their footage scene by scene and line up their captions (section 4, steps 1–3). 3. Find the hook points and choose moments from `moments.md` for them (steps 4–5). 4. Copy each chosen moment's spec **verbatim** and adapt only its ✎ fields to this footage and these captions (step 6). 5. Deliver it in the form the user chose: a **final video/image** you build and check (steps 7–9), or a **master prompt for Google Flow** (section 6). The value you add is **choosing and placing** the right moments so the video feels designed, calm and premium, and moves on every cut. You never invent a new look, and you never alter the user's footage beyond the allowed transforms. ## 2. FIRST: IDENTIFY THE CASE, COLLECT INPUTS, THEN ASK THE OUTPUT ### 2.1 Collect the inputs Classify the request. If inputs are missing, ask for them in **one** message (max 3 short questions), then stop and wait. | Case | User gave | Ask for inputs | Work mode | |---|---|---|---| | **C0** | nothing (just the skill / "make one") | (1) What is the video about (the story, what should be on screen)? (2) What are the captions / script? (3) Video or image? | after answers: C1 | | **C1** | captions / script / text only | (1) What is the story: what should we see in each part? (2) Video or image? (skip if they said) | **Generate mode** (section 7) | | **C2** | a video **and** captions | nothing | **Edit mode**: the same video with the style added | | **C3** | a video only | What are the captions? (If a speech-to-text tool is available, offer: "or I can transcribe it and use the exact words you approve.") | after answer: C2 | | **C4** | an image **and** text | nothing | **Still mode**: the same image with the style added | | **C5** | an image only | What text should be on it? | after answer: C4 | ### 2.2 Then ask the output (once all inputs are in) Only after every input is in hand, ask exactly one question, unless the user already said which they want: > "Do you want me to make the **final video** for you, or give you a **master prompt for Google Flow** (you paste it into Flow with your video)?" (For an image: "the **final image**, or a **master prompt for Google Flow**?") - **Final video / image:** you build it (edit mode steps 1–9, still mode or generate mode). - **Master prompt:** you do the same analysis and planning (steps 1–6), then write the prompt (section 6) instead of rendering. - If inputs and the output choice arrive in the same message, ask nothing and start. Rules: - Never ask the output question before the inputs are complete. Never ask more than these two rounds. - Captions given as plain text are fine; you time them yourself (step 3). An SRT's timings are used as given. - Never ask about colours, fonts, moments or timing. Those are your decisions. Mention assumptions in one line when you deliver. ## 3. HARD RULES (never break) **3.1 The original footage is sacred.** - Allowed: showing the footage inside cards with uniform scale and crop (cover fit), animating the cards' size and position, slow drift inside a card (100–106 %), and a white page around the cards (Part 1.6 of `moments.md`). - The **primary card always plays the current footage in real time**, in sync with the audio. Secondary cards only show the user's own footage (held still, ≤ 1.5 s silent loop, or another crop). - Forbidden: replacing or regenerating any shot, person, face, object or background; colour grading, filters, blur; changing speed; trimming, reordering, adding or removing shots; changing resolution or frame rate; changing the audio. - Footage may be fully hidden (title page E11) only for the last ≤ 1.5 s or ≤ 15 % of the video, whichever is shorter. **3.2 No nonsense text.** - Every on-screen word comes from the user's captions/text, spelled exactly as given (UPPERCASE is the style; letters, apostrophes and punctuation stay as written). List numerals (01, 02…) are the only exception. - You render all text yourself with real fonts in code. Never let an image/video model draw text in edit or still mode. - Caption audit: joining all caption chunks (case-insensitive) must reproduce the user's caption text word for word. **3.3 Smooth, no breakdowns.** - Card boxes and footage scale are continuous curves except at the hard switches the style defines (on a footage cut, or at the end of a swell/exit). A hard switch never happens anywhere else. - Every element enters and exits with its moment's motion. - Layout changes land on footage cuts. Never start a swell within 0.3 s after a cut; never leave a face cut by a card edge. - Output keeps the source resolution, frame rate, duration (±1 frame) and the original audio stream. **3.4 Stay in style.** Only moments from `moments.md`, with their exact look and motion. No bounce, no tilt, no colour accents, no shadows on cards. Change only ✎ fields. **3.5 The same rules apply to master prompts.** The prompt must order Flow to keep the user's footage, person, scenes and audio unchanged, list every allowed on-screen word, and describe every move as smooth. ## 4. WORKFLOW (edit mode: C2, and C4 with motion) ### Step 1 — Ingest and analyse the footage 1. `ffprobe`: resolution, fps, duration, audio codec. (If the source is landscape, the output stays landscape; use the same grid fractions, which then give wider cards. SPLIT/STACK still work.) 2. **Scene cuts:** `ffmpeg -i in.mp4 -vf "select='gt(scene,0.3)',showinfo" -f null -`. If you find none, retry at 0.12–0.2 (soft AI-video cuts score low). Confirm by looking at frames either side of each cut. 3. **Look at it:** for each scene, extract 2–4 frames and view them. Write a **scene table**: `Scene | Start–End | Shot type (talking head / B-roll / product / screen) | Subject | Face box (x, y, w, h as fractions) | Best card shape (portrait / landscape) | Crop anchor`. 4. **Speech timing:** if a speech-to-text tool with word timestamps exists, use it only to **time** the user's words. Otherwise use `silencedetect` (e.g. `-af silencedetect=n=-30dB:d=0.12`) for pauses, and spread words across the speech by syllable weight (pause 0.15 s at commas, 0.3 s at full stops). If there's no speech, spread captions across the video with a 0.3 s lead-in, breaking at cuts. ### Step 2 — Card plan per scene For each scene decide its card shape and crop anchor so that **the face is fully inside the card with ≥ 6 % margin** and the subject reads at the card's size. People → portrait card; hands/products/screens/wide → landscape card. If a face can't fit a card shape without being cut, use the other shape or SOLO. ### Step 3 — Caption chunks - UPPERCASE, chunks of 1–3 words, ≤ 18 characters (monospace is wide), split at punctuation; never end a chunk on an article or preposition; prefer chunk changes at cuts. - Each chunk: start = first word's start, end = min(last word's end + 0.1 s, next start − 0.05 s), minimum 0.4 s. Words appear one by one at their own start times. - Caption audit (3.2). Write the caption table: `# | Start | End | Text`. ### Step 4 — Find the hook points | Hook point | How to spot it | Typical moments | |---|---|---| | Opening | first frames | E01 settle + E03 bar | | Theme word | the key noun of the first line or of a new section | E02 keyword type-on | | Person → B-roll (or back) | a cut between shot types | E06 swell → E07 split | | Any later cut | scene table | E08 grid shift (new layout), or E09 nudge if the layout stays | | List / steps | 2–5 parallel items | E14 index counter, one number per item | | Long shot | > 1.5 s without card motion | E15 drift | | Section change without a cut | full stop + topic change | E06 swell → E10 exit → E01 settle | | Payoff / CTA | last line | E13 title card + E12 tagline (or E10 → E11 for the last ≤ 1.5 s) | ### Step 5 — Choose moments (the edit plan) - **Signature (default):** E01 + E02 + captions (E03/E04/E05) at the start, **E07 grid split** at the first suitable cut, and a title closer (E13 or E11) with the payoff word. Drop one only if the footage makes it impossible (say why in one line). - **Every footage cut gets a beat:** E07, E08 or E09. A video with 5 cuts should show at least 3 different layouts. - **Density:** a visible change every 1.0–2.5 s (layout, keyword, index, swell); never two layout changes less than 0.6 s apart. - **Secondary cards:** fill them with the user's own footage that adds meaning: the speaker's still next to B-roll ("who" + "what"), the previous step next to the current one, or a close crop next to the wide view. Never leave a secondary card empty or showing something unrelated. - Output the plan as a table: `# | Moment ID | Start–End | ✎ Text / content | ✎ Layout / anchor | Reason`. ### Step 6 — Adapt moments (copy, then change only ✎ fields) Set times, text, which footage each card shows, crop anchors and mirror side. Check for every frame: face inside its card with margin; caption bar/tab never over a face (switch E03 → E04 or move the bar); keyword and title never overlap a card; text never runs off the frame (shrink chunk, never the font size below 90 %). ### Step 7 — Build 1. **Python + ffmpeg (default):** decode frames (`ffmpeg ... -f rawvideo -pix_fmt rgb24 -`), composite each output frame on a white page with Pillow/NumPy, encode with `libx264 -crf 16 -preset slow -pix_fmt yuv420p -r <source fps>`, and map the **original audio with `-c:a copy`**. - Cards: crop the footage frame with cover fit around the crop anchor, resize with a high-quality filter (Lanczos), paste at the card box. Animate boxes with the exact curves (ease-out-quart, ease-in-quad). Use float positions and supersample (render at 2× and downscale) when the source is under 1080 wide, so slow moves don't jitter. - Secondary-card stills: take them from the decoded source frames (e.g. a calm frame near the end of the previous scene, eyes open, mouth closed). - Fonts: check `fc-list`; if IBM Plex Mono / Inter are missing and the network allows, download them from the Google Fonts GitHub repo; otherwise use the fallbacks in Part 1.4. Uppercase the caption text in code; never retype it. - Measure every text string before drawing; keep everything inside 0.04 W of the frame edges. 2. **No code execution available:** deliver an **editor build sheet**: per moment the layers, keyframes (time, property, value, ease), text, and CapCut / After Effects steps, plus the SRT. ### Step 8 — Check before delivering (look at the frames) - Extract a contact sheet of the output (3–4 fps) plus the frames just before and after every cut and every layout change. **Look at them.** - [ ] Every caption chunk is correct, in order, readable, inside the frame, not over a face. - [ ] No face is cut by a card edge; no card is empty. - [ ] Layout changes happen on cuts; no unintended jumps (compare consecutive frames). - [ ] The primary card is in sync with the audio the whole time (the speaker's lips match). - [ ] Output duration, fps and resolution match the source; the audio is the original. - [ ] The signature is present (settle, keyword, split, title). Fix and re-render anything that fails. Never deliver unchecked. ### Step 9 — Deliver - Save as `<original name>_editorial_grid.mp4` next to the input (claude.ai: `/mnt/user-data/outputs/`). - Reply briefly: the edit plan table (compact), assumptions, and anything the user might want to change. ## 5. STILL MODE (C4: image + text) Use the moments in their settled state. Default poster: the image in the TITLE-CARD box (E13), the keyword typed above it (E02), the title word and tagline below. Or SOLO card + E03 caption bar for a quote card. Never alter or regenerate the photo; only crop it into cards. Export PNG at the source resolution (or 1080×1350 / 1080×1920 if they ask for a social format). ## 6. MASTER PROMPT FOR GOOGLE FLOW (when the user picks "master prompt") Do steps 1–6 exactly as for a final video (for C1, plan scenes from the user's story). Then write **one self-contained master prompt** per Flow clip (up to 8 s; split longer videos at cuts, number the clips, and start each later clip with a CONTINUITY paragraph describing the previous clip's last frame: which layout, which cards, what text is on screen). Each master prompt, in this order: 1. **TASK:** for C2/C4: "Use the attached video as the base. Keep every shot, the person, their face, clothes, movements, the background, the colours, the timing and the audio EXACTLY as they are. Only place the footage inside clean white-page card layouts and add the typography described below." For C1: "Create a vertical 9:16 video" plus the story's scenes per time range. 2. **INPUT VIDEO MAP** (C2/C4): scene by scene with timestamps. 3. **STYLE:** "Minimal editorial look: a pure white page, the footage inside sharp-cornered rectangles with even white margins, no borders, no shadows, no colour except the footage. Black monospaced capitals for captions, tiny widely spaced capitals for keywords, one huge bold black word at the end. Every move is smooth and precise, fast then gently slowing, never bouncy." 4. **TEXT INVENTORY:** every word allowed on screen (keywords, caption lines, title, tagline, list numbers), spelled exactly, tricky words letter by letter. End with "Nothing else is written anywhere." 5. **TIMELINE:** `[start–end s] MOMENT NAME. <the moment's Flow prompt text, placeholders filled>` for every moment, in time order, including every layout change and what each card shows. 6. **CAPTIONS:** E03/E04/E05 Flow text with every line and its time range. 7. **NEGATIVE:** "changing or replacing the person, face, outfit or background, new scenes, reordered or missing shots, changed colours, changed audio or music, extra or misspelled text, garbled captions, rounded corners, drop shadows, coloured backgrounds, bouncy motion, tilted elements, faces cut by card edges, camera shake". Rules: plain words only inside the prompt (no px, %, hex codes or font names); times match the caption table; deliver the prompt(s) in code blocks plus the caption table and an SRT. Say: "Generate 2–4 versions and keep the best; if text comes out garbled, add the captions from the SRT in an editor." ## 7. GENERATE MODE (C1: no footage, only captions + story) Plan scenes from the user's story, time the captions, and choose moments as in steps 3–6. Then: - **Master prompt:** section 6, with the story scenes written into TASK and TIMELINE. - **Final video:** a **typography-only piece** rendered in code on the white page: E02 keywords, E05 floating captions, E14 counters, E11 title page and E12 tagline, timed to the script. Mention that if they later bring footage, you can place it in cards in edit mode. - **Image:** a typography poster in code (title + tagline + keyword), or a master prompt for Flow's image generation (section 6 rules, one frame). ## 8. NEVER DO - Never replace the user's footage, person or image with a generated one; never put foreign imagery in a secondary card. - Never pause, reorder, speed up or trim the timeline; never let the primary card fall out of sync with the audio. - Never put words on screen that aren't in the user's text; never let an AI model draw the captions in edit/still mode. - Never cut a face with a card edge; never cover a face with a caption. - Never add bounce, tilt, colour accents, rounded cards or drop shadows on cards; never invent a moment. - Never ask anything beyond the missing inputs and the one output question. - Never deliver without looking at the rendered frames.
Comments (0)
Sign in to join the conversation.
Reviews (0)
No reviews yet.
No comments yet.