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 50mbvideo_id: An existing video ID to add captions toIf 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.
API key for authentication.
Caption style template ID
"ctpl_yvE0ZnYzEj6ClCD2ee1f"
Video file to caption (MP4, MOV). Must be 9:16 aspect ratio. Max 50mb. Either video or video_id must be provided.
Existing video ID to add captions to. Either video or video_id must be provided.
Returns a Video object representing the captioning job
Represents a video object.
A video can be created via generation (image+audio) or captioning (adding captions to an existing video).
Video generation job ID
"video_abc123def456"
Current state of the video
PROCESSING, COMPLETE, FAILED, CANCELLED "COMPLETE"
When the video was created (unix timestamp)
1730822400
[Deprecated] Use "id" instead.
"video"When processing completed (unix timestamp)
1730822520
Progress percentage (0-100)
100
Error details if status is FAILED
null
Model used for generation (only for source='generation')
"mirage-video-1-latest""mirage-video-1-latest"
The input video that was captioned (only for source='caption')
"video_abc123def456"
Caption style template used (only for source='caption')
"ctpl_123456789abcdefg"