Use this method to set your custom avatar name and id, and to upload your video avatar's footage

Log in to see full request history

📘

How to create your footage?

Use our recomendations and instructions with best practices described here

Request Examples

{ "name": "Selfie avatar", "code": "my_custom_id", "url": "https://drive.google.com/file/d/1W9rA_KDGVZYywUCbdNVn0JHU6hVKb2kV/edit" }
{ "name": "Studio avatar", "code": "my_custom_id", "url": "https://drive.google.com/file/d/1W9rA_KDGVZYywUCbdNVn0JHU6hVKb2kV/edit" }
{ "name": "Mascot avatar", "code": "my_custom_id", "images": [ { "name": "my_photo.png", "data": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGsAAABsCAYAAABtuky0AAAA4WlD..." }, { "name": "my_photo2.png", "data": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGsAAABsCAYAAABtuky0AAAA4WlD..." } ] }

Note: Photo avatar assumes only creation using POST method

Path Params
string
required

Avatar '_id'. You should get this prop after fetching avatar list. For example '64ba634100bc80a3d3eb9674'

Body Params
string

Avatar's name

string

Custom code for avatar. If skipped avatar code will be generated from name, e.g. Avatar Name → avatar_name

string

Studio and selfie types of avatars only. Link to a folder with your footage, for example at Google Drive. Don't forget to share it with avatars@elai.io.

images
array of objects

Mascot avatar only. Array of files. Only images accepted.

images
Responses

Language
Credentials
Request
Click Try It! to start a request and see the response here! Or choose an example:
application/json