Skip to main content
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

1

Open the Build page

Go to lab.anam.ai/build and select the Avatar tab.
2

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.
3

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: "0934d97d-0c3a-4f33-91b0-5e136a0ef466",
  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.