数字人来源:0-用户上传的视频;1-公模列表; The sources of avatars: 0- User uploaded video file; 1- avatar list;
Allowed values:
01
videoFileId
string
optional
用户通过上传接口上传的视频文件id。avatarSourceFrom=0时g该字段必传。 File id you uploaded video via the upload api. When avatarSourceFrom equals 1, this field must be provided.
aiAvatarId
string
optional
公模数字人id,当avatarSourceFrom=1时,该字段必传。 avatar id. When avatarSourceFrom equals 0, this field must be provided.
audioSourceFrom
enum<integer>
required
音频来源。0-用户上传音频;1-文本转语音。 The sources of audio: 0-user uploaded audio file; 1- text to speech.
Allowed values:
01
audioFileId
string
optional
用户上传的音频文件id,当audioSourceFrom=0时必传。 File id via the upload api. When audioSourceFrom equals 0, this field must be provided.
ttsText
string
optional
用户输入文本内容,当audioSourceFrom=1时必传。 User input content. When audioSourceFrom equals 1, this field must be provided.
voiceoverId
string
optional
音色id,当audioSourceFrom=1时必传。 当audioSourceFrom = 1且avatarSourceFrom=1时,不传该值表示使用数字人默认音色。 Voice over id. When audioSourceFrom equals 1, and avatarSourceFrom equals 0, this field must be provided. When audioSourceFrom equals 1 and avatarSourceFrom equals 1, voiceoverId is null means use the default voiceover id of the avatar.