The persona configuration
Every persona is defined by a single configuration object:| Field | What it controls | Learn more |
|---|---|---|
name | Internal label for logs and analytics | Optional |
avatarId | The face and expressions users see | Avatar Gallery, Custom Avatars |
voiceId | How the persona sounds | Voice Gallery, Custom Voices |
llmId | Which language model powers the conversation | Available LLMs, Custom LLMs |
systemPrompt | Personality, behavior, and instructions | Prompting Guide |
Persona lifecycle
Create a session token
Your server exchanges the persona configuration and your API key for a short-lived session token.
Experimenting in the Lab
The easiest way to try different avatars, voices, and LLMs is the playground in Anam Lab. From the build page you can swap components, preview over 400 voices, and copy IDs into your own code when you’re happy with the result.Next steps
Prompting Guide
Write system prompts that produce natural, conversational personas.
Session Options
Configure session duration, voice detection, and greeting behavior.

