Submit TaskCopy Pagepost https://api.topview.ai/v1/photo_avatar/task/submitRecent RequestsLog in to see full request historyTimeStatusUser Agent Retrieving recent requests…LoadingLoading…Body ParamsavatarIdstring Retrieve values from the interface AiAvatar Query 2. avatarId and templateImageFileId can not be empty at the same time. templateImageFileIdstringDefaults to 2a22d8f1364d4903a4f7ec98d2046899 Upload local file to S3. 2. avatarId and templateImageFileId can not be empty at the same time. modestringenumrequiredavatar2 or avatar4 or avatar4Fast . avatar2 : Character actions automatically match audio rhythm. Improved lip sync; supports large-angle side profiles. Up to 28 seconds per video. Generation speed is average. avatar4 : Improved lip sync; supports large-angle side profiles. Character actions automatically match audio rhythm; supports prompt-based action control. Up to 120 seconds per video. Generation speed is relatively slow. avatar4Fast : Cheaper and faster, with slightly lower quality than Avatar 4.avatar4avatar2avatar4FastAllowed:avatar4avatar2avatar4FastscriptModestringenumrequiredtextaudioAllowed:textaudiottsTextstring When scriptMode=text, ttsText can not be empty. ttsText can use the<break time=\ "1.0s "/>tag to specify how long to pause at the break location (0.1-99.9, up to one decimal place). Example: welcome to <break time=\ "1.0s "/> topview.When reading "to", there will be a pause of 1 seconds, and then continue reading "topview".voiceIdstringDefaults to LaaHTrXZCVOQmB1wZUhnwmbPTAWDFtW6 When scriptMode=text, voiceId can not be empty. 2. Retrieve values from the interface Voice Query audioFileIdstringWhen scriptMode=audio, audioFileId can not be empty. 1. mode=avatar2, audio durations <= 28s 2. mode=avatat4, audio durations <= 120s 3. mode=avatat4Fast, audio durations <= 120scaptionIdstringRetrieve values from the interface Caption ListcustomMotionstring Please describe the actions you want the avatar to perform.(eg: The man is waving his hand.) 2. Max length is 600. saveCustomAiAvatarbooleanenumWhether save to custom avatar. Default false. 1. saveCustomAiAvatar=true, templateImageFileId saves to custom avatar and generates video; 2. saveCustomAiAvatar=false, don not save to custom avatar, only generates video.truefalseAllowed:truefalsenoticeUrlstringYou can retrieve the task result from noticeUrl.boardIdstringBoard ID (optional). If provided, the task will be associated with this board.HeadersTopview-UidstringrequiredDefaults to <your-topview-uid>AuthorizationstringrequiredDefaults to Bearer <your-api-key>Response 200Successful responseUpdated 5 months ago