Create avatar

You can create an "instant" avatar by sending an image or video link to the API. The avatar will be generated based on the provided media.

The API will return the avatar's name, which can then be used for generating video with the avatar.

Creates a new avatar.

post

Creates a new avatar from the sent properties.

Authorizations
Body
displayNamestringOptional

Name to be displayed for the avatar

sourceFileUrlstringOptional

URL to the video or image file for the avatar to be created from

genderstring · enumOptionalPossible values:
Responses
201
Avatar created successfully.
application/json
post
POST /api/v1/assets/actors HTTP/1.1
Host: app.colossyan.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 61

{
  "displayName": "text",
  "sourceFileUrl": "text",
  "gender": "Male"
}
{
  "name": "text"
}

Last updated

Was this helpful?