Captions / Create captions
Captions
Create captionsPOSTSign Morph
Create a morphPOSTVoice
Create speechPOSTSpeech to speech
Translate textPOSTAccount
Get your balanceGETCreate captions
Adds captions to a video in the background and answers 202 Accepted at once. You get an MP4 with burned-in captions plus SRT and VTT files. Billed at $0.99 / min of video of source video. Send the video as multipart video or upload it first with POST /v1/uploads.
Headers
AuthorizationstringRequiredBearer authentication of the form Bearer <token>, where the token is your API key (sk-live-… or sk-test-…).
Idempotency-KeystringOptionalAny unique string (up to 255 characters). A retry with the same key and body returns the first answer and is never charged twice. See Idempotency.
Request body
JSON or multipart/form-data.
typeenumRequiredMust be captions.
videofileOptionalMP4, MOV or WebM, up to 500 MB and 10 minutes. Or use video_upload_id.
video_upload_idstringOptionalAn upl_… id from POST /v1/uploads, instead of video.
captionsarrayOptionalYour own lines, { start, end, text } in seconds (up to 300). Leave out for an automatic transcript.
languagestringOptionalSpoken language of the video.
burn_inbooleanOptionalBurn captions into the MP4. Defaults to true.
resolutionenumOptionalOutput resolution.
Response
Returns a job. Poll Get a job or use a webhook. When succeeded, result holds:
video_urlstringOptionalThe captioned MP4 (with your key). download_url works without a key for 1 hour.
srt_urlstringOptionalCaptions as SRT.
vtt_urlstringOptionalCaptions as WebVTT.
linesintegerOptionalNumber of caption lines.
transcriptstringOptionalThe automatic transcript, when you sent no captions.
Errors
| Status | Name | When |
|---|---|---|
400 | Bad request | A required field is missing or a value is not allowed (invalid_request). |
401 | Unauthorized | The API key is missing or not valid (invalid_api_key). |
402 | Payment required | Your wallet does not have enough funds for this request (insufficient_credits). Nothing is charged. |
404 | Not found | Unknown video_upload_id (upload_not_found). |
413 | Payload too large | The video is too big or too long. |
429 | Too many requests | You hit a rate limit. Wait for Retry-After seconds. See Rate limits. |
Example request
curl https://api-staging.talksign.co/v1/jobs \
-H "Authorization: Bearer $TALKSIGN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"type": "captions",
"video_upload_id": "upl_0a1b2c3d4e5f60718293a4b5"
}'import os
import requests
res = requests.post(
"https://api-staging.talksign.co/v1/jobs",
headers={"Authorization": f"Bearer {os.environ['TALKSIGN_API_KEY']}"},
json={
"type": "captions",
"video_upload_id": "upl_0a1b2c3d4e5f60718293a4b5"
},
)
print(res.status_code, res.json())const res = await fetch("https://api-staging.talksign.co/v1/jobs", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.TALKSIGN_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"type": "captions",
"video_upload_id": "upl_0a1b2c3d4e5f60718293a4b5"
}),
});
console.log(res.status, await res.json());Example response
{
"id": "job_8c1d2e3f4a5b6c7d8e9f0a1b",
"object": "job",
"type": "captions",
"status": "queued",
"created_at": "2026-11-22T12:00:00.000Z"
}Read more in the full reference: Jobs and uploads.