Sign Video / Get a sign video
Captions
Create captionsPOSTSign Morph
Create a morphPOSTVoice
Create speechPOSTSpeech to speech
Translate textPOSTAccount
Get your balanceGETGet a sign video
GEThttps://api-staging.talksign.co/v1/speech-to-sign/video/{requestId}
Streams the MP4 of a studio render (Content-Type: video/mp4). Free. Supports HTTP Range requests so players can seek. Only the account that rendered it can download it. Videos are kept for 7 days.
Headers
AuthorizationstringRequiredBearer authentication of the form Bearer <token>, where the token is your API key (sk-live-… or sk-test-…).
RangestringOptionalOptional, e.g. bytes=0-1023. Answers 206 Partial Content; an invalid range answers 416.
Parameters
Path parameters.
requestIdstringRequiredThe requestId from Create a sign video.
Response
Returns the MP4 bytes. Test keys get a 302 redirect to a sample clip.
Errors
| Status | Name | When |
|---|---|---|
401 | Unauthorized | The API key is missing or not valid (invalid_api_key). |
404 | Not found | Unknown id, or another account rendered it (not_found). |
416 | Range not satisfiable | The Range header is not valid for this file. |
Example request
curl https://api-staging.talksign.co/v1/speech-to-sign/video/req_8f2k1x \
-H "Authorization: Bearer $TALKSIGN_API_KEY"import os
import requests
res = requests.get(
"https://api-staging.talksign.co/v1/speech-to-sign/video/req_8f2k1x",
headers={"Authorization": f"Bearer {os.environ['TALKSIGN_API_KEY']}"},
)
print(res.status_code, res.json())const res = await fetch("https://api-staging.talksign.co/v1/speech-to-sign/video/req_8f2k1x", {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.TALKSIGN_API_KEY}`,
},
});
console.log(res.status, await res.json());Example response
200
Response
(video/mp4 bytes)Read more in the full reference: Speech to sign.
Was this page helpful?