---
name: video-captions
description: Use when the inferred intent is to add on-screen captions or subtitles to a video — the spoken words shown on the picture. Structural signal: a video clip is in scope AND the user wants the words displayed. Phrasing varies ("add subtitles", "caption this", "burn in captions", "put the words on screen", "make it accessible", "add TikTok-style captions", "subtitle this in Spanish"). The PRIMARY path is the one-step VEED subtitler (transcribe + styled render in a single call); this skill is the decision tree for picking it vs falling back to a word-timing flow (word-level timestamps from a transcription tool) plus a custom HTML caption composition when VEED can't satisfy the request — custom/karaoke styling, audio-only input, a word-timed-data deliverable, or VEED erroring/rejecting the source. Delegates tool picks to model-recommendations.
category: video
---

# Video Captions

Two paths put captions on a video:

- **Primary (default): the one-step subtitler.** Transcribes the clip and renders styled subtitles into it in a single call — finished captioned video out. No separate transcription or burn-in step.
- **Fallback: word-timing + custom caption composition.** Get word-level caption timing, then render the captions as a custom composition with `spiral/render-video` (hyperframes-video Skill). More steps, but it handles what the one-step path can't.

**Always try the primary path first.** Only fall back when one of the explicit triggers below applies.

## Primary path — the one-step subtitler

Run **VEED Subtitles** (`fal/veed/subtitles`; **model-recommendations**, "Captions / subtitles on a video (default)"). Read its input schema to confirm exact field names and accepted values before you run it.

### Options — what's available and when to pick

| Choice               | When to pick                                                                                                                                                                                                                        |
| -------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Style preset**     | Clean / minimal for corporate, explainer, or talking-head; bold / animated for social and TikTok energy; handwritten / stylized for casual creator content. Pick by the look the user describes. Richer animated presets cost more. |
| **Position**         | Bottom by default; top when the platform has a bottom UI bar (e.g. TikTok) that would cover captions; center for emphasis.                                                                                                          |
| **Per-word styling** | When the user wants active-word emphasis — a base look plus a highlighted-word colour/font/weight.                                                                                                                                  |
| **Language hint**    | Set the spoken/source language to improve transcription accuracy; leave on auto-detect otherwise. Translation is a separate target-language control found in its input schema.                                                      |
| **Existing SRT**     | If the user already has an SRT (or you produced one), feed it in to **skip transcription** and just style + burn it.                                                                                                                |

Cost scales with preset richness, resolution, and duration — estimate the cost for long or high-res clips.

**Let the user choose the style — don't guess the preset.** Ask the user to choose from the presets the subtitler's input schema lists, animated (dynamic) and static (basic), showing previews when you can. Pass the chosen preset in the field its input schema names. Skip the question only when the user already named a specific style or gave custom-style instructions.

## Fallback path — when the one-step subtitler won't do

Switch to the word-timing flow when **any** of these is true:

1. **The primary path errors, times out, or rejects the source.** It has **no built-in provider fallback** (task retries are bounded) — if it fails, you must route here yourself rather than giving up.
2. **The input is audio-only** — there is no video to render captions onto.
3. **The deliverable is the word-timed caption DATA itself** (e.g. an SRT/JSON to hand off), not a finished video.
4. **Styling goes beyond the available presets** — karaoke active-word highlighting, a bespoke custom caption animation, or exact brand styling the presets can't match.

### How to run the fallback

1. Get word-level timings from a transcription tool with word timestamps, normalised to `{ text, start, end }` per word in milliseconds, as the **hyperframes-video** Skill's `captions.md`, "Getting word timing", describes (a dedicated word-caption tool works too). See **model-recommendations**, "Word-level caption timing", for context.
2. **Burn in / render** the captions with an HTML composition: load the **hyperframes-video** Skill and follow its "Word-timed captions" section for the TikTok-style word-highlighting recipe. Its styling is composition-side and differs from the one-step subtitler's presets.
3. Don't stop at step 1: the transcription returns timing data only, and the composition produces the finished video.

A transcript with only sentence- or segment-level timing is not enough: the renderer needs per-word timing in its normalised millisecond contract, so check the output shape and convert units before composing.

## Pipeline notes

- If you're captioning a clip that came from the long-video clipping tool (**long-video-clips** Skill) with its subtitle toggle already ON, the words are already baked in — only re-caption when the user wants a _different_ style.
- For translated subtitles, keep the source spoken language distinct from the target subtitle language. Read its input schema for the exact source/translation fields; set the target only when translation is requested. Existing SRT can also be translated; provide its source language when known.

## What this skill does NOT cover

- A plain transcript with no on-screen captions → **model-recommendations**, "Transcription".
- Translating or re-voicing the audio → the voice / dubbing entries in **model-recommendations**.
