Products / Speech to speech
Speech to speech
Translate text between spoken languages, for captions and replies around your signing.
Price
$0.33 / min, paid from your prepaid wallet. Test keys are free. See Pricing and billing.
Endpoints
Example
Translates text between spoken languages. Billed at $0.33 / min of spoken length.
curl https://api-staging.talksign.co/v1/speech-to-speech \
-H "Authorization: Bearer $TALKSIGN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"text": "Where is the station?",
"toLang": "es"
}'import os
import requests
res = requests.post(
"https://api-staging.talksign.co/v1/speech-to-speech",
headers={"Authorization": f"Bearer {os.environ['TALKSIGN_API_KEY']}"},
json={
"text": "Where is the station?",
"toLang": "es"
},
)
print(res.status_code, res.json())const res = await fetch("https://api-staging.talksign.co/v1/speech-to-speech", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.TALKSIGN_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"text": "Where is the station?",
"toLang": "es"
}),
});
console.log(res.status, await res.json());Was this page helpful?