{
"contentType": "application/json",
"properties": {
"callback_url": {
"type": "string"
},
"external_task_id": {
"type": "string"
},
"video_id": {
"description": "历史作品ID,可通过引用历史作品提供音频素材\n\n仅满足以下条件的视频可以用于定制音色:\n使用V2.6版本模型生成且开启sound参数值为on的视频\n通过数字人API生成的视频\n通过对口型API生成的视频\n音频中人生需干净无杂音,有且只能有一种人声,时长不短于5秒且不长于30秒",
"type": "string",
"x-i18n": {
"en-US": {
"description": "historical work ID, provide audio via historical works only videos meeting these conditions can customize a voice: videos from V2.6 with sound=on\nvideos from the digital-human API\nvideos from the lip-sync API\naudio must have clean speech without noise, exactly one clean voice, duration between 5s and 30s"
}
}
},
"voice_name": {
"description": "音色名称",
"type": "string",
"x-i18n": {
"en-US": {
"description": "Voice name"
}
}
},
"voice_url": {
"description": "音色数据文件获取链接\n支持.mp3/.wav/.mp4/.mov格式的音视频文件\n音频中人生需干净无杂音,有且只能有一种人声,时长不短于5秒且不长于30秒",
"type": "string",
"x-i18n": {
"en-US": {
"description": "voice sample file URL\nsupports .mp3/.wav/.mp4/.mov A/V files\naudio must have clean speech without noise, exactly one clean voice, duration between 5s and 30s"
}
}
}
},
"required": [
"voice_name"
]
}{
"callback_url": "",
"external_task_id": "",
"video_id": "830460928805724256",
"voice_name": "测试音色",
"voice_url": ""
}