Audio Transcriptions
Transcribe audio into text, compatible with the OpenAI Audio Transcriptions API.
Basics
MethodPOST
Endpointhttps://koprouter.kopglobal.com/v1/audio/transcriptions
AuthenticationAuthorization: Bearer sk-...
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
model |
string | Yes | Transcription model ID |
file |
file | Yes | Audio file to transcribe |
language |
string | No | Audio language, e.g. zh, en |
response_format |
string | No | Return format, e.g. json, text, srt |
Example Request
curl https://koprouter.kopglobal.com/v1/audio/transcriptions \
-H "Authorization: Bearer sk-..." \
-F "model=MODEL_ID" \
-F "file=@audio.mp3"
Example Response
{
"text": "Hello, welcome to KOPRouter."
}