{
"voice": "XiaoxiaoNeural",
"sourceType": 1,
"role": "Default",
"lang": "zh-CN",
"style": "default",
"speechStr": 1,
"textList": [
"<speak>详情1234请私信或评论区留言</speak>"
],
"oriText": [
"1111222新"
],
"volume": 30
}
curl --location --request POST '/openApiDigitalPerson/customer/compose' \
--header 'authorization: {{auth|md5}}' \
--header 'req_from: C' \
--header 'timestamp: {{timestamp}}' \
--header 'app_id: {{appId}}' \
--header 'account: 19999999999' \
--header 'Content-Type: application/json' \
--data-raw '{
"voice": "XiaoxiaoNeural",
"sourceType": 1,
"role": "Default",
"lang": "zh-CN",
"style": "default",
"speechStr": 1,
"textList": [
"<speak>详情1234请私信或评论区留言</speak>"
],
"oriText": [
"1111222新"
],
"volume": 30
}'
{
"code": 500,
"data": {
"duration": "8.57475",
"durationList": [
8.57475
],
"url": "https://digital-person-daily.oss-cn-hangzhou.aliyuncs.com/virtual_human/audio/zhimi_emo_ZE5dPAlf_e495af3c3be611ee9a0a0242ac110009.wav"
},
"requestId": "ngVQ5vUH",
"resultMsg": "成功",
"host": "DESKTOP-I3F4OHS",
"errorStackTrace": "成功"
}