Make one image, one clip or a full edited video (an ad, a UGC-style promo, an explainer, a product demo) with generate_image, generate_video and generate_speech, then cut, voice, caption and check it with ffmpeg. The person approves a storyboard and its price before any clip is made. Use when the person asks for a video, a clip or a video ad, or to edit or stitch their footage.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Video Studio?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/milind-soni-video-studio)
---
name: video-studio
description: "Make one image, one clip or a full edited video (an ad, a UGC-style promo, an explainer, a product demo) with generate_image, generate_video and generate_speech, then cut, voice, caption and check it with ffmpeg. The person approves a storyboard and its price before any clip is made. Use when the person asks for a video, a clip or a video ad, or to edit or stitch their footage."
---
# Video studio
## Pick the size of the job
| The person wants | Do this |
|---|---|
| One image | `generate_image`. It is attached to your reply. |
| One clip | `generate_video`, then `attach_file` the clip. When it may cost over about $1, call it with `quote: true` first and say the price. |
| A full video: an ad, a promo, an explainer, a cut of their footage | The production below. |
For one clip, ask nothing you can default: 5 s, 720p, 9:16 for phones and social, 16:9 otherwise. Describe one shot in
the prompt: subject, action, camera, light and sound. When they give an image, pass it as `first_frame`.
## The production
Keep everything for one video in `videos/<slug>/` in your working folder, with `project.json` at its top. Paths inside
project.json are relative to that folder. Tools take paths relative to your working folder, so put `videos/<slug>/` in
front when you pass one.
Free steps run without asking. Two things wait for the person: Go on the storyboard, before any clip is paid for, and
their OK on the final cut before it is posted, published or sent anywhere. At every other fork, offer a recommended
option first. When they asked for no questions, take the recommended options and stop only at Go. After you show a
widget or the storyboard, end your turn. The answer comes as their next message.
This guide loads only on turns where the person's message names the video work, and a tap on a widget sends just the
button's words. So when a full video starts, read this file into the conversation once with your shell:
`cat "<root>/SKILL.md"`, where `<root>` is this skill's `root`. At the start of every later turn of the production,
read project.json.
1. **Brief.** Take the goal, a link and any files from one message. Read the link. Save product screenshots and the
logo to `refs/`. Show the facts as a `show_widget` Card with the product's name, price and three claims, and a
confirm button. Scraped facts go wrong, so only confirmed facts go in the script.
2. **Setup.** One `show_widget` per question the brief left open, the recommended option first. Placement sets the
aspect and length (`Reels or TikTok, 9:16, 30 s`). Format: testimonial, demo, unboxing or skit. Look: phone-shot and
natural, polished studio, or animated. Creator: made up, the person's own face, or none.
3. **Hooks.** Write three angles with three hooks each, numbered, in your message. Mark the one you would pick.
4. **Script.** Beats: hook, problem, demo, proof, call to action. About 70 words for 30 s. Show a table of each beat's
seconds, line and shot idea, and ask them to approve or edit it.
5. **Cast.** Make two to four creator stills holding or using the product with `generate_image`, `save_as`
(`refs/creator-1.png`) and the product shot in `references`. Write one detailed description of the creator and
repeat it word for word in every later prompt; once a creator is picked, pass that still in `references` too. `save_as` keeps an image out of the chat, so `attach_file` each still, then ask which one with a widget. The
pick goes in `references.creator`.
6. **Storyboard and quote.** Give every shot a first frame. Make it with `generate_image` and `save_as` for a
generated shot, or grab it from a screen recording:
`ffmpeg -y -v error -ss 2 -i screen/app.mov -frames:v 1 stills/s3.png`. Make each beat's voiceover with `generate_speech` and `save_as` (`audio/b1.mp3`). Set each beat's
seconds to its returned length plus about 0.3 s, and fit its shots to that. Quote each generated shot with
`generate_video` and `quote: true`, with the settings you will render with. Show the storyboard (below). Nothing
animates until the person taps Go.
7. **Render.** Call `generate_video` for every shot at once, each call with `first_frame` its still, `references` the
creator still and up to three product images, `seconds` at least the shot's length, and `save_as` its take
(`takes/s1-a.mp4`). Assembly trims the rest. Make two takes of the hook shot and one of every other shot. Record
each result's path, model and dollars in the shot's `takes` and in the `ledger`, and update the storyboard as shots
finish. When a call fails, say so, keep the rest, and never retry it without a new quote.
8. **Assemble.** Pick the better hook take by looking at a contact sheet of each, made as in the checks. Then follow
`assembly.md`, next to this guide: cut, join, voiceover, music the person gave you, captions from each beat's line
and audio length, and loudness. Use HyperFrames for designed title cards and moving captions.
9. **Check.** Run the checks at the end of `assembly.md` and look at the frames yourself. Then `attach_file` the final
MP4, and say which shots it uses, what was spent from the ledger, and that one shot can be redone alone.
10. **Fix or vary.** To redo shot 3, quote it, render a new take under a new name (`takes/s3-b.mp4`), set `chosen`, and
assemble again from project.json. A new first 3 s for a hook test is the same with the hook shot and its line. For
1:1 or 4:5, run the assembly again at that size from the same takes. 16:9 from 9:16 needs new renders, so quote
them.
Use one voice for the whole video, from `generate_speech`, over clips made with `audio: false`. Make `avatar` shots,
where the creator speaks on camera with `audio: true` and the line in the prompt, only when the person wants the
creator talking. Say first that each clip may come out with a different voice.
## project.json
Write it at the brief and keep it current. Assembly runs again from this file alone, so a change to one shot touches
nothing else.
```json
{
"brief": { "goal": "Get freelancers to try Tally", "url": "https://tally.example", "placement": "reels", "aspect": "9:16",
"seconds": 30, "format": "testimonial", "look": "phone-shot", "creator": "made up", "cta": "Try it free",
"budgetUsd": 8, "facts": ["Sends an invoice from a photo of a receipt"] },
"references": { "creator": "refs/creator-2.png", "product": ["refs/app-home.png"], "logo": "refs/logo.png" },
"hooks": [{ "id": "h1", "angle": "problem", "text": "I lost a whole Sunday to invoices." }],
"chosenHook": "h1",
"beats": [{ "id": "b1", "role": "hook", "seconds": 3, "vo": "I lost a whole Sunday to invoices.", "audio": "audio/b1.mp3" }],
"shots": [{
"id": "s1", "beat": "b1", "seconds": 3, "kind": "generated",
"prompt": "Handheld selfie video, the creator at a kitchen table covered in receipts, sighs, looks into the lens",
"keyframe": "stills/s1.png",
"takes": [{ "path": "takes/s1-a.mp4", "model": "google/gemini-omni-1.2-flash", "usd": 0.35 }],
"chosen": "takes/s1-a.mp4",
"state": "chosen"
}],
"audio": { "music": "audio/music.mp3", "mix": "audio/mix.wav" },
"ledger": [{ "what": "s1 take a", "usd": 0.35 }],
"render": "renders/final-9x16.mp4"
}
```
- A beat starts where the one before it ends. A beat can hold several shots.
- `kind`: `generated` is a made clip, `screen` a real recording of the product, `title` a HyperFrames card, and
`avatar` the creator talking on camera with the clip's own sound.
- `state` moves through `planned`, `keyframed` (its still exists), `approved` (Go was tapped), `rendering`, `ready` (a
take is saved) and `chosen` (its take is in the cut).
## The storyboard
`storyboard.html` sits next to this guide. Copy it to `videos/<slug>/storyboard/index.html` and put each still beside it,
shrunk so the folder stays under 5 MB: `ffmpeg -y -v error -i stills/s1.png -vf scale=360:-2 -q:v 5 storyboard/s1.jpg`.
Replace only the JSON in its `storyboard-data` block:
```json
{
"title": "Tally, 30 s ad",
"project": "videos/tally-ad/project.json",
"aspect": "9:16",
"budgetUsd": 8,
"shots": [
{ "id": "s1", "beat": "Hook", "seconds": 3, "kind": "generated", "line": "I lost a whole Sunday to invoices.",
"still": "s1.jpg", "state": "keyframed", "takes": 2, "usd": 0.7 }
]
}
```
- `still` is a file beside `index.html`, a `data:` image URL, or empty. It is never a video.
- `usd` is the quote for all of the shot's takes, and what was spent once it has rendered.
- Show it with `show_html`, passing the folder as `path`, a `title`, and `live: true`. The card then refreshes when you
change the data during the render.
- Its Go button puts "Render the storyboard in ..." in the person's message box. Render when that message arrives.
## Rules
- **Money.** The request for a video does not approve its price. Go does. Until the person's Go arrives, every
`generate_video` call has `quote: true`, including when they asked for no questions. Quote again before every re-render, new take
or new version. Never retry a failed or refused call on your own. A call that was stopped may still bill, so say so.
Settings cap clips per reply and dollars per day. When a cap refuses a call, tell the person and never split calls to
get past it.
- **Turns.** `generate_image`, `generate_video` and `generate_speech` work only in turns the person started. Never
hand generation to a routine or a teammate. To give a teammate the finished video, to post it for example, pass it in
`coordinate_bots` `files`.
- **People.** Creators are made up, or the person's own face from a photo they gave you and agreed to use. Never make a
real public figure, anyone else who exists, or a look-alike appear. A made-up creator is acting, so keep every claim
to the confirmed facts and invent no results.
- **Software.** For an app or a website, a real screen recording beats a generated screen, which comes out wrong. Ask
for a recording, or screenshots to show with a push-in. Never generate the product's own screens.
- **ffmpeg.** Run `ffmpeg -version` when a full video starts. When it is missing, ask before installing it:
`brew install ffmpeg` on a Mac, `winget install --id Gyan.FFmpeg -e` on Windows, `sudo apt-get install -y ffmpeg` on
Debian or Ubuntu.
- **Files.** Clips and stills are working files. Attach only what the person should see, and never overwrite a take.
Record the path each tool answers with, not the one you asked for: an image keeps its real type's extension, and a
name already taken gets `-2`.