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.
Headers
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-avatar-x",
"progress": 100,
"status": "COMPLETE",
"video_id": "video_abc123def456"
}Changes
Changed in 2 of the 14 revisions of this API.122
- ▲
the
response property const valuemirage-video-1-latestwas removed for the statusresponse-property-const-removed
- ●
added the new
mirage-avatar-xenum value to the/response property for the response statusresponse-property-enum-value-added
- ●
added the new
mirage-video-1-latestenum value to the/response property for the response statusresponse-property-enum-value-added
- ▲
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○