{
"name": "测试TTS作品",
"align": "VERTICAL",
"resolution": "1080P",
"sceneVOList": [
{
"orderBy": 1,
"voice": "ailun",
"speechStr": "1",
"textList": [
"1111111",
"222222",
"333333",
"4444444"
],
"trackPO": {
"backGroundImageTrack": {
"backgroundId": 324,
"mediaURL": "https://digital-person-daily.oss-cn-hangzhou.aliyuncs.com/FileUpload/1/UID_1/Image/Background/766217fa27993ecdc73d8abf326cbec8_1678409491325.jpg"
},
"digitalPersonTrack": [
{
"z": 1,
"digitalPersonAssetsId": 135,
"previewUrl": "virtual_human/templates/白白_1682217983080_1682242874279632/sample.mp4",
"scale": null,
"height": 1920,
"type": "Video",
"x": 0,
"y": 0,
"mediaURL": "https://digital-person-daily.oss-cn-hangzhou.aliyuncs.com/virtual_human/templates/白白_1682217983080_1682242874279632/白白_1682217983080_1682242874279632.png",
"width": 1080
}
]
}
}
]
}
curl --location --request POST '/openApiDigitalPerson/customer/composeWithTTS' \
--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 '{
"name": "测试TTS作品",
"align": "VERTICAL",
"resolution": "1080P",
"sceneVOList": [
{
"orderBy": 1,
"voice": "ailun",
"speechStr": "1",
"textList": [
"1111111",
"222222",
"333333",
"4444444"
],
"trackPO": {
"backGroundImageTrack": {
"backgroundId": 324,
"mediaURL": "https://digital-person-daily.oss-cn-hangzhou.aliyuncs.com/FileUpload/1/UID_1/Image/Background/766217fa27993ecdc73d8abf326cbec8_1678409491325.jpg"
},
"digitalPersonTrack": [
{
"z": 1,
"digitalPersonAssetsId": 135,
"previewUrl": "virtual_human/templates/白白_1682217983080_1682242874279632/sample.mp4",
"scale": null,
"height": 1920,
"type": "Video",
"x": 0,
"y": 0,
"mediaURL": "https://digital-person-daily.oss-cn-hangzhou.aliyuncs.com/virtual_human/templates/白白_1682217983080_1682242874279632/白白_1682217983080_1682242874279632.png",
"width": 1080
}
]
}
}
]
}'
{
"code": 200,
"data": 2455,
"requestId": "cNHs1ZpE",
"resultMsg": "执行成功",
"host": "develop-007",
"errorStackTrace": null
}