Skip to main content
POST
/
audio
/
transcriptions
Transcribe audio to text
curl --request POST \
  --url https://api.orcarouter.ai/v1/audio/transcriptions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file='@example-file' \
  --form model=whisper-1 \
  --form 'prompt=<string>' \
  --form response_format=json \
  --form temperature=0 \
  --form 'language=<string>'
{
  "text": "<string>"
}

Authorizations

Authorization
string
header
required

OrcaRouter API keys look like sk-orca-.... Pass them in the Authorization: Bearer sk-orca-... header.

Body

multipart/form-data
file
file
required

Audio file (.mp3, .wav, .m4a, .flac, .webm, .ogg).

model
string
required
Example:

"whisper-1"

prompt
string
response_format
enum<string>
default:json
Available options:
json,
text,
srt,
verbose_json,
vtt
temperature
number
default:0
language
string

ISO-639-1 code

Response

200 - application/json

OK

text
string