Real-time multimodal

Updated at:

This section provides API references for Qwen-Omni-Realtime. qwen3.8-omni-flash-realtime, qwen3.5-omni-plus-realtime, and qwen3.5-omni-flash-realtime support WebSocket, WebRTC, and AOQ. For historical model qwen3-omni-flash-realtime-2025-09-15, see Python SDK and Client Events for its WebSocket documentation. The applicable scope of media modalities and event fields is determined by their respective access and event references.

Protocol selection

The following comparison describes the general characteristics of the protocols. The data types in the table indicate what each protocol can transmit; the specific inputs and outputs supported by each model are subject to the access documentation. Access difficulty, performance over weak networks, and connection speed are qualitative references; actual experience depends on network conditions, devices, and implementation.

dimension WebSocket access WebRTC access AOQ access
Use casesServer-side integration, rapid prototyping validationBrowser-side interaction, traditional audio/video callsAI multimodal real-time interaction, weak-network scenarios, hybrid data transmission
Browser compatibilityNative supportNative supportNot supported
Integration effortVery lowModerateLow
Weak-network resiliencePoorGoodExcellent
Data transmitted by the protocolText, audio, imageAudio/video, textAudio/video, text
Connection speedSlowSlowFast
Echo cancellation and noise reductionHandled by the clientBuilt-inBuilt-in
AI scenario adaptationBasic, suitable for pure text or scenarios with less stringent real-time requirementsTraditional design; AI scenarios require additional adaptationNatively tailored for AI multimodal data characteristics
Client-side platformsEnvironments supporting WebSocket are supportedBrowsers, mobile devicesAndroid, iOS, HarmonyOS; other SDK versions are listed on the access page

Browsers natively support WebSocket, but authentication requirements must still be met when accessing the model. Do not store long-term API keys in browsers or on mobile devices.

AOQ (AI over QUIC) Client SDK is available for Android, iOS, HarmonyOS, Windows, macOS, Electron, and Linux. For downloads and platform-specific API, see AOQ Access.

Events and other references

Voice configuration

All three protocols can be used for Token Plan. Available models and regions are subject to the specifications outlined in Token Plan Personal Edition and Team Edition.