Choose a recognizer
Whisper file transcription and settings.
Transcribe a file with word times
/health returns 200, upload a local recording from a second terminal:
text for the transcript and words for start and end times in seconds. Other recognizers can return one segment per audio window in a timed response format. Those segment boundaries describe chunking rather than word alignment.
Long recordings and window settings.
Uploads may be up to 30 minutes and 512 MiB. The endpoint splits long uploads into windows that end at quiet points. The native SDK’s client.transcribe() sends a single generation request instead. With Whisper it consumes only the first 30 seconds. Use the upload endpoint when you need the whole recording. Files such as M4A or WebM need TorchCodec and FFmpeg’s shared libraries.
Live Qwen3-ASR sessions and settings.
Read a live transcript
Startmstar serve qwen3_asr_realtime after stopping your file-transcription server. Connect to ws://localhost:8000/v1/realtime?intent=transcription. Both Qwen3-ASR keys accept this protocol.
- Wait for
transcription_session.created. - Send
input_audio_buffer.appendwith theaudiofield containing base64 PCM16 audio. The default format is mono, 16 kHz. Atranscription_session.updatecan select another supported rate or G.711. - Display
mstar.transcription.partialas the current hypothesis. Its tail can change. - Send
input_audio_buffer.commitat the end of the utterance. Read thetranscriptfield on theconversation.item.input_audio_transcription.completedevent.
vad extra and select server_vad. A runnable client shows concurrent audio upload and event handling.
Tune window size and concurrency
The upload route normally windows Qwen3-ASR at 30 seconds. Omnilingual consumes up to 20 seconds whole and splits longer uploads into windows up to 16 seconds. Other adapters use their model clip limit. Setwindow_seconds on an upload to choose a window from 5 seconds up to the model limit. Large windows on Qwen3-ASR increase per-request KV usage.
The file-serving configs whisper_large_v3_turbo.yaml and qwen3_asr.yaml set knobs.step_threads: serial. Use the file benchmark below to compare changes on your host.
Check accuracy and latency
From a source checkout, install theasr and eval extras, prepare the LibriSpeech test set and run against a live Whisper server:
benchmark.asr_realtime_bench against Qwen3-ASR to measure partial-result latency.