Audio Translations
Translate speech in an audio file into English text, compatible with the OpenAI Audio Translations API.
Basics
MethodPOST
Endpointhttps://koprouter.kopglobal.com/v1/audio/translations
AuthenticationAuthorization: Bearer sk-...
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
model |
string | Yes | Translation model ID |
file |
file | Yes | Audio file to translate |
response_format |
string | No | Return format |
Example Request
curl https://koprouter.kopglobal.com/v1/audio/translations \
-H "Authorization: Bearer sk-..." \
-F "model=MODEL_ID" \
-F "file=@audio.mp3"
Example Response
{
"text": "Hello, welcome to KOPRouter."
}