Documentation Index
Fetch the complete documentation index at: https://anam.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
Anam’s one-shot avatar generator creates a personalized avatar from a single photo. You can use any face — a real person, a stock photo, or an AI-generated image — and the system produces an avatar that can speak, express, and hold conversations.
Create in Anam Lab
Add a new avatar
Click the Add button, then either upload a photo or capture one with your webcam. For best results, follow the best practices. Generate
Click Create and wait for your avatar to be generated. Once ready, it’s available for use in any persona.
Create via API
For programmatic avatar creation, use the Create Avatar endpoint. This is useful for building custom onboarding flows or batch-creating avatars.
const response = await fetch("https://api.anam.ai/v1/avatars", {
method: "POST",
headers: {
"Content-Type": "application/json",
Authorization: `Bearer ${apiKey}`,
},
body: JSON.stringify({
displayName: "My Custom Avatar",
imageUrl: "https://example.com/photo.jpg",
}),
});
Using your avatar
Once created, reference the avatar by its ID in your persona configuration:
const personaConfig = {
name: "My Persona",
avatarId: "your-custom-avatar-id",
voiceId: "6bfbe25a-979d-40f3-a92b-5394170af54b",
llmId: "a7cf662c-2ace-4de1-a21e-ef0fbf144bb7",
systemPrompt: "You are a helpful assistant.",
};
You can find the avatar ID in Lab by clicking the three-dot menu on any avatar and selecting Copy ID.