Products / Captions
Captions
Caption a video in the background. Send your own lines or let Talksign transcribe it, and get an MP4 with burned-in captions plus SRT and VTT.
Price
$0.99 / min of video, paid from your prepaid wallet. Test keys are free. See Pricing and billing.
Endpoints
Example
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.
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());Read next
Async jobsUse jobs when you don't want to hold a connection open while a video renders, or when youWebhooksWebhooks tell your server when something finishes, so you don't have to poll.
Was this page helpful?