{
"name": "未命名直播",
"loopType": "ALL_LOOP",
"liveRoomConfig": {
"liveType": "ONE_PEOPLE",
"interrupt": true
},
"liveRuleList":[
],
"guideGoodsList": [
],
"goodsList": [
{
"liveGoodsLibraryId": 260,
"goodsName":"AI智能课",
"enabledStatus":1,
"liveScenePOList": [
{
"liveGoodsLibraryId":260,
"isHide":false,
"name":"1171",
"orderBy":1,
"voice":"guijie",
"speed":1,
"volume":23,
"duration":100,
"lang":"zh-CN",
"role":"Default",
"style":"default",
"sourceType":0,
"backgroundAudioUrl":"https://digital-person.oss-cn-hangzhou.aliyuncs.com/live/936/goods_media/0/VOICE/dd9e3d8e-c36c-42c9-aa44-2ce9a2209db2.mp3",
"backgroundVolume":1,
"dialogFlowList":[
{
"liveMaterialTextId":164840,
"txtContent":"以下是第5个商品的介绍,123456是一个不错的商品,以下是第5个商品的介绍,123456是一个不错的商品,以下是第5个商品的介绍,123456是一个不错的商品,以下是第5个商品的介绍,123456是一个不错的商品,以下是第5个商品的介绍,123456是一个不错的商品,以下是第5个商品的介绍,123456是一个不错的商品,以下是第5个商品的介绍,123456是一个不错的商品,以下是第5个商品的介绍",
"duration":33.060936,
"url":"https://digital-person.oss-cn-hangzhou.aliyuncs.com/FileUpload/tmp/tts/a0ff4aa4-b103-4c0f-aa6e-7d1d576a469a.wav",
"audioId":"text_000_164840",
"backgroundVolume":0.5,
"x":0,
"y":0,
"width":0,
"height":0
},
{
"liveMaterialTextId":164839,
"txtContent":"欢迎新进直播间的家人们。留下来,让主播给你讲解你感兴趣的团购哈!",
"duration":5.66125,
"url":"https://digital-person.oss-cn-hangzhou.aliyuncs.com/FileUpload/tmp/tts/99f63918-db62-4e20-beb2-e6fd93de80d7.wav",
"audioId":"text_001_164839",
"backgroundVolume":1,
"x":0,
"y":0,
"width":0,
"height":0
},
{
"liveMaterialTextId":164842,
"txtContent":"123456是一个不错的商品,以下是第5个商品的介绍,123456是一个不错的商品,以下是第5个商品的介绍,123456是一个不错的商品",
"duration":11.371187,
"url":"https://digital-person.oss-cn-hangzhou.aliyuncs.com/FileUpload/tmp/tts/9f9983a2-4c0c-4d4c-b27d-aefdcc0d8699.wav",
"audioId":"text_002_164842",
"backgroundVolume":1,
"x":0,
"y":0,
"width":0,
"height":0
}
],
"materialList":[
{
"liveMaterialLibraryId":4074596596519864148,
"materialType":0,
"materialUrl":"https://msstest.sankuai.com/avatar-mgrplatform/成都-5_73be83e58bd7b0f.png",
"x":376.2,
"y":1361.9667,
"z":1,
"width":830.2,
"height":544.8333,
"frameWidth":1080,
"frameHeight":1920
},
{
"liveMaterialLibraryId":2085705662474423145,
"materialType":2,
"materialUrl":"https://msstest.sankuai.com/avatar-mgrplatform/上海-开元明庭_75b89001e9a48fc.mp4",
"x":127.93332,
"y":51.166687,
"z":3,
"width":725.3333,
"height":408,
"frameWidth":1080,
"frameHeight":1920
},
{
"liveMaterialLibraryId":3972997274946412489,
"materialType":2,
"materialUrl":"https://msstest.sankuai.com/avatar-mgrplatform/成都-锦著酒店_650454efa1d11e7.mp4",
"x":154.70001,
"y":493.4,
"z":4,
"width":704,
"height":469.3333,
"frameWidth":1080,
"frameHeight":1920
},
{
"liveMaterialLibraryId":-193543254181990905,
"materialType":2,
"materialUrl":"https://msstest.sankuai.com/avatar-mgrplatform/成都-谷兹博雅_3d85dae588fdc84.mp4",
"x":316.43335,
"y":987.6,
"z":5,
"width":640,
"height":360,
"frameWidth":1080,
"frameHeight":1920
},
{
"liveMaterialLibraryId":763191773565832648,
"materialType":0,
"materialUrl":"https://msstest.sankuai.com/avatar-mgrplatform/声音-大_volume-notice_7d04064eeb56d6f.png",
"x":196.23334,
"y":1222.6333,
"z":6,
"width":120,
"height":120,
"frameWidth":1080,
"frameHeight":1920
},
{
"liveMaterialLibraryId":-3980003212096528946,
"materialType":0,
"materialUrl":"https://msstest.sankuai.com/avatar-mgrplatform/声音-大_volume-notice_7d04064eeb56d6f.png",
"x":809.56665,
"y":516.6333,
"z":7,
"width":133.33333,
"height":133.33333,
"frameWidth":1080,
"frameHeight":1920
},
{
"liveMaterialLibraryId":-3595962433051355603,
"materialType":0,
"materialUrl":"https://msstest.sankuai.com/avatar-mgrplatform/静音_volume-mute_aa6642ea877682d.png",
"x":835.73334,
"y":166.46667,
"z":8,
"width":93.33333,
"height":93.33333,
"frameWidth":1080,
"frameHeight":1920
},
{
"liveMaterialLibraryId":-7894334561643101359,
"materialType":0,
"materialUrl":"https://msstest.sankuai.com/avatar-mgrplatform/声音-大_volume-notice_7d04064eeb56d6f.png",
"x":809.1,
"y":662.9667,
"z":9,
"width":120,
"height":120,
"frameWidth":1080,
"frameHeight":1920
}
],
"liveDigitalPersonAssetsList":[
{
"digitalPersonAssetsId":2496,
"templateId":"苦橘子_备用_1700739818596180",
"t0":70,
"t1":40,
"k":7,
"isMatting":true,
"templateValidLength":216,
"x":-36,
"y":963,
"z":2,
"width":540,
"height":960,
"frameWidth":1080,
"frameHeight":1920
}
],
"backGroundImage":{
"backgroundId":0,
"name":"",
"url":"https://msstest.sankuai.com/avatar-mgrplatform/成都_ad1ba3a96def28a.jpg",
"frameWidth":1080,
"frameHeight":1920
}
},
{
"liveGoodsLibraryId":260,
"isHide":false,
"name":"1175",
"orderBy":1,
"voice":"guijie",
"speed":1,
"volume":100,
"duration":100,
"lang":"zh-CN",
"role":"Default",
"style":"default",
"sourceType":0,
"backgroundAudioUrl":"https://digital-person.oss-cn-hangzhou.aliyuncs.com/live/616/goods_media/1814/audio/170677956935211111.mp3",
"backgroundVolume":1,
"dialogFlowList":[
{
"txtContent":"",
"liveMaterialLibraryId":480101,
"duration":51,
"url":"https://digital-person.oss-cn-hangzhou.aliyuncs.com/live/936/goods_media/0/VOICE/3de6734b-1f76-4c7d-8781-9a7e9d77b0f8.mp3",
"audioId":"audio_020_480101",
"audioUrl":"",
"backgroundVolume":1,
"x":0,
"y":0,
"width":0,
"height":0
}
],
"materialList":[
{
"liveMaterialLibraryId":-1226640265282049407,
"materialType":0,
"materialUrl":"https://msstest.sankuai.com/avatar-mgrplatform/成都-9_4fa52a5b37cafcd.png",
"x":236.66666,
"y":868,
"z":1,
"width":593,
"height":389.16666,
"frameWidth":1080,
"frameHeight":1920
},
{
"liveMaterialLibraryId":-6810748942624701585,
"materialType":2,
"materialUrl":"https://msstest.sankuai.com/avatar-mgrplatform/成都-锦著酒店_650454efa1d11e7.mp4",
"x":136.56668,
"y":113.63336,
"z":3,
"width":896,
"height":597.3333,
"frameWidth":1080,
"frameHeight":1920
}
],
"liveDigitalPersonAssetsList":[
{
"digitalPersonAssetsId":2496,
"templateId":"梦梦_1682331275657_1693879980811882",
"t0":70,
"t1":40,
"k":7,
"isMatting":true,
"x":270,
"y":960,
"z":2,
"width":540,
"height":960,
"frameWidth":1080,
"frameHeight":1920
}
],
"backGroundImage":{
"backgroundId":0,
"name":"",
"url":"https://msstest.sankuai.com/avatar-mgrplatform/d99c7d1d1e334887aa929086db4c2c27.png",
"frameWidth":1080,
"frameHeight":1920
}
}
],
"categoryCode": 19
}
]
}
curl --location --request POST '/openApiDigitalPerson/liveProcess/createLiveRoom' \
--header 'authorization: {{auth|md5}}' \
--header 'req_from: C' \
--header 'timestamp: {{timestamp}}' \
--header 'app_id: {{appId}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "未命名直播",
"loopType": "ALL_LOOP",
"liveRoomConfig": {
"liveType": "ONE_PEOPLE",
"interrupt": true
},
"liveRuleList":[
],
"guideGoodsList": [
],
"goodsList": [
{
"liveGoodsLibraryId": 260,
"goodsName":"AI智能课",
"enabledStatus":1,
"liveScenePOList": [
{
"liveGoodsLibraryId":260,
"isHide":false,
"name":"1171",
"orderBy":1,
"voice":"guijie",
"speed":1,
"volume":23,
"duration":100,
"lang":"zh-CN",
"role":"Default",
"style":"default",
"sourceType":0,
"backgroundAudioUrl":"https://digital-person.oss-cn-hangzhou.aliyuncs.com/live/936/goods_media/0/VOICE/dd9e3d8e-c36c-42c9-aa44-2ce9a2209db2.mp3",
"backgroundVolume":1,
"dialogFlowList":[
{
"liveMaterialTextId":164840,
"txtContent":"以下是第5个商品的介绍,123456是一个不错的商品,以下是第5个商品的介绍,123456是一个不错的商品,以下是第5个商品的介绍,123456是一个不错的商品,以下是第5个商品的介绍,123456是一个不错的商品,以下是第5个商品的介绍,123456是一个不错的商品,以下是第5个商品的介绍,123456是一个不错的商品,以下是第5个商品的介绍,123456是一个不错的商品,以下是第5个商品的介绍",
"duration":33.060936,
"url":"https://digital-person.oss-cn-hangzhou.aliyuncs.com/FileUpload/tmp/tts/a0ff4aa4-b103-4c0f-aa6e-7d1d576a469a.wav",
"audioId":"text_000_164840",
"backgroundVolume":0.5,
"x":0,
"y":0,
"width":0,
"height":0
},
{
"liveMaterialTextId":164839,
"txtContent":"欢迎新进直播间的家人们。留下来,让主播给你讲解你感兴趣的团购哈!",
"duration":5.66125,
"url":"https://digital-person.oss-cn-hangzhou.aliyuncs.com/FileUpload/tmp/tts/99f63918-db62-4e20-beb2-e6fd93de80d7.wav",
"audioId":"text_001_164839",
"backgroundVolume":1,
"x":0,
"y":0,
"width":0,
"height":0
},
{
"liveMaterialTextId":164842,
"txtContent":"123456是一个不错的商品,以下是第5个商品的介绍,123456是一个不错的商品,以下是第5个商品的介绍,123456是一个不错的商品",
"duration":11.371187,
"url":"https://digital-person.oss-cn-hangzhou.aliyuncs.com/FileUpload/tmp/tts/9f9983a2-4c0c-4d4c-b27d-aefdcc0d8699.wav",
"audioId":"text_002_164842",
"backgroundVolume":1,
"x":0,
"y":0,
"width":0,
"height":0
}
],
"materialList":[
{
"liveMaterialLibraryId":4074596596519864148,
"materialType":0,
"materialUrl":"https://msstest.sankuai.com/avatar-mgrplatform/成都-5_73be83e58bd7b0f.png",
"x":376.2,
"y":1361.9667,
"z":1,
"width":830.2,
"height":544.8333,
"frameWidth":1080,
"frameHeight":1920
},
{
"liveMaterialLibraryId":2085705662474423145,
"materialType":2,
"materialUrl":"https://msstest.sankuai.com/avatar-mgrplatform/上海-开元明庭_75b89001e9a48fc.mp4",
"x":127.93332,
"y":51.166687,
"z":3,
"width":725.3333,
"height":408,
"frameWidth":1080,
"frameHeight":1920
},
{
"liveMaterialLibraryId":3972997274946412489,
"materialType":2,
"materialUrl":"https://msstest.sankuai.com/avatar-mgrplatform/成都-锦著酒店_650454efa1d11e7.mp4",
"x":154.70001,
"y":493.4,
"z":4,
"width":704,
"height":469.3333,
"frameWidth":1080,
"frameHeight":1920
},
{
"liveMaterialLibraryId":-193543254181990905,
"materialType":2,
"materialUrl":"https://msstest.sankuai.com/avatar-mgrplatform/成都-谷兹博雅_3d85dae588fdc84.mp4",
"x":316.43335,
"y":987.6,
"z":5,
"width":640,
"height":360,
"frameWidth":1080,
"frameHeight":1920
},
{
"liveMaterialLibraryId":763191773565832648,
"materialType":0,
"materialUrl":"https://msstest.sankuai.com/avatar-mgrplatform/声音-大_volume-notice_7d04064eeb56d6f.png",
"x":196.23334,
"y":1222.6333,
"z":6,
"width":120,
"height":120,
"frameWidth":1080,
"frameHeight":1920
},
{
"liveMaterialLibraryId":-3980003212096528946,
"materialType":0,
"materialUrl":"https://msstest.sankuai.com/avatar-mgrplatform/声音-大_volume-notice_7d04064eeb56d6f.png",
"x":809.56665,
"y":516.6333,
"z":7,
"width":133.33333,
"height":133.33333,
"frameWidth":1080,
"frameHeight":1920
},
{
"liveMaterialLibraryId":-3595962433051355603,
"materialType":0,
"materialUrl":"https://msstest.sankuai.com/avatar-mgrplatform/静音_volume-mute_aa6642ea877682d.png",
"x":835.73334,
"y":166.46667,
"z":8,
"width":93.33333,
"height":93.33333,
"frameWidth":1080,
"frameHeight":1920
},
{
"liveMaterialLibraryId":-7894334561643101359,
"materialType":0,
"materialUrl":"https://msstest.sankuai.com/avatar-mgrplatform/声音-大_volume-notice_7d04064eeb56d6f.png",
"x":809.1,
"y":662.9667,
"z":9,
"width":120,
"height":120,
"frameWidth":1080,
"frameHeight":1920
}
],
"liveDigitalPersonAssetsList":[
{
"digitalPersonAssetsId":2496,
"templateId":"苦橘子_备用_1700739818596180",
"t0":70,
"t1":40,
"k":7,
"isMatting":true,
"templateValidLength":216,
"x":-36,
"y":963,
"z":2,
"width":540,
"height":960,
"frameWidth":1080,
"frameHeight":1920
}
],
"backGroundImage":{
"backgroundId":0,
"name":"",
"url":"https://msstest.sankuai.com/avatar-mgrplatform/成都_ad1ba3a96def28a.jpg",
"frameWidth":1080,
"frameHeight":1920
}
},
{
"liveGoodsLibraryId":260,
"isHide":false,
"name":"1175",
"orderBy":1,
"voice":"guijie",
"speed":1,
"volume":100,
"duration":100,
"lang":"zh-CN",
"role":"Default",
"style":"default",
"sourceType":0,
"backgroundAudioUrl":"https://digital-person.oss-cn-hangzhou.aliyuncs.com/live/616/goods_media/1814/audio/170677956935211111.mp3",
"backgroundVolume":1,
"dialogFlowList":[
{
"txtContent":"",
"liveMaterialLibraryId":480101,
"duration":51,
"url":"https://digital-person.oss-cn-hangzhou.aliyuncs.com/live/936/goods_media/0/VOICE/3de6734b-1f76-4c7d-8781-9a7e9d77b0f8.mp3",
"audioId":"audio_020_480101",
"audioUrl":"",
"backgroundVolume":1,
"x":0,
"y":0,
"width":0,
"height":0
}
],
"materialList":[
{
"liveMaterialLibraryId":-1226640265282049407,
"materialType":0,
"materialUrl":"https://msstest.sankuai.com/avatar-mgrplatform/成都-9_4fa52a5b37cafcd.png",
"x":236.66666,
"y":868,
"z":1,
"width":593,
"height":389.16666,
"frameWidth":1080,
"frameHeight":1920
},
{
"liveMaterialLibraryId":-6810748942624701585,
"materialType":2,
"materialUrl":"https://msstest.sankuai.com/avatar-mgrplatform/成都-锦著酒店_650454efa1d11e7.mp4",
"x":136.56668,
"y":113.63336,
"z":3,
"width":896,
"height":597.3333,
"frameWidth":1080,
"frameHeight":1920
}
],
"liveDigitalPersonAssetsList":[
{
"digitalPersonAssetsId":2496,
"templateId":"梦梦_1682331275657_1693879980811882",
"t0":70,
"t1":40,
"k":7,
"isMatting":true,
"x":270,
"y":960,
"z":2,
"width":540,
"height":960,
"frameWidth":1080,
"frameHeight":1920
}
],
"backGroundImage":{
"backgroundId":0,
"name":"",
"url":"https://msstest.sankuai.com/avatar-mgrplatform/d99c7d1d1e334887aa929086db4c2c27.png",
"frameWidth":1080,
"frameHeight":1920
}
}
],
"categoryCode": 19
}
]
}'
{
"code": 0,
"data": 0,
"requestId": "",
"resultMsg": "",
"host": "",
"errorStackTrace": ""
}