Create your own personas
Create your own persona using the Anam API
Learn how to create and customize your own Anam persona
Creating Custom Personas with the API
You can create your own custom personas using the Anam API’s /v1/personas
endpoint. Custom personas allow you to define specific characteristics and behaviors for your use case.
Required Parameters
Persona Parameters
Parameter | Description |
---|---|
name | The name for the persona. Used as a human-readable identifier. |
avatarId | The avatar ID for the persona. |
voiceId | The voice ID for the persona. |
brainType | Which LLM used to power the responses |
brain | Configuration for the persona’s LLM. |
Brain Parameters
Parameter | Description |
---|---|
systemPrompt | The prompt used for initializing LLM interactions. |
Implementation Example
Here’s how to create a custom persona using the API:
The API will respond with the created persona’s details, including its ID:
Using Your Custom Persona
Once created, you can use your custom persona following the Production Usage guide.