movie (clean cinematic lower-thirds) and tiktok (bold word-by-word social style).
Works on any video you have a URL for — including videos generated here. (If you’re generating the video in the same breath, prefer make_video with captions: true — it chains both steps in one run.)
Arguments
| Argument | Type | Required | Default | Description |
|---|---|---|---|---|
video_url | string (URL) | yes | — | Publicly fetchable URL of the video to caption. |
style | string | no | "movie" | One of movie, tiktok. |
language | string | no | "auto" | Spoken-language hint for transcription. Default auto-detects. |
Example
Response
202 with run_id; poll GET /api/v1/runs/{run_id}. On completed:
output[0]— the captioned MP4, on durable storage.transcript— the full transcription text, stored on the run and full-text searchable viaGET /api/v1/generations?q=....
failed, the flat caption charge is refunded instantly.