cURL
curl --request POST \ --url https://api.anam.ai/v1/avatars \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: multipart/form-data' \ --form 'displayName=<string>' \ --form imageFile=@example-file.txt
Create a new one-shot avatar from an image file
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successfully created avatar
Was this page helpful?