Overview
Translate audio from any supported language into English text.
The audio file to translate
The model to use (e.g. whisper-1)
Optional Prompt to guide translation
Response Format: json, text, srt, verbose_json, or vtt
curl -X POST "https://api.applerouter.ai/v1/audio/translations" \
-H "Authorization: Bearer sk-your-api-key" \
-F "file=@chinese_audio.mp3" \
-F "model=whisper-1"
{
"text": "This is the English translation of the Chinese audio."
}
The Translation endpoint always outputs English text, regardless of the source
language.
使用 Bearer Token 认证。格式: Authorization: Bearer sk-xxxxxx