veth0119
09/30/2025, 12:36 PMclient AliQwen3Omni {
provider openai-generic
options {
model "qwen3-omni-flash"
base_url "https://dashscope.aliyuncs.com/compatible-mode/v1"
api_key env.QWEN_API_KEY
}
}
https://cdn.discordapp.com/attachments/1422562712172630189/1422562712399118336/image.png?ex=68dd2044&is=68dbcec4&hm=d952fc6269fcbdd64319d20f93673d9c8bb0899f6f544f10d10d2d35dbeb780d&veth0119
09/30/2025, 12:48 PMcurl -X POST https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions \
-H "Authorization: Bearer $DASHSCOPE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "qwen-omni-turbo",
"messages": [
{
"role": "user",
"content": [
{
"type": "input_audio",
"input_audio": {
"data": "https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20250211/tixcef/cherry.wav",
"format": "wav"
}
},
{
"type": "text",
"text": "What is this audio saying?"
}
]
}
],
"stream":true,
"stream_options":{
"include_usage":true
},
"modalities":["text","audio"],
"audio":{"voice":"Cherry","format":"wav"}
}'veth0119
09/30/2025, 12:50 PMVaibhav (BAML 🐑)
09/30/2025, 1:41 PMveth0119
10/01/2025, 1:32 AMveth0119
10/01/2025, 11:49 PMVaibhav (BAML 🐑)
10/03/2025, 12:10 PM