You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
百炼当前主打的 ASR 是 Qwen3-ASR 系列。其实时版 qwen3-asr-flash-realtime 走 OpenAI Realtime 风格的 WebSocket 协议(wss://dashscope.aliyuncs.com/api-ws/v1/realtime?model=...)——即 asr/bailian.rs 头注释里 "The Qwen OpenAI Realtime line is a different protocol and is intentionally left for a follow-up provider" 预留的那条协议线。
现象 / 背景
qwen3-asr-flash-realtime走 OpenAI Realtime 风格的 WebSocket 协议(wss://dashscope.aliyuncs.com/api-ws/v1/realtime?model=...)——即asr/bailian.rs头注释里 "The Qwen OpenAI Realtime line is a different protocol and is intentionally left for a follow-up provider" 预留的那条协议线。wss://{WorkspaceId}.cn-beijing.maas.aliyuncs.com)。专属域名只承载新版 Realtime 路径(/api-ws/v1/realtime)与兼容模式 HTTP,不承载经典/api-ws/v1/inference路径(实测:经典路径在专属域名上返回InvalidParameter: url error)。sk-ws-前缀)可能只被授权 Qwen3 系模型:实测这类 Key 跑经典协议的 fun-asr / paraformer 会被拒(专属域名明确报AccessDenied: Access denied by API-Key restrictions,公共网关报为InternalError)。对这类用户,Realtime 协议是唯一可用的实时通道,现有 bailian 供应商完全无法服务他们。qwen3-asr-flash走兼容模式chat/completions+input_audio(与asr/mimo.rs的请求格式一致,可借道 MiMo preset 使用),但批式无流式体验,且不是本 issue 的诉求。关键协议行为(2026-07 线上实测,公共网关与专属域名均验证)
server_vad模式服务端自动断句,每句一个conversation.item.input_audio_transcription.completed;session.finish会先冲刷 VAD 尚未关闭的尾段(补发 completed)再回session.finished——说到一半松手不丢尾巴;session.finished(连接检查可行,无经典协议 <200ms 必报 EmptyAudio 的问题);session.update省略input_audio_transcription.language时自动检测语种;影响
建议接受标准
wss://dashscope.aliyuncs.com/api-ws/v1/realtime、默认模型qwen3-asr-flash-realtime,支持用户改为业务空间专属域名。参考: