Qwen Audio 3.1 Live vs Qwen Audio 3.1 Realtime Flash

Qwen Audio 3.1 Live और Qwen Audio 3.1 Realtime Flash साथ-साथ: विशेषताएं, क्षमताएं, पैरामीटर और EmpirioLabs कैटलॉग की लाइव कीमतें।

Alibaba Cloud ऑडियो जनरेशन

Qwen Audio 3.1 Live vs Qwen Audio 3.1 Realtime Flash एक नज़र में

Qwen Audio 3.1 Live और Qwen Audio 3.1 Realtime Flash दोनों Alibaba Cloud के मॉडल हैं, ऑडियो जनरेशन श्रेणी में आते हैं और EmpirioLabs API के ज़रिए उपलब्ध हैं।

मुख्य अंतर

  • Qwen Audio 3.1 Live नई रिलीज़ है (23 नव॰ 2026); Qwen Audio 3.1 Realtime Flash 27 अक्टू॰ 2026 को रिलीज़ हुआ था।
  • सिर्फ Qwen Audio 3.1 Realtime Flash के लिए बताई गई क्षमताएं: multilingual।

Qwen Audio 3.1 Live vs Qwen Audio 3.1 Realtime Flash: विशेषताएं

स्पेकQwen Audio 3.1 LiveQwen Audio 3.1 Realtime Flash
मॉडल IDqwen-audio-3-1-liveqwen-audio-3-1-realtime-flash
निर्माताAlibaba CloudAlibaba Cloud
रिलीज23 नव॰ 202627 अक्टू॰ 2026
कॉन्टेक्स्ट विंडो-240K टोकन
अधिकतम आउटपुट-16,384 टोकन
इनपुट
ऑडियो टेक्स्ट
ऑडियो टेक्स्ट
आउटपुट
ऑडियो टेक्स्ट
ऑडियो टेक्स्ट
रीजनSingaporeSingapore
एंडपॉइंट
WEBSOCKET /v1/realtime
WEBSOCKET /v1/realtime
क्षमताएं
realtime speech to speech audio in audio out function calling
realtime speech to speech audio in audio out function calling multilingual

Qwen Audio 3.1 Live vs Qwen Audio 3.1 Realtime Flash: API की कीमतें

दोनों मॉडलों के लिए EmpirioLabs कैटलॉग की लाइव दरें। हर दर तालिका हमेशा API की वास्तविक बिलिंग से मेल खाती है।

प्रकार
स्पेक
दर
इनपुट: ऑडियो
प्रति 1M ऑडियो इनपुट टोकन
$1.86
इनपुट
प्रति 1M प्रॉम्प्ट टोकन
$0.46
आउटपुट
प्रति 1M उत्पन्न टोकन, पाठ-केवल उत्तर
$1.40
आउटपुट: ऑडियो
प्रति 1M जनरेट किए गए ऑडियो टोकन
$3.74
पूरे कीमत पेज पर तुलना करें

Qwen Audio 3.1 Live vs Qwen Audio 3.1 Realtime Flash: API के पैरामीटर

EmpirioLabs पर हर मॉडल के लिए सूचीबद्ध रिक्वेस्ट पैरामीटर, और जहां लागू हो वहां मान्य मान या सीमा। डैश उस पैरामीटर को दिखाता है जो मॉडल के लिए सूचीबद्ध नहीं है।

पैरामीटरQwen Audio 3.1 LiveQwen Audio 3.1 Realtime Flash
voiceyunshu, xiaoman, wanfeng, qingyou, poxiao, maiya, wulong, xue... डिफॉल्ट: yunshulonganqian_v3.1, longanhuan_v3.1, longanlingxin_v3.1, longanf... डिफॉल्ट: longanqian_v3.1
instructionsstringstring
modelqwen-audio-4.0-realtime-preview, qwen-audio-3.1-realtime-flash डिफॉल्ट: qwen-audio-4.0-realtime-preview-
delegationstring-
input_audio_formatpcm डिफॉल्ट: pcmpcm16 डिफॉल्ट: pcm16
output_audio_formatpcm डिफॉल्ट: pcmpcm24 डिफॉल्ट: pcm24
turn_detectionstring डिफॉल्ट: {"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"]

