Caption Studio · публичный навык Open Skill
Caption Studio
Caption Studio — публичный Open Skill на Digen. Откройте, чтобы увидеть, что создаёт этот процесс.
Custom
475 6 39
https://cdn.agent.digen.ai/skill-covers/dev/admin/1/2026-10-19/k94spp6w.gif
# Caption Studio
Captioning tool: a video plus a style (and optional overrides) in, a new MP4 with burned-in captions out. 21 preset styles, default `hormozi`. No structured state.
## When to use
| Scenario | Example request | Route |
|---|---|---|
| Short-form / burn-in captions | "Add TikTok captions", "Reels/Shorts subtitles", "CapCut-style captions", "add subtitles to my video" | Main flow |
| Word-by-word / hype captions | "Hormozi captions", "MrBeast style", "big bold words that pop" | Main flow, Bold / Hype styles |
| Karaoke highlight | "Highlight each word as it's spoken", "lyric-style captions" | Main flow, Karaoke styles |
| Podcast, interview, talking-head | "Caption this podcast clip", "clean subtitles for my interview" | Main flow, Clean / Karaoke styles |
| UGC ads and product videos | "Captions for my UGC ad", "make the hook readable" | Main flow |
| Restyle / tweak | "Switch to karaoke-yellow", "make them red", "move to top" | Main flow + `custom-style.md` |
| Bilingual subtitles | "English + Spanish subtitles", "add a translated line under the captions" | `bilingual.md` |
| Translated subtitles only | "Translate the captions to French", "replace the subtitles with Japanese" | `translate.md` |
| Fixed text at a time/position | "Show 'SALE' at 0:03–0:06, top" | `manual-text.md` |
| Called by another skill | Input includes `video` + `style_id` (+ `skip_confirm`) | `call-contract.md` |
**Not for:** transcript or SRT text only, text-to-speech, or cutting/editing footage.
## Reference files (read on demand; never all at once)
| File | Contents | Read when |
|---|---|---|
| `references/styles.md` | 21 styles: category, colour family, look, use case, template, size | Recommending or confirming a style |
| `references/styles-detail-1.md` / `-2.md` / `-3.md` | Full spec + base call (rows 1–7 / 8–14 / 15–21) | A style is chosen. Read only the file that contains it |
| `references/style-picker.md` | Scenario sets, diversity rules, preview asset ids, card lines, `set_guidance` format, "Show all styles" | Recommending styles |
| `references/call-contract.md` | Caller inputs and outputs, `caption_video` mapping, failure handling | Before every render |
| `references/custom-style.md` | `custom_template` whitelist, rejected aliases, mapping, ASS colours, fonts, priority | Custom looks or caller style overrides |
| `references/bilingual.md` | Word-level main captions + second-language line (below or on top) | Bilingual |
| `references/translate.md` | Translated-only sentence subtitles that approximate a style | Translate or replace captions |
| `references/manual-text.md` | Exact text at a given time and position via `mix_clips` | User-specified text |
## Steps
1. **Get the video.** Use a real asset_id, `s3://`, or https. If there is none, ask for an upload. Never invent one. Run `probe_media(url)` for `has_audio`, duration, width/height, and orientation.
2. **Run ASR first.** Call `extract_audio(url=<video>, format='m4a')`, then `transcribe_audio(audio_url=<audio>, model='asr')`. The transcript gives the spoken language, confirms speech, and supplies proper nouns for `dictionary`. If there is no speech, say so and switch to `manual-text.md` or stop.
3. **Analyse and recommend (hard gate).** Read `style-picker.md`. Recommend **exactly 6 diverse styles** from the transcript (topic, tone, pace) and the `probe_media` facts (orientation, duration). **Skip `extract_frame` by default.** If you do use it and it fails, continue silently and never mention the failure.
- **Message body:** a short intro and one line per pick (name, id, why it fits). Do **not** put markdown images in the body; the image cards show the previews.
- In the same final turn, call `set_guidance` with one image card per pick followed by the text rows (see Guidance below). Each card references its preview by asset id (`"src":{"kind":"asset","asset_id":"<preview asset id>"}`, ids in `style-picker.md`); the chat presigns it. Do not call `get_presigned