POST request to https://api.qhaigc.net/v1/audio/transcriptions to convert an audio file into text. The qhai-asr-lite model is optimized for speed and accuracy across a wide range of languages. If you do not specify a language, the model detects it automatically.
Request
multipart/form-data encoding.
Parameters
The audio file to transcribe. Supported formats include
mp3, wav, m4a, ogg, flac, and webm.The transcription model to use. Set this to
"qhai-asr-lite".The language of the audio as an ISO-639-1 code (for example,
"zh" for Chinese or "en" for English). If omitted, the model detects the language automatically.The format of the transcription output. Options are
"json" (default), "text", "srt", and "vtt".Response
The transcribed text content of the audio file.
Example response
Code examples
Related endpoints
- POST /v1/audio/speech — Convert text back to speech