本文档由 云音工坊 自动生成,如有疑问,请联系客服微信:yuntts !
stream=true
instruction
text
[sad]
[laughing]
output.audio.data
output.audio.url
{ "model": "qwen-audio-3.0-tts-flash", "voice": "longanhuan_v3.6", "text": "[excited]今天的天气真不错![laughing]我们一起出去玩吧!", "instruction": "请用河南话表达。", "format": "wav", "sample_rate": 24000, "stream": false }
curl --location '/api/v1/qwen-audio-synthesize' \ --header 'Authorization: Bearer {{YOUR_API_KEY}}' \ --header 'Content-Type: application/json' \ --data '{ "model": "qwen-audio-3.0-tts-flash", "voice": "longanhuan_v3.6", "text": "[excited]今天的天气真不错![laughing]我们一起出去玩吧!", "instruction": "请用河南话表达。", "format": "wav", "sample_rate": 24000, "stream": false }'
{ "code": 200, "message": "语音合成成功", "data": { "finish_reason": "stop", "audio": { "data": "", "url": "http://dashscope-result-bj.oss-cn-beijing.aliyuncs.com/pre/qwen-audio-3.0-tts-flash/20260304/xxx/xxx.wav?...", "id": "audio_ee88b03d-0457-9286-8c67-xxxxxxxxxxxx", "expires_at": 1772697707 } }, "char_count": 15, "cost": 0 }