Skip to main content
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, es
string
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 the caption.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

x-api-key
string
header
required

Body

application/json
media
object[]
required

Array containing exactly one video file

Required array length: 1 element
language
string
default:en
required

Language code for transcription (exactly 2 characters)

Required string length: 2
caption
object
required

Caption styling and positioning settings

addStickers
boolean
default:false

Add AI-generated stickers to enhance video engagement

musicId
string

Background music ID from /v1/music/list

Maximum string length: 30
webhook
string

HTTPS URL for status notifications (max 500 characters)

Maximum string length: 500
metadata
object

Custom metadata object (max 5KB)

Response

Add Captions created successfully

success
boolean
data
object