Skip to main content
GET
/
public
/
avatar
Get all avatars
curl --request GET \
  --url https://api.trugen.ai/v1/public/avatar/ \
  --header 'x-api-key: <api-key>'
[
  {
    "avatar_key_id": "ed3a666dc5",
    "avatar_name": "Lisa",
    "gender": "male",
    "display_picture": "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/4gHYSUNDX1BST0ZJTEUAAQEA"
  }
]

Authorizations

x-api-key
string
header
required

Response

List of all available avatars

avatar_key_id
string

A unique ID for the avatar, this will be used while creating new agent.

Example:

"ed3a666dc5"

avatar_name
string

Default name of the stock avatar (This can be changed by setting a new name in the system prompt).

Example:

"Lisa"

gender
string
Example:

"male"

display_picture
string
Example:

"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/4gHYSUNDX1BST0ZJTEUAAQEA"