Qwen Audio 3.0 ASR Stream

WEBSOCKET /v1/realtimeLive transcription over a socket, streaming partial words while the speaker talks and a settled sentence at each pause, priced per hour of audio.
At a glance
Pricing
Example request
Parameters
Notes
Connecting
Live transcription over a WebSocket at wss://api.empiriolabs.ai/v1/realtime?model=qwen-audio-3-0-asr-stream, authenticated with the ordinary Authorization Bearer header.
Sending audio
Stream 16 kHz mono pcm16 audio with input_audio_buffer.append. Voice activity detection decides where each sentence ends, so there is no commit to send.
Session settings
Send session.update right after session.created, before the first audio, with any of these settings: input_audio_transcription.language (or the language query parameter of the connection URL; auto by default), input_audio_transcription.prompt with the names and terms the speaker uses (up to 400 characters), turn_detection.silence_duration_ms (200 to 6000, default 800) and turn_detection.threshold (0.0 to 1.0), and input_audio_noise_reduction (near_field or far_field). keep_dialect keeps Chinese dialect words as spoken. A setting changed while audio is streaming ends the sentence in progress and applies to the audio sent after it.
What comes back
conversation.item.input_audio_transcription.delta events carry the sentence so far while the speaker is still talking, and conversation.item.input_audio_transcription.completed carries the settled sentence at each pause.
Billing
Billed per second of the audio you stream, silence included, at the hourly rate shown. The session is billed when it ends.
Machine-readable schema: GET https://api.empiriolabs.ai/v1/models/qwen-audio-3-0-asr-stream.
