v1

latestOpenAPI 3.0.32026-07-26214565.6 KB
Avatar Management

Upload Streaming Avatar

Create a new streaming avatar from a video URL

post/api/open/v3/avatar/create

Request body

urlstring required

Avatar resource link. It is recommended that the video be about one minute long, and the avatar in the video content should rotate at a small angle and be clear.

avatar_idstring required

Avatar unique ID, can only contain alphanumeric characters

namestring required

Avatar display name for easier identification and management

type2 required

Avatar type 2 represents stream avatar. When type is 2, you need to wait until status is 3 before you can use it. You can get the current status in real time through the Get Avatar Detail API.

url_from1 | 2 required

URL source, 1 means akool and other links, 2 means other third-party links (currently only supports YouTube / TikTok / X / Google Drive)

Response

Avatar created successfully

codeinteger required

Interface returns business status code (1000: success)

msgstring required

Interface returns status information

Example response

{
  "code": 1000,
  "msg": "OK"
}