Translation
Translates the cleaned transcript into any target language. The original transcript is always preserved - the translation appears in an additional translated_transcript field.
curl -X POST https://api.voxparse.com/v1/transcribe \
-H "X-API-Key: YOUR_API_KEY" \
-F "[email protected]" \
-F "plan=pro" \
-F "translation=true" \
-F "translation_language=French"
import requests
r = requests.post("https://api.voxparse.com/v1/transcribe",
headers={"X-API-Key": "YOUR_API_KEY"},
files={"file": open("recording.mp3", "rb")},
data={"plan": "pro", "translation": "true", "translation_language": "French"})
print(r.json()["translated_transcript"])
$ch = curl_init("https://api.voxparse.com/v1/transcribe");
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-API-Key: YOUR_API_KEY"],
CURLOPT_POSTFIELDS => [
"file" => new CURLFile("recording.mp3"),
"plan" => "pro",
"translation" => "true",
"translation_language" => "French"
]
]);
$result = json_decode(curl_exec($ch), true);
echo $result["translated_transcript"];
Response field
"translated_transcript": "Agent : Merci d'avoir appele. Comment puis-je vous aider aujourd'hui ?\nClient : Bonjour, j'ai remarque un frais sur ma facture de mars..."
Supported languages: Any language supported by modern LLMs - Spanish, French, German, Portuguese, Japanese, Chinese, Korean, Arabic, Hindi, and 50+ more.