本文档由 云音工坊 自动生成,如有疑问,请联系客服微信:yuntts !
{
"voice": "zh-CN-XiaoxiaoNeural",
"text": "string",
"language": "zh-CN",
"role": "null",
"style": "general",
"styledegree": 1,
"rate": "0",
"pitch": "0",
"volume": "100",
"ssml": false,
"audioformat": "audio-16khz-128kbitrate-mono-mp3",
"backgroundaudio": "",
"backgroundvolume": 100,
"fadein": "3000",
"fadeout": "4000"
}curl --location 'https://www.yuntts.com/api/v1/azure/async' \
--header 'Authorization: Bearer {{YOUR_API_KEY}}' \
--header 'Content-Type: application/json' \
--data '{
"voice": "zh-CN-XiaoxiaoNeural",
"text": "string",
"language": "zh-CN",
"role": "null",
"style": "general",
"styledegree": 1,
"rate": "0",
"pitch": "0",
"volume": "100",
"ssml": false,
"audioformat": "audio-16khz-128kbitrate-mono-mp3",
"backgroundaudio": "",
"backgroundvolume": 100,
"fadein": "3000",
"fadeout": "4000"
}'{
"code": 200,
"message": "任务已提交",
"data": {
"task_id": "azure_123_1749654392",
"char_count": 4,
"cost": 0,
"balance": 10000
}
}