v1
latestOpenAPI 3.0.32026-07-241112213.6 KBNew Endpoint
This is your first endpoint! Edit this page to start documenting your API.
Headers
Request body
The sources of avatars: Allowed values: 0 1 2 3. 0-user local video; 1-When isCustom is null or false of the API AiAvatar List; 2- When isCustom is true of the API AiAvatar List; 3-user local photo.
File id you uploaded video via the upload api. When avatarSourceFrom equals 0, this field must be provided.
Voice over id. When audioSourceFrom equals 1 and avatarSourceFrom equals 0 or 2, 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.
Whether create avatar from current video
Only support avatarSourceFrom equals 1, caption_id from interface. Caption List
Please refer to the API documentation for details NoticeUrl
File id via the upload api. When audioSourceFrom equals 3, this field must be provided.
Mode type. 0-avatar1, 1-avatar2 Allowed values: 0 1. Defaults to 0
enum<integer> required The sources of audio: 0-user uploaded audio file; 1- text to speech. Allowed values: 0 1
File id via the upload api. When audioSourceFrom equals 0, this field must be provided.
User input content. When audioSourceFrom equals 1, this field must be provided.
Voice over id. When audioSourceFrom equals 1 and avatarSourceFrom equals 0 or 2 or 3, 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.
Sound speed, range [0.8 ~ 1.2], default is 1. It only takes effect when audioSourceFrom=1.
Response
Successful response