Skip to content

DocsAPI reference

Transcriptions

POST /v1/audio/transcriptions — speech to text in 30 languages with Qwen3-ASR on your own GPU, in OpenAI's transcription format.

HTTP
POST https://osarai.xyz/v1/audio/transcriptions

Turns recorded speech into text in OpenAI's transcription format. Deploy Qwen3-ASR-1.7B (qwen3-asr-1.7b): 30 languages and 22 Chinese dialects.

Request

Send the audio as multipart/form-data with a file field:

Terminal
curl "https://osarai.xyz/v1/audio/transcriptions" \
  -H "Authorization: Bearer $OSARAI_API_KEY" \
  -F model=qwen3-asr-1.7b \
  -F [email protected] \
  -F language=en
FieldNotes
fileThe audio: mp3, wav, flac, ogg, webm or m4a, up to 25 MB
modelqwen3-asr-1.7b
languageOptional ISO code (en, id, ja, …); detected when left out

Response

JSON
{ "text": "Thanks everyone for joining. First item on the agenda is the launch date." }

For recordings longer than about half an hour, split the audio into parts and send them one by one.