v2
latestOpenAPI 3.1.02026-07-26232135.9 KBVideo Captions
Add Captions to a Video
Create a captioned video from either an uploaded video file or an existing video ID.
You must provide exactly one of:
- video: A video file upload (.mp4 or .mov), max 50mb
- video_id: An existing video ID to add captions to
If providing video_id, the source video must have status COMPLETE before it can be captioned.
To fetch the captioned video, use the GET videos/{video_id} endpoint.
post/v1/videos/captions
Headers
x-api-keystring required
API Key for authentication
API Key for authentication
Response
Returns a Video object representing the captioning job
Example response
{
"completed_at": 1730822520,
"created_at": 1730822400,
"model": "mirage-video-1-latest",
"progress": 100,
"status": "COMPLETE",
"video_id": "video_abc123def456"
}