Skip to main content

Usage guide

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

AnamAvatar

Real-time talking-head video avatar from Anam, lip-synced to the agent’s speech, using your own Anam key. Choose it to give a voice agent a visible face. Authenticates with ANAM_API_KEY from your environment, or an explicit api_key.

Fields

Optional[str]
default:"UNSET"
ID of the Anam avatar to show, from your Anam account or avatar gallery. Defaults to None (not set).
Any
default:"UNSET"
Full Anam persona settings, used instead of avatar_id when you need more control. Must include avatar_id. Defaults to None (not set).
bool
default:"UNSET"
Stream the agent’s own speech to the avatar for lip-sync. Leave on: Anam rejects avatar-only sessions without it. Defaults to True.
Optional[float]
default:"UNSET"
Seconds after which a fresh Anam session replaces the current one, to stay under Anam’s per-session limit (e.g. 120 for a 139-second cap). The swap waits for a gap in speech and the call never drops. Also reconnects at once if Anam ends a session early. Defaults to None (not set).