/skills:analyze-videofrom skills
Deconstructs a reference video into a reusable Seedance 2.0 prompting template for the Novoads API. Extracts style, pacing, camera work, and tone via local ffmpeg/whisper analysis, then generates a formula file for recreating the look with any product or person.
Ships in skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Someone found a video style they love. Your job is to deconstruct it into a reusable
prompting template — a formula they can plug any product, person or setting into and get
that same style back from seedance-2.0.
The output is not a single prompt. It is a formula file saved into
skills/novoads-api/prompting/prompt-library/, built the way
seedance-2-ugc.md is built: layers, variables,
option banks, rules, and a worked example, so the agent can generate unlimited prompts in
that style.
Nothing in steps 1 to 6 touches the API. Frame extraction, transcription and analysis are local work on the user's own file: no calls, no credits. Only step 7, the optional test render, spends anything, and it runs through the two gates in SKILL.md like every other generation.
There is a hosted alternative, and it is not the default. POST /v1/analyses reads an
uploaded ad into a structured breakdown (hook boundary, beat timeline, on-screen text,
casting, layer zones) in one synchronous call, at a flat fee per analysis that does not move
with length. Price it through POST /v1/estimates with {"kind":"analysis"} first. Two reasons it
is the fallback and not the front door here: the local path costs nothing and reads the whole
runtime, while /analyses defaults to the first 20 seconds (120 is the ceiling, and raising
it trades hook precision for coverage). Reach for it when ffmpeg is not installed, when the
user wants zone labels rather than prose, or when the frame read has already failed. Offer it
with the price attached and let the user choose; never substitute it silently for step 1.
The 15-second constraint is the whole design problem. seedance-2.0 and
seedance-2.0-mini take any integer 4 to 15 seconds, and the reference video is usually
30 to 60. Your template has to distil the style into what fits one 15-second clip, and say
how to recreate the longer arc across a series of clips.
brew install ffmpeg on macOS.pip3 install openai-whisper. If it
is unavailable, ask the user to paste the dialogue instead.Neither is a Novoads dependency. Both run locally on the user's file.
REST key required. A Novoads MCP connector is not a substitute. If
NOVOADS_API_KEYis missing or still the placeholder, stop before any generation work and tell the user: "Before continuing, create an API key at https://novoads.ai/dashboard/settings?tab=api and paste it into.env." That holds even whenmcp__novoads__*tools are connected and authenticated in the session. Never callmcp__novoads__*tools from this repo's workflows: they are a different surface with different tools and behavior. Repo installs verify with./scripts/check-novoads-env.sh; a solo install checksNOVOADS_API_KEYin the environment.
Pack version. Every /v1 response carries X-Novoads-Pack-Version; mention a newer pack at https://github.com/novoads/agent-skills only when that header names a version NEWER than this file's metadata.packVersion — equal or older is nothing to say, and it is never a reason to stop.
.mp4, .mov, .webm or similar.car-review, unboxing-hype,
skeptic-converted. If they do not give one, name it from what you observe.bash "skills/analyze-video/scripts/extract-frames.sh" \
"<video_path>" "/tmp/video-analysis" <num_frames>
Frame count by source duration:
| Source duration | Frames |
|---|---|
| Under 10s | 8 |
| 10–20s | 12 |
| 20–30s | 16 |
| Over 30s | 20 |
Read metadata.txt for duration, resolution and fps.
Try, in order:
whisper CLI: whisper /tmp/video-analysis/audio.wav --model base --output_format txt --output_dir /tmp/video-analysisThe transcript is where pacing lives: speech rhythm, filler words, how dialogue interleaves with action. All of that defines the style, and all of it has to survive into the template.
Read the shipped formulas before you write one. They are the standard your output has to meet:
And the platform guide, which every one of them defers to:
Notice what they share:
{{VARIABLES}}.startImageAssetId or referenceAssetIds — at the top.Your template has to hit that depth to be usable.
Read all the extracted frames. You are not describing one video; you are isolating the transferable pattern.
For every dimension ask: "is this specific to THIS VIDEO — the person, the product, the room — or is it THE STYLE?" Only the style goes into the template. The specifics become variables.
The most important pass. After cataloguing everything above, name the 2–3 things that separate this from a generic UGC clip or a generic product review — the pacing, the hook format, the way the product enters frame, the edit rhythm. Those become the core of the template; everything else is scaffolding.
Before building anything, map the style onto one clip:
Every formula in this library declares one, because they are mutually exclusive on the API and the choice follows from the style:
| If the style… | Mode | Why |
|---|---|---|
| opens on the product itself, held up or sitting on a surface | startImageAssetId | the product photo is literally the first frame |
| builds a scene the product was never photographed in — a void, a splash, a studio set | referenceAssetIds | the model has to composite it, not animate a flat photo |
| holds one person across a series of clips | referenceAssetIds | @Image1 the product, @Image2 the person — Seedance re-casts on every cut, and a repeated description does not hold a face |
Write the answer into the template. A formula that leaves the mode open produces prompts
whose @Image1 tokens point at nothing.
Create a self-contained markdown file. Someone should be able to read it and write prompts in this style without ever seeing the source video.
# [Style name] — Seedance 2.0
**Use when:** [the kind of video this produces]
**Model guide:** read [seedance-2.md](../novoads-api/prompting/prompt-library/seedance-2.md) first for the request fields, the grid,
and the platform rules.
**Mode:** `startImageAssetId` or `referenceAssetIds` — say which, and what each `@ImageN`
slot holds. The two are separate modes and a body carrying both is a `400`.
## What defines this style
[2–3 paragraphs of theory. This is what lets a prompt writer make good variable choices
instead of filling blanks.]
## Things to know before you write a word
[The route-specific traps. If the style speaks, say that the line is rendered and
lip-synced in this same call and that gate 1 applies. If it is silent, say that silence has
to be declared in the prose.]
mandatory.]
## The structure
[The layers of THIS style. Do not force-fit the 9-layer UGC model. Five layers, twelve
layers — let the video decide.]
## Layer-by-layer formula
### Layer N: [Name]
[What this layer does and why it matters here.]
**Pattern:**
\```
[The repeatable sentence shape with {{VARIABLES}}]
\```
| Variable | Options | Notes |
|---|---|---|
| `VARIABLE_NAME` | option 1, option 2, option 3 | [guidance] |
### [... more layers ...]
## Beat structure (one 15-second clip)
[The 3-beat framework: hook, core, kicker. Which beats speak and which are silent. Two to
three spoken lines total.]
## Multi-clip strategy (if applicable)
[How to split across 2–3 clips, what each one covers, and what holds identity across them:
the same `referenceAssetIds` in every call plus the actor tag repeated verbatim.]
## Tone and pacing guide
[Energy, speech patterns, rhythm, with a pacing-cue bank specific to this style.]
## Technical specs
[Lighting, camera quality, audio character — including the flaws that make it authentic.]
## Complete template
[One copy-paste block for ONE 15-second clip, every variable marked {{PLACEHOLDER}}.
Max 3 beats, max 2–3 spoken lines. This is the unit.]
## Example prompt
[The template filled in for a DIFFERENT product, person and setting than the source video.
Price it at POST /v1/estimates before shipping it.]
## Adaptation checklist
[The style-specific checks, then the standard ones from seedance-2.md.]
## Generating from this template
[The call sequence — see step 7 of analyze-video for the block to paste here.]
These are not style preferences. Each one is a defect found in a shipped formula, and a template that omits them manufactures the same defect in every prompt written from it.
Every prompt is one clip of 4 to 15 seconds. If the style needs more, the template ships a multi-clip strategy — never a longer prompt.
Keep prompts between 100 and 260 words. Shorter prompts produce vague results; longer ones overwhelm the model and cause it to lose focus on key details. Do not pad to hit the floor and do not cut a beat's framing to stay under the ceiling.
Variables are curated choices, not blanks. "Any lighting" is useless. "Natural window light, overhead kitchen light, golden-hour balcony light" is a decision the writer can actually make.
Declare the mode and address references as @Image1, @Image2, … The tokens resolve
positionally against referenceAssetIds in the order the array is sent, and a token
pointing past the end of the array is refused before the charge. If the style uses a
start frame instead, say so and use no tokens at all.
If the style is silent, say so in prose — a silent product film with no spoken dialogue, silent b-roll. Seedance renders audio from the prompt, so a film that never
declares silence can come back with an invented voice on it. Do not put on-screen text in
double quotes and call it done — the model reads a quoted string as a line to speak.
No forbidden words: cinematic, professional, stunning, 8k, studio,
perfect. Nothing on the API rejects them and the estimate names only three: this is craft advice, and the
reason to drop them is the render. Replace one with the real thing: the light source,
the surface, the flaw.
Prose, never a bulleted prompt. A run of Label: value pairs or - lines comes back
rendered as literal text on screen. Use timestamps — [00:00], [00:05] — for
multi-beat pacing instead.
One primary action per shot, with two or three comma-joined cues on it. A second
action chained with then / and then / followed by renders as a smear. Split it into
two shots.
Repeat the actor tag verbatim. the same woman resolves to nobody; identity does not
carry across a cut.
The example must use different content than the source. If the source was a woman reviewing a serum in her bedroom, the example is a guy reviewing a protein bar in his kitchen. That is what proves the template generalises.
Dialogue has to fit. Count the words: 2.0 per second measured, so a D-second
clip holds about 2.0 × (D − 0.5) once the leading silence is paid for. If the source
talks fast, say so in the template and keep each line punchy.
No credit numbers anywhere in the template. Prices come from a live
POST /v1/estimates in the session that spends them. A template that quotes a number
teaches the next agent to skip the call.
skills/novoads-api/prompting/prompt-library/seedance-2-<style-name>.md.If they say yes, write the prompt for a different product, person and setting than the source — that is the actual test — and run step 7.
The template is the deliverable; this step only proves it. It runs the full sequence from SKILL.md, and both gates apply.
Upload the product photo if the prompt references one:
curl -sS -X POST https://api.novoads.ai/v1/uploads \
-H "Authorization: Bearer $NOVOADS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"contentType":"image/jpeg","sizeBytes":248193}'
then PUT the raw bytes to the uploadUrl it returns, sending back exactly the
headers it returned. The assetId is ready once the PUT answers 200, nothing to
poll; reuse it across calls and models: upload once and keep the id.
Price it — gate 2. POST /v1/estimates with kind: "video", the prompt, the
model and durationSeconds. It charges nothing and it is the only source of a price. It also
returns an advisory warnings array of craft notes (verified live 2026-08-04) — read them,
but they are substring matches that false-positive, and the checklist above is still the
real quality gate. Show the number and get a yes before spending.
Confirm the spoken line — gate 1, if the clip speaks. Numbered beats, word count
against the duration, the language you are sending, an explicit yes. Approving the
template is not approving the sentence.
Generate:
curl -sS -X POST https://api.novoads.ai/v1/videos \
-H "Authorization: Bearer $NOVOADS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "seedance-2.0", "idempotencyKey": "<a new one per render>",
"prompt": "<the filled-in prompt>",
"durationSeconds": 15,
"aspectRatio": "9:16",
"language": "en",
"referenceAssetIds": ["<assetId>"],
"productId": "<uuid>"
}'
Swap referenceAssetIds for startImageAssetId if that is the template's mode. Never
both. A template where someone talks renders on omni-flash instead: durationSeconds the shortest of the lengths GET /v1/models lists that holds its line (4, 6, 8, 10, 12 or 15 today; 12 and 15 from text, 1 to 3 pictures or a first frame alone), and no mini draft (A scene where someone talks in the Omni guide). Returns 202 with jobId and creditsCharged.
Poll GET /v1/generations/{jobId} every 15 seconds until a terminal status —
succeeded, failed, blocked or canceled. Not until succeeded: a loop waiting
for success never returns on a job that died. seedance-2.0 usually takes 3 to 8
minutes, most often around 5; seedance-2.0-mini 2 to 3.
Download GET /v1/generations/{jobId}/watch, save under
outputs/<descriptive-subfolder>/, and open the folder so the user can watch it.
Draft on seedance-2.0-mini first, unless someone talks (above). It is the same grid, the same fields and the same
prompt at about a fifth of the price, back in 2 to 3 minutes — and since the assetId can be
reused, the final render on seedance-2.0 reuses the same upload. A template validated on
mini is a template validated.
Paste this block into every template you generate, so the formula carries its own call sequence:
## Generating from this template
1. Upload the product photo: `POST /v1/uploads`, then PUT the bytes to `uploadUrl` with its `headers` byte for byte. The `assetId` is ready once the PUT answers `200`, nothing to poll; reuse it across calls.
2. Price it: `POST /v1/estimates` with `kind: "video"`, `model`, `durationSeconds`,
`prompt`. It charges nothing, it is mandatory, and it is the only source of a price — show the number out loud
before spending.
3. Confirm the spoken line with the user if the clip speaks (`SKILL.md` gate 1).
4. Generate: `POST /v1/videos`
\```json
{
"model": "seedance-2.0", "idempotencyKey": "<a new one per render>",
"prompt": "<your filled-in prompt>",
"durationSeconds": 15,
"aspectRatio": "9:16",
"language": "en",
"referenceAssetIds": ["<assetId>"]
}
\```
`startImageAssetId` instead if that is this formula's mode — never both, that is a `400`. Where someone talks: `"model": "omni-flash"` and `durationSeconds` the shortest of the lengths `GET /v1/models` lists that holds its line (4, 6, 8, 10, 12 or 15 today; 12 and 15 from text, 1 to 3 pictures or a first frame alone); a longer part splits (the `novoads-api` skill's decision tree).
5. Poll `GET /v1/generations/{jobId}` every 15s until a terminal status, then download from
`GET /v1/generations/{jobId}/watch`.
Every clip in a series is its own call and its own charge. Ten generations per
organization may be in flight at once (API 2.51.0).
referenceAssetIds), kling-3.md for kling-v3-pro (vendor craft; the body is in reference.md), and the Omni Flash guide for omni-flash; wan-3.0 has no guide here, so its grid is the POST /videos table in reference.md. A template whose first spoken word has to land immediately goes on omni-flash like any talking clip, with its opening checked and trimmed if it opens quiet; sora-2.md, the model that measured none, was removed from the API in 2026-09 and is kept as history.skills/novoads-api/
├── SKILL.md ← router: decision tree, gates, full sequence
├── reference.md ← endpoints, fields, limits, errors
└── prompting/
├── guide.md ← marketing brief → API
├── brand-voice-starter.md ← template to copy into MASTER_CONTEXT.md
├── analyze-video/
│ ├── SKILL.md ← THIS FILE — video → reusable template
│ └── scripts/extract-frames.sh ← ffmpeg frame + audio extraction
├── clone-video-ad/
│ └── SKILL.md ← video → adapted video for the user's product
└── prompt-library/
├── seedance-2.md ← Seedance 2.0 platform guide (read first)
├── seedance-2-ugc.md ← 9-layer UGC formula
├── seedance-2-premium-reveal.md ← dark-void premium reveal
├── seedance-2-product-hero.md ← elemental product hero
├── seedance-2-studio-lookbook.md ← studio lookbook with voiceover
├── seedance-2-feature-walkthrough.md ← feature walkthrough demo
├── ugc-product-selfie.md ← image formulas (product selfie)
├── product-showcase.md ← image formulas (product showcase)
├── influencer-recreation.md ← image formulas (likeness)
├── character-sheet.md ← image formulas (character consistency)
├── character-sheet-gpt-image-2.md ← the same on gpt-image-2
├── nano-banana.md ← image formulas (Nano Banana Pro)
├── veo-3-1.md · sora-2.md ← Veo's grid; Sora's, kept as history (removed 2026-09)
└── kling-3.md · ugc-selfie-style.md ← Kling 3.0 is on the API as `kling-v3-pro` (2.38.0); the selfie guide is cross-model
New formulas you write land in prompt-library/ beside the Seedance files, and get a row
in seedance-2.md's style directory.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub novoads/agent-skills --plugin skills18 skills in this plugin
/broll-overlayOverlays silent b-roll cutaway clips onto a finished base video — the base audio keeps running underneath while the picture cuts away and returns, and the final duration always equals the base duration. Use when the user asks to add b-roll, add cutaways, or overlay clips on a video: "add b-roll to this", "cut away to a product shot here", "overlay these clips on my UGC ad". Entered from an approved base video plus its transcript, which comes from POST /v1/transcripts and needs no local install; it never generates the base itself and it never extends a video./caption-videoBurn timed, styled captions into a finished video on the local machine, without re-rendering the source. This is the manual fallback to the API's captioning endpoint, POST /v1/captions, which stays the default path: come here when the style the user wants is outside the API's presets, or when the source was rendered with audio disabled and the API refuses it. Transcribes the audio with Whisper, groups words into reading phrases, renders the captions in a real browser via HyperFrames, and composites them over the source with ffmpeg using a real alpha channel. Use when the user has an MP4 with speech and asks to add captions, subtitles, burned-in text, TikTok-style captions or word-by-word text to it, and the API path has been ruled out. Runs out of band, so it costs no credits and works on any video file whoever generated it. Not for generating video (use the video skills) and not for a separate .srt/.vtt sidecar file./change-voiceReplaces the voice in a video or audio file with one from the Novoads voice catalog, over the REST API. Converts the SPEECH in the source to a voice you pick, keeps the original timing so lip-sync survives, and returns audio that gets muxed back over the untouched picture locally. Casts by MEASURING the source voice against auditioned candidates instead of reading labels, refuses a source with no speech before anything is charged, fences sound effects and music so they survive from the original track, and verifies the finished file by transcribing it. Use when an actor's voice sounds robotic, flat, thin or simply wrong, and for "change the voice", "voice swap", "swap the voice on this ad", "re-voice my ad", "the actor's voice sounds bad", "make him sound human", "different voice for this video", "speech to speech", "same video better voice". Not for narrating a silent clip (that is a voice-over), not translation, and it changes neither pronunciation nor accent./chatgpt-image-adGenerate one or more standalone Meta image-ad creatives via ChatGPT Image 2 (gpt-image-2) through the Novoads API. Locks the model, auto-strips platform chrome, enforces edge-safe layouts and glyph-safety inside body text. Use when the user asks for a "gpt-image-2 ad", "ChatGPT Image ad", "Image 2 ad creative", "make a static image ad with GPT", or anchors on a need for typography-heavy / dense-text / UI-mimicry ad creatives (chat threads, comparison tables, fake search results, iOS dialogs, Slack snapshots, ChatGPT-conversation ads, Apple Notes lists). Does NOT trigger on Nano Banana cues — use nano-banana-image-ad for those./claymation-adBuilds a hand-sculpted stop-motion CLAY ad on the Novoads REST API as a STORYBOARD: five to eight beats, each rendered from its own key frame, a storyteller narration laid into the gaps, a music bed, captions burned on, assembled locally with ffmpeg. Carries the genre's arc (named protagonist, inciting moment, social beat, quiet despair, sculpted clay infographic, discovery, transformation, resolution card), and also recreates a found clay ad by reading the reference video locally with ffmpeg and Whisper. Use for ANY clay or stop-motion ask at ANY length: "claymation ad", "stop-motion ad", "clay ad", "a quick clay ad", "plasticine characters", "make an ad like this clay one", or a reference video with sculpted clay characters in it. There is no one-call tier here, so ffmpeg is required. Not for the smooth 3D animated look (use pixar-ad, which covers every Pixar-style length), talking-head UGC (novoads-api), or a static image ad./clone-image-adClones a STATIC IMAGE ad into finished ads for your own product, into a reusable prompt TEMPLATE, or both — the template is what makes the ads and the ads are what prove the template. Round-trips the frame through gpt-image-2 or nano-banana-pro until it reproduces, replaces every brand-specific with a {placeholder}, then fills it with your product pinned to a real photo. Use for "clone this ad for my product", "rebuild this competitor's ad for us", "make me ads like this", "reverse engineer this ad", "make this ad reusable", "add this to my prompt library", or "clone my competitors' ads" with NO file attached — it sources one via spy-competitor-ads rather than asking which. **Among cloners the source's medium decides**: a still, or nothing attached, lands here; "clone this ad" plus a VIDEO is clone-video-ad. NOT for generating an ad from a brief (chatgpt-image-ad, nano-banana-image-ad), nor animating a still as-is (image-to-motion). Refuses to render your product without a real photo of it.Other plugins' skills for the same job