Skip to main content

Usage guide

Setup, environment variables, and Python/JavaScript/Go usage examples.

AnamAvatar

Avatar integration for the Anam provider. Configures an Anam avatar session, resolving credentials and avatar settings from explicit arguments or environment variables.

Constructor

api_key
Optional[str]
Anam API key. Falls back to the ANAM_API_KEY environment variable when not provided.
avatar_id
str
default:""
Identifier of the avatar to use. Falls back to the ANAM_AVATAR_ID environment variable, then to a built-in default avatar when empty.
persona_name
Optional[str]
Optional persona name to apply to the avatar.
voice_id
Optional[str]
Optional voice identifier for the avatar.