Qwen Audio 3.1 Live vs Qwen Audio 3.1 Realtime Flash: सीमाएं और नोट्स

Qwen Audio 3.1 Live

Connecting

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.

Setting up the session

Send one session.update and wait for session.updated. session.model is required:

  • qwen-audio-4.0-realtime-preview with turn_detection set to {"type": "duplex"} listens while it speaks, so it can be interrupted at any moment.
  • qwen-audio-3.1-realtime-flash answers after you pause. Leave turn_detection out with it.

Set voice, instructions and tools in the same event.

Sending and receiving audio

  • Send microphone audio as session.input_audio.append events: base64 16-bit PCM at 16 kHz, mono, in small frames (20 ms works well).
  • The reply streams as session.output_audio.delta events: base64 16-bit PCM at 24 kHz, mono.
  • session.input_transcript.delta carries the transcript of your speech and session.output_transcript.delta the reply's subtitles.
  • session.input_audio.mute and session.input_audio.unmute pause and resume listening without ending the session.
  • Text sent as an input_text message with session.item.create adds information to the spoken conversation.
  • session.usage.updated reports the session's elapsed seconds every 5 seconds.

Delegated tasks and tools

  • With delegation set to {"type": "client"}, the model hands a longer task to your application in a session.delegation.created event and keeps talking meanwhile. Report progress with session.thinking.append, ask the user for a missing detail with session.instruction.append, and return the result with session.commentary.append, each carrying the task's delegation_id. For sessions that delegate tasks, use qwen-audio-3.1-realtime-flash, which reads each returned result aloud.
  • A function declared in tools is called with a session.event whose event.item is a function_call. Run it once per call_id and return the result with session.item.create as a function_call_output.
  • Backend responses (responses delegation) and the WebRTC and AOQ transports are not available on this model.

Voices

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.

Ending a session

Send session.close and wait for session.closed, or close the socket.

Capacity

When the model is at capacity, a new session receives a session_unavailable error and close code 1013. Try again shortly.

Billing

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.

Qwen Audio 3.1 Realtime Flash

कनेक्ट हो रहा है

wss://api.empiriolabs.ai/v1/realtime?model=qwen-audio-3-1-realtime-flash पर WebSocket पर पूर्ण-डुप्लेक्स आवाज, साधारण प्राधिकरण वाहक हेडर के साथ प्रमाणित। सॉकेट पर session.update के साथ सत्र को कॉन्फ़िगर करें: आवाज, निर्देश, तौर-तरीके, बारी का पता लगाने, भाषाएं और वितरण।

ऑडियो भेजना

  • input_audio_buffer.append ईवेंट के रूप में माइक्रोफ़ोन ऑडियो जोड़ें।
  • वॉयस एक्टिविटी डिटेक्शन यह तय करता है कि आपने कब बोलना बंद कर दिया है, इसलिए भाषण समाप्त होने के बाद लगभग एक सेकंड तक स्ट्रीमिंग करते रहें।

भाषा और वितरण

आपके द्वारा बोली जाने वाली भाषा के लिए input_language सेट करें, जिसमें आपके भाषण का प्रतिलेख लिखा गया है, और उस भाषा के output_language में बोला गया उत्तर पढ़ा जाता है। प्रत्येक ऑटो या zh, en, ja, ko, vi, th, id, ar, fr, de, es, pt, ru और it में से एक लेता है। आउटपुट भाषा उत्तर का अनुवाद नहीं करती है, इसलिए अपने निर्देशों में भी इसकी भाषा के लिए पूछें। speed (0.5 से 2) बोलने की दर, अभिव्यंजक वितरण enable_speech_emotion निर्धारित करता है, और max_history_turns (1 से 50) मॉडल कितने पहले के आदान-प्रदान करता है।

आवाज़ें

इस मॉडल की आवाज़ें अपने स्वयं के सेट हैं। किसी अन्य मॉडल से आवाज़ ले जाने के बजाय वॉयस लिस्ट में से एक चुनें, या इसे अनसेट छोड़ दें और आपके लिए डिफ़ॉल्ट आपूर्ति की जाती है।

