

Qwen Audio 3.1 Live と Qwen Audio 3.1 Realtime Plus を並べて比較: 仕様、機能、パラメーター、EmpirioLabs カタログのライブ料金。
Qwen Audio 3.1 Live と Qwen Audio 3.1 Realtime Plus はどちらも Alibaba Cloud のモデルで、音声生成カテゴリに属し、EmpirioLabs API から利用できます。
| 仕様 | Qwen Audio 3.1 Live | Qwen Audio 3.1 Realtime Plus |
|---|---|---|
| モデルID | qwen-audio-3-1-live | qwen-audio-3-1-realtime-plus |
| 開発元 | Alibaba Cloud | Alibaba Cloud |
| リリース | 2026年11月23日 | 2026年9月20日 |
| コンテキスト長 | - | 240K トークン |
| 最大出力 | - | 16,384 トークン |
| 入力 | 音声 テキスト | 音声 テキスト |
| 出力 | 音声 テキスト | 音声 テキスト |
| リージョン | Singapore | Singapore |
| エンドポイント | WEBSOCKET /v1/realtime | WEBSOCKET /v1/realtime |
| 機能 |
両モデルの EmpirioLabs カタログのライブ料金です。各料金表は常に API の請求額と一致します。
EmpirioLabs で各モデルに記載されているリクエストパラメーターと、指定できる値または範囲です。ハイフンは、そのモデルに記載のないパラメーターを示します。
| パラメータ | Qwen Audio 3.1 Live | Qwen Audio 3.1 Realtime Plus |
|---|---|---|
| voice | yunshu, xiaoman, wanfeng, qingyou, poxiao, maiya, wulong, xue... デフォルト: yunshu | longanqian_v3.1, longanhuan_v3.1, longanlingxin_v3.1, longanf... デフォルト: longanqian_v3.1 |
| instructions | string | string |
| model | qwen-audio-4.0-realtime-preview, qwen-audio-3.1-realtime-flash デフォルト: qwen-audio-4.0-realtime-preview | - |
| delegation | string | - |
| input_audio_format | pcm デフォルト: pcm | pcm16 デフォルト: pcm16 |
| output_audio_format | pcm デフォルト: pcm | pcm24 デフォルト: pcm24 |
| turn_detection | string デフォルト: {"type":"duplex"} | string デフォルト: {"type":"server_vad"} |
| input_language | - | auto, zh, en, ja, ko, vi, th, id, ar, fr, de, es, pt, ru, it デフォルト: auto |
| output_language | - | auto, zh, en, ja, ko, vi, th, id, ar, fr, de, es, pt, ru, it デフォルト: auto |
| speed | - | 0.5 から 2 |
| enable_speech_emotion | - | boolean デフォルト: true |
| max_history_turns | - | 1 から 50 |
| modalities | - | string デフォルト: ["text","audio"] |
Full-duplex voice over a WebSocket at wss://api.empiriolabs.ai/v1/realtime?model=qwen-audio-3-1-live, authenticated with the ordinary Authorization Bearer header. This model has its own event protocol, described below, rather than the OpenAI Realtime protocol.
Send one session.update and wait for session.updated. session.model is required:
Set voice, instructions and tools in the same event.
With qwen-audio-4.0-realtime-preview, choose one of the 8 voices in the voice list. With qwen-audio-3.1-realtime-flash, use a voice of Qwen Audio 3.1 Realtime Flash, or leave voice out for its default.
Send session.close and wait for session.closed, or close the socket.
When the model is at capacity, a new session receives a session_unavailable error and close code 1013. Try again shortly.
A session is billed by its length, from when it opens until it closes, in whole seconds, with a partial second counted as a full second and at least 3 seconds per session. Listening, silence and text all count as session time.
通常のAuthorization Bearerヘッダーで認証されたWebSocket上の全二重音声wss://api.empiriolabs.ai/v1/realtime?model=qwen-audio-3-1-realtime-plus。ソケット上で音声、指示、モダリティ、ターン検出、言語、配信などのsession.updateセッションを構成します。
input_languageをあなたが話す言語に設定し、その言語で書き起こし、話し言葉が読み上げられる言語にoutput_languageします。それぞれはautoか、zh、en、ja、ko、vi、th、id、ar、fr、de、es、pt、ru、itのいずれかを選びます。出力言語は返答を翻訳しないので、指示書でその言語も求めてください。speed(0.5から2)は話す速度、表現的な伝え方max_history_turnsenable_speech_emotion、モデルが読み取った過去の交換数(1から50)を決めます。
このモデルの声は独立したセットです。声を他のモデルから持ち歩くのではなく、ボイスリストから1つ選ぶか、設定せずにデフォルトで提供してもいいです。
音声トークンとテキストトークンは、両方向ともに別々に価格設定されます。音声返答は音声出力トークンのみで請求され、音声なしの返答にはテキスト出力レートが適用されます。完了した各ターンは、モデルが報告する使用状況に基づいて個別に課金されます。
Qwen Audio 3.1 Live は HTTP エンドポイントではなく、wss://api.empiriolabs.ai/v1/realtime?model=qwen-audio-3-1-live の WebSocket 上でライブ会話を行います。モデル ID qwen-audio-3-1-live で接続し、ハンドシェイク時に EmpirioLabs の API キーを Authorization: Bearer ヘッダーとして送信してください。音声は base64 の 16 ビット PCM として双方向に流れます。 ブラウザは WebSocket にヘッダーを設定できないため、この接続はサーバーから開き、音声は自前のソケットでブラウザへ中継してください。 どちらのモデルも同じエンドポイントで呼び出します。model を qwen-audio-3-1-live または qwen-audio-3-1-realtime-plus に設定してください。 EmpirioLabs ダッシュボードで API キーを取得してください。
import asyncio, json, os, websockets
async def main():
async with websockets.connect(
"wss://api.empiriolabs.ai/v1/realtime?model=qwen-audio-3-1-live",
additional_headers=[
("Authorization", f"Bearer {os.environ['EMPIRIOLABS_API_KEY']}"),
],
max_size=None,
) as ws:
print(json.loads(await ws.recv())["type"]) # session.created
await ws.send(json.dumps({
"type": "conversation.item.create",
"item": {
"type": "message",
"role": "user",
"content": [{"type": "input_text", "text": "Say hello."}],
},
}))
await ws.send(json.dumps({"type": "response.create"}))
async for raw in ws:
event = json.loads(raw)
if event["type"] == "response.audio.delta":
... # base64 audio chunk, append to your playback buffer
elif event["type"] == "response.done":
break
asyncio.run(main())Qwen Audio 3.1 Live のほうが新しいリリースです (2026年11月23日)。Qwen Audio 3.1 Realtime Plus のリリースは 2026年9月20日 です。 Qwen Audio 3.1 Realtime Plus だけに記載されている機能: multilingual。 このページの仕様、料金表、パラメーターは EmpirioLabs のライブカタログに基づいています。
Qwen Audio 3.1 Live のほうが新しいリリースです (2026年11月23日)。Qwen Audio 3.1 Realtime Plus のリリースは 2026年9月20日 です。
2 つのモデルは課金単位または階層が異なるため、このページのライブ料金表で比較してください。料金表は常に API の請求額と一致します。
はい。どちらのモデルも同じ EmpirioLabs API キーで WEBSOCKET /v1/realtime を使うため、ほとんどの連携は model の値を変えるだけで切り替えられます。モデル固有のパラメーターに依存している場合は、先にこのページのパラメーター表を確認してください。
はい。EmpirioLabs Playground で各モデルを開き、Start session を押すとブラウザーで試せます。