Create transcription

post/v1/audio/transcriptions

Transcribe audio into text.

Authentication

Send your OLETOKEN API key as a Bearer token. Keys are created on the API Keys page of the console.

Authorization: Bearer $OLETOKEN_API_KEY

Request body

Content-Type:multipart/form-data

FieldTypeRequiredDescription
filestringThe audio file
modelstring
languagestringISO-639-1 language code
promptstring
response_formatstringdefault: jsonjsontextsrtverbose_jsonvtt
temperaturenumber
timestamp_granularitiesstring[]

Responses

200Transcription created

FieldTypeRequiredDescription
textstring

Example request

curl -X POST 'https://api.oletoken.ai/v1/audio/transcriptions' \
  -H "Authorization: Bearer $OLETOKEN_API_KEY" \
  -F 'file=' \
  -F 'model=whisper-1'