{
"templateImageFileId": "8cfe010093be4427947029e781f3b2ce",
"mode": "avatar4",
"scriptMode": "text",
"ttsText": "Hey, I’m Topview Avatar 4. Give me one picture, and I can make a video like this — natural, longer, and doing the moves you want.",
"voiceId": "zeeTdrCqbhpVKOucLtOKdhytM7rbJx5t",
"avatarId": "4ab61621aad940ff84784ad8f005953a"
}
curl --location --request POST 'https://api.302.ai/topview/v1/photo_avatar/task/submit' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"templateImageFileId": "8cfe010093be4427947029e781f3b2ce",
"mode": "avatar4",
"scriptMode": "text",
"ttsText": "Hey, I’m Topview Avatar 4. Give me one picture, and I can make a video like this — natural, longer, and doing the moves you want.",
"voiceId": "zeeTdrCqbhpVKOucLtOKdhytM7rbJx5t",
"avatarId": "4ab61621aad940ff84784ad8f005953a"
}'
{
"code": "200",
"message": "Success",
"result": {
"taskId": "f4b4cabbdb204c7783e903f755e6f110",
"status": "success",
"finishedVideoCoverUrl": "https://file.302ai.cn/gpt/imgs/20250905/bdabcd21272687227d56edca58094b35.jpg",
"finishedVideoUrl": "https://file.302ai.cn/gpt/imgs/20250905/66fa57424196b73a7ab16098f310477b.mp4"
}
}