बिलिंग

ऑडियो और टेक्स्ट टोकन दोनों दिशाओं में अलग-अलग मूल्य निर्धारित किए जाते हैं। एक स्पोकन रिप्लाई केवल उसके ऑडियो आउटपुट टोकन के लिए बिल किया जाता है, और टेक्स्ट आउटपुट दर उन रिप्लाई पर लागू होती है जिनमें कोई ऑडियो नहीं होता। प्रत्येक पूरा टर्न मॉडल द्वारा रिपोर्ट किए गए उपयोग से अलग से बिल किया जाता है।

Qwen Audio 3.1 Live और Qwen Audio 3.1 Realtime Flash को कैसे कॉल करें

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 key को Authorization: Bearer हेडर के रूप में भेजें। ऑडियो दोनों दिशाओं में base64 16-bit PCM के रूप में जाता है। ब्राउज़र WebSocket पर हेडर सेट नहीं कर सकता, इसलिए यह कनेक्शन अपने सर्वर से खोलें और ऑडियो को अपने सॉकेट के ज़रिए ब्राउज़र तक पहुँचाएँ। दोनों मॉडल एक ही एंडपॉइंट से कॉल किए जाते हैं। model को qwen-audio-3-1-live या qwen-audio-3-1-realtime-flash पर सेट करें। EmpirioLabs डैशबोर्ड से API key प्राप्त करें।

Python (websockets)
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 vs Qwen Audio 3.1 Realtime Flash: आम सवाल

Qwen Audio 3.1 Live और Qwen Audio 3.1 Realtime Flash में क्या अंतर है?

Qwen Audio 3.1 Live नई रिलीज़ है (23 नव॰ 2026); Qwen Audio 3.1 Realtime Flash 27 अक्टू॰ 2026 को रिलीज़ हुआ था। सिर्फ Qwen Audio 3.1 Realtime Flash के लिए बताई गई क्षमताएं: multilingual। इस पेज की विशेषताएं, दर तालिकाएं और पैरामीटर EmpirioLabs के लाइव कैटलॉग से आते हैं।

Qwen Audio 3.1 Live और Qwen Audio 3.1 Realtime Flash में से नया कौन सा है?

Qwen Audio 3.1 Live नई रिलीज़ है (23 नव॰ 2026); Qwen Audio 3.1 Realtime Flash 27 अक्टू॰ 2026 को रिलीज़ हुआ था।

Qwen Audio 3.1 Live और Qwen Audio 3.1 Realtime Flash में से किसकी दर कम है?

दोनों मॉडलों की कीमत अलग इकाइयों या स्तरों पर तय होती है, इसलिए इस पेज की लाइव दर तालिकाओं की तुलना करें। वे हमेशा API की वास्तविक बिलिंग से मेल खाती हैं।

क्या मैं अपना इंटीग्रेशन दोबारा बनाए बिना Qwen Audio 3.1 Live और Qwen Audio 3.1 Realtime Flash के बीच बदल सकता हूं?

हां। दोनों मॉडल एक ही EmpirioLabs API key के साथ WEBSOCKET /v1/realtime इस्तेमाल करते हैं, इसलिए ज़्यादातर इंटीग्रेशन सिर्फ model मान बदलकर स्विच हो जाते हैं। अगर आप किसी मॉडल-विशेष पैरामीटर पर निर्भर हैं तो पहले इस पेज की पैरामीटर तालिका देखें।

क्या मैं इंटीग्रेट करने से पहले ब्राउज़र में Qwen Audio 3.1 Live और Qwen Audio 3.1 Realtime Flash आज़मा सकता हूं?

हां। हर मॉडल को EmpirioLabs playground में खोलें और Start session दबाकर इसे अपने ब्राउज़र में आज़माएं।

बेहतर समापन बिंदुओं का उपयोग करने के लिए तैयार हैं?

हमारे मूल्य निर्धारण की जाँच करें या यदि आप चाहते हैं कि आपका अपना मॉडल हमारे स्टैक पर तैनात किया जाए, तो पहुंचें।