{"id":116065,"plugin_id":"plugin_asdk_app_6ae37a13301c81919b3c62b884f60c6b","kind":"skill","collection_source":"plugin_package","comparison_source":null,"observed_at":"2026-11-25T18:15:57.583Z","digest":"d4668fef6c2fc3eaac8bb9ca172f808f9371904cc0f722a6daafdbce603c1f13","against":null,"payload":{"description":"Use when a video needs its spoken words on screen through Scenario via MCP: burned-in styled captions for a TikTok, Reels, or Shorts cut, ad captions for sound-off feeds, YouTube subtitles, an SRT sidecar, transcription of a clip's audio, captions translated into another language, karaoke or word-by-word styles, or restyling and correcting an existing transcript. Keywords: captions, subtitles, SRT, transcribe, karaoke, word-by-word, burn in, closed captions, translate video, caption style.","included_files":[],"name":"scenario-caption-studio","skill_md_contents":"---\nname: scenario-caption-studio\ndescription: \"Use when a video needs its spoken words on screen through Scenario via MCP: burned-in styled captions for a TikTok, Reels, or Shorts cut, ad captions for sound-off feeds, YouTube subtitles, an SRT sidecar, transcription of a clip's audio, captions translated into another language, karaoke or word-by-word styles, or restyling and correcting an existing transcript. Keywords: captions, subtitles, SRT, transcribe, karaoke, word-by-word, burn in, closed captions, translate video, caption style.\"\nlicense: MIT\n---\n\n# Scenario Caption Studio\n\n## Overview\n\nCaption Studio is one tool model, `model_scenario-caption-studio`: a video in, its speech\ntranscribed (Whisper) or an existing SRT applied, styled captions out, burned into the picture or\ndelivered as a soft track and an `.srt` sidecar. It translates into 18 languages and styles captions\nthree ways. Running that one member is this skill's whole purpose, so the id is named rather than\ndiscovered and `model_schema_get` starts the flow directly; availability differs per team, so a\nmember the team lacks is a gap to flag, not a cue to substitute. Connection and the core loop: see\nthe `scenario` skill.\n\nCaptioning is the last pass on a finished cut: assemble first (`scenario-video-assembly`), then\ncaption the master once. Captions carry the transcript only; text that must appear letter-perfect\nwithout being spoken (CTAs, prices, legal supers) is `scenario-text-overlay` territory. If a sibling\nskill named here is missing from your available skills, load it with `skill_get` (Scenario MCP) or\nask the user to install it (https://github.com/scenario-labs/skills#install); unattended, proceed\nfrom tool schemas and flag the gap.\n\n## Ask once, then caption\n\nThe destination decides nearly every parameter, so collect one round of answers before touching the\nschema: where the video ships (a sound-off mobile feed, a paid placement, a seated long-form\nviewer), whether the spoken language stays or translates (`targetLanguage`, `auto` keeps it), brand\ncolors if any, and which deliverable the platform wants. The deliverable is three switches:\nburned-in pixels are `outputSubtitles: \"video_image\"` (the default), the toggleable track is\n`\"video_data\"`, the sidecar file is `outputSrt: true`, and an SRT-only pass is that plus\n`outputVideo: false`, the first pass when the words must be letter-perfect: it priced the same as a\nburn-in at authoring time, so it buys certainty rather than savings, proving the words before any\npixels are paid for. Then map the answers:\n\n| Destination                              | Style                                                                | Segmentation                                                                          | Position                                                      | Output                                                                         |\n| ---------------------------------------- | -------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------------------------ |\n| Social mobile short (9:16 Shorts, Reels) | `tiktok-bouncy` or `word-pop`; `karaoke-fill` when music drives      | `maxSegmentWords` 3 to 5; 1 with a karaoke preset                                     | `middle`: platform UI and native auto-captions own the bottom | Burn in                                                                        |\n| Ad short, performance cut                | `modern-chip` or `minimal-underline`, accents set to brand color     | 3 to 7 words per cue                                                                  | `bottom`, or `top` when an end card or overlay sits below     | Burn in for sound-off feeds; add `outputSrt` for the platform's caption upload |\n| YouTube long-form, tutorial, interview   | Default look or `cinematic-fade`; restraint reads as professionalism | `maxLines` 2, `maxSegmentChars` 84 (two 42-character lines, the broadcast convention) | `bottom`                                                      | `outputSrt` for the platform's closed captions; burn in only for re-embeds     |\n| Cinematic piece, trailer, festival cut   | `cinematic-fade`                                                     | Sentence-length cues, `maxSegmentDuration` about 6                                    | `bottom`                                                      | Burn in                                                                        |\n\nRows are authoring-time starting points to confirm with the user, not platform contracts;\nunattended, the task's own instructions answer the interview and the matching row's defaults fill\nwhat they leave unsaid. The per-placement safe zones behind the position column live in\n`scenario-formats`. `middle` renders at frame center, which on a centered talking head is the mouth:\ncaption a selfie cut only once its face sits in the upper third (reframe in assembly), because the\nschema offers no lower-third position. An uploaded track beats burn-in for long-form because viewers\ntoggle and restyle it, assistive tech reads it, and platforms index it for search; burn-in wins\nwherever the style is the point or a track cannot travel with the file.\n\n## The style ladder\n\nThree tiers: `stylePreset` picks a ready-made look (7 presets, empty for the default); `stylePrompt`\ndescribes a look in plain words and builds a matching style (it carries `cost_impact`); `themeTsx`\nsupplies a full custom theme that replaces the preset, with `stylePrompt` then refining that theme.\nThere is no font parameter: type rides inside the tiers, and it is the strongest signal a style\nsends, so when the type itself must carry the mood or the brand, put the intent into `stylePrompt`\nin plain words (the weight, the letterform class, the feeling: \"heavy condensed sans, high-energy\",\n\"light geometric sans, quiet and premium\"); an exact brand face is `themeTsx` territory, and\n`scenario-text-overlay` chooses faces by meaning for the text cards around the captions. Presets\nalso restyle the words themselves: an authoring-time run of `tiktok-bouncy` uppercased every\ncaption, and the other presets are unverified for casing, so when exact casing matters (a product\nname, \"LoRA\") steer with `stylePrompt` or `themeTsx` and verify a frame before delivering.\n`fontColor` sets the body text (contrast beats aesthetics: white body text survives every backdrop\nthe presets put behind it), and `accentColorStart`/`accentColorEnd` drive the highlight animation\n(karaoke fills, pops): spend the accent on one thing, usually the brand color, with equal values for\na solid and different values for a gradient. Auto sizing (`fontSizePx` empty) rendered words about\n30 pixels tall on a 1080x1920 frame at authoring time, unreadable on a phone feed: for vertical\nsocial set `fontSizePx` explicitly (60 to 90 on a 1920-tall frame is the authoring-time starting\npoint) and judge a frame at phone scale. `outputTsx: true` returns the theme a run used, so a look\nthat landed can be replayed exactly on the next video.\n\n## Getting the words right\n\n- When narration was authored, retain that script as the wording reference. Compare the transcript\n  against it for missing, repeated or altered words before burning; a spelling hint is not that\n  comparison. Derive cue times from the actual recording, not word count or the planned shot\n  duration. Correct the SRT through the supported input below; do not invent a script-alignment\n  parameter.\n- `transcriptionPrompt` is a spelling hint, not a style field: list the names, brands, and jargon\n  the audio contains. The hint raises the odds without guaranteeing them (an authoring-time run\n  misspelled a hinted name twice), so check the transcript for every required name before trusting a\n  burn-in, and on a miss retry with `large-v3` or a sharper hint.\n- `modelSize` trades accuracy for speed and cost (`cost_impact`): the `medium` default is fine for\n  clean voiceover; step up to `large-v3` for noisy audio, accents, or dense terminology; `.en`\n  variants are English-only.\n- The model transcribes whatever audio the master carries, so balance the music bed against dialogue\n  before captioning (`scenario-video-assembly`), never after.\n- Corrections and restyles ride the `subtitles` input, whose contract is inline content, not a\n  reference (authoring-time): pass the SRT text itself, base64-encoded, as the value. An `asset_...`\n  id is not dereferenced there; the id string is base64-decoded as if it were content, and the run\n  still reports success, bills, and renders zero captions (`segment_count: 0` in the job record is\n  the tell). Reuse is therefore: `outputSrt: true` returns the transcript as an asset,\n  `asset_download` it, correct spellings locally if needed, and feed the edited text back\n  base64-encoded, which also covers `upload_asset` having no text kind (authoring-time fact). The\n  SRT inherits the run's segmentation (a karaoke run returns word-per-cue), so re-chunk it locally\n  before an ads upload or a calmer restyle. Never deliver a `subtitles` run on job status alone:\n  sweep the output as the worked example reviews it, and when captions are missing, `asset_get` the\n  subtitles asset the job consumed to see what it received. The schema does not say whether\n  segmentation caps re-chunk a supplied SRT, so set segmentation when transcribing and omit the caps\n  alongside `subtitles`.\n\n## Worked example: a vertical social short, then a Spanish variant\n\n1. `asset_get` the assembled master: confirm duration and that it is the finished cut, since the\n   price tracks the footage (`video` carries `cost_impact`; trim first, `scenario-video-editing`).\n2. `model_schema_get` on `model_scenario-caption-studio`.\n3. Price it: `model_run` with `dry_run: true` and\n   `parameters={\"video\": \"<asset_id>\", \"stylePreset\": \"tiktok-bouncy\", \"maxSegmentWords\": 4, \"textPosition\": \"middle\", \"transcriptionPrompt\": \"Scenario, LoRA, Flux\", \"outputSrt\": true}`.\n   Re-estimate after changing `targetLanguage`, `modelSize`, `stylePrompt`, or `outputSubtitles`:\n   all carry `cost_impact`.\n4. Run it with `wait: false`, then `jobs_wait` with the `job_id`; on timeout re-call with the\n   returned `pending_job_ids`, never `job_get` in a loop.\n5. Review before deriving, since a successful job proves nothing about what rendered: download the\n   SRT sidecar with `asset_download` (no `format`: it converts images only; a run that returns both\n   video and SRT lists the two asset ids in no fixed order, and `asset_get` tells them apart by\n   `mimeType`) and check its text against the authored script and required names; then download the\n   video and sweep it into contact sheets (`ffmpeg -vf \"fps=2\"`), reading the burned captions for\n   spelling, casing, and placement. Inspect at the intended display size, including backing panels:\n   keep faces, hands, demonstrated actions and essential UI clear, and keep placement stable within\n   a cue. Listen against cue starts and ends; a correct transcript does not prove synchronization.\n   Sample frames immediately before and after cue boundaries as well as within them: reveals and\n   fades can exceed supplied SRT times, and a flash under 100 ms survives an `fps=2` sweep. If\n   strict boundaries are required, verify the actual theme or report the limitation; a correct\n   sidecar alone is not a pass. Check the final spoken word survives, comparing audio and video\n   streams separately; a shorter audio stream containing the complete narration may simply omit\n   trailing silence.\n6. Spanish variant: add `targetLanguage: \"es\"` to the same parameters, `transcriptionPrompt`\n   included, and `dry_run` again (it moves the price) before running. Translation happens inside the\n   run, so one master yields a variant per market. Latin-script segmentation caps do not transfer to\n   Chinese, Japanese, or Korean (streaming style guides run them at a third of the characters per\n   line), so revisit `maxSegmentChars` per target language.\n7. File the master, variants, and SRT assets in a collection (`scenario` skill) so the delivery set\n   stays findable.\n\n## Common mistakes\n\n- Captioning each clip before assembly: caption the finished master once, or cues drift across cuts\n  and every edit orphans its captions.\n- Expecting the preset look on the soft track: `video_data` renders as plain text the viewer\n  toggles; styling survives only when burned in.\n- Styling legal lines or CTAs as captions: disclosures carry locked wording, size, and dwell time\n  that caption logic would re-chunk and retime, and a toggleable track fails \"visible without viewer\n  action\" rules outright; exact unspoken text is a `scenario-text-overlay` card composited in\n  assembly.\n- Setting `maxSegmentWords: 1` without a karaoke or pop preset: one-word cues flash as a slideshow\n  unless the style animates them. With a pop preset (the ones that reveal words inside a cue:\n  `tiktok-bouncy`, `word-pop`, and the karaoke pair at authoring time), never end a cue on a\n  one-letter word: pop-in timing follows character count, so a trailing \"I\" or \"a\" showed for about\n  70 ms at authoring time. Re-chunking a supplied SRT means owning its timings too: a supplied SRT\n  carries cue times only, so a pop preset spreads its words evenly across each cue and the highlight\n  drifts from the voice wherever a cue outlasts the speech; keep each cue's end on the spoken span,\n  and extend only the last cue to the clip's end.\n- Treating a `jobs_wait` timeout as failure: re-call with `pending_job_ids`; video tool jobs outlast\n  the wait window routinely.\n"},"changes":[],"summary":"First saved snapshot. No earlier version is available for comparison.","summary_kind":"deterministic","summary_metadata":{}}