Skip to main content

Generic avatar (Beta)

The generic avatar vendor allows you to integrate a custom avatar provider into the Conversational AI Engine.

Sample configuration

The following example shows a starting avatar parameter configuration you can use when you Start a conversational AI agent.


_12
"avatar": {
_12
"vendor": "generic",
_12
"params": {
_12
"api_key": "<AVATAR_API_KEY>",
_12
"api_base_url": "<AVATAR_API_BASE_URL>",
_12
"avatar_id": "<AVATAR_ID>",
_12
"agora_appid": "<AGORA_APP_ID>",
_12
"agora_token": "<AGORA_TOKEN>",
_12
"agora_channel": "<AGORA_CHANNEL>",
_12
"agora_uid": "<AGORA_UID>"
_12
}
_12
}

Key parameters

paramsrequired
  • api_key stringrequired

    The API key used for authentication with the avatar provider.

  • api_base_url stringrequired

    The base URL of the avatar provider's API endpoint.

  • avatar_id stringrequired

    The unique identifier for the avatar to use.

  • agora_appid stringrequired

    The Agora App ID for the avatar's RTC connection.

  • agora_token stringnullable

    The RTC token that authorizes the avatar to join the video channel. Generate this token using your Agora project credentials.

  • agora_channel stringrequired

    The Agora channel name the avatar joins.

  • agora_uid stringrequired

    The unique identifier for the avatar's RTC connection. This must be different from other participants in the channel.