本文档由 云音工坊 自动生成,如有疑问,请联系客服微信:yuntts !
curl --location 'https://www.yuntts.com/api/v1/indextts-flagship-submit' \
--header 'Authorization: Bearer {{YOUR_API_KEY}}' \
--header 'Content-Type: application/json' \
--data '{
"text": "今天心情真好,阳光明媚!",
"speaker_audio_url": "https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20250211/bxokea/serena.wav",
"emotion_audio_url": "https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20250211/bxokea/serena.wav",
"emotion_alpha": 0.5
}'{
"code": 200,
"message": "任务提交成功",
"data": {
"task_id": "c0a53f2f-957d-455e-b0ee-4031bd9b8e82",
"char_count": 38,
"cost": 0.01,
"status": "submitted",
"message": "任务提交成功"
}
}