Add Captions
Videos
Add Captions
Add automatic captions to your videos with customizable styles and positioning
POST
Add Captions
Try it out! Use the API playground on the right to test the Add Captions endpoint directly.
Overview
Add Captions automatically transcribes your video and adds professional-looking captions with customizable styles. Perfect for:- Social media content (TikTok, Instagram Reels, YouTube Shorts)
- Accessibility compliance
- Increasing video engagement
- Multi-language content
- Educational videos
Captions are automatically synced with your video’s audio and support multiple styling presets.
Endpoint
Required Fields
string
required
Media ID of the video to add captions to (as a string)
Optional Fields
string
Custom name for the project (max 100 characters). If not provided, a name will be auto-generated.
string
Background music ID from
/v1/music/list (max 30 characters)object
Caption settings for the video
string
default:"en"
Language code for the video (2 characters). Example:
en, esstring
Webhook URL for status notifications (max 500 characters, must be HTTPS)
object
Custom metadata object (max 5KB JSON)
Request Examples
Basic Caption Addition
Advanced with Custom Styling
With Background Music
Response
Webhook Notification
When your captioned video is ready, we’ll POST to your webhook URL (if configured):Webhook Payload
Caption Presets
Available caption presets for thecaption.preset field:
Best Practices
Clear Audio
Ensure your video has clear audio for accurate transcription
Language Match
Set the correct language code for best transcription accuracy
Style Selection
Choose caption styles that match your content and brand
Positioning
Bottom alignment works best for most social media content
Error Handling
Next Steps
List Videos
View all your created videos
Video Details
Check your video processing status
Music Library
Browse available background music
Webhooks Guide
Learn how to handle webhook notifications
Authorizations
Body
application/json
Array containing exactly one video file
Required array length:
1 elementLanguage code for transcription (exactly 2 characters)
Required string length:
2Caption styling and positioning settings
Add AI-generated stickers to enhance video engagement
Background music ID from /v1/music/list
Maximum string length:
30HTTPS URL for status notifications (max 500 characters)
Maximum string length:
500Custom metadata object (max 5KB)