create avatar
Create a new one-shot avatar from an image file or image URL. You can use either multipart/form-data with an image file, or JSON with an image URL.
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.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Source image and display name for the new one-shot avatar. Provide either an uploaded file (multipart/form-data with imageFile) or a URL (application/json with imageUrl) — not both.
Display name for the avatar (3-50 characters)
Image file to create the avatar from (JPEG, PNG, or WebP, max 4.5MB). Either imageFile or imageUrl must be provided, but not both.
URL of the image to create the avatar from (JPEG, PNG, or WebP, max 4.5MB). Either imageFile or imageUrl must be provided, but not both.
Avatar model to use (e.g. "cara-3", "cara-4-latest"). Defaults to the server default model. Gated models require organization-level access.
Response
Successfully created avatar
A face preset that a persona can use as its visual representation.
Unique identifier for the avatar.
Human-readable name shown in the Lab and share links.
Name of the specific variant (e.g. lighting or pose) within the avatar family.
URL of the still image used as a preview of the avatar.
Signed URL for a muted idling MP4 preview of the avatar, if one exists. The URL expires after 1 hour; re-fetch the avatar to get a fresh URL. null when the preview is unavailable or still generating.
Timestamp when the avatar was created.
Timestamp when the avatar was last updated.
ID of the organization that created the avatar, or null for stock avatars. IDs may be either UUIDs or nanoid-style strings depending on when the organization was created.
Internal avatar version identifiers this avatar has generated assets for. Current public model mappings are v1 = cara-2, v2 = cara-3, and cara-4-* = cara-4-latest. Use the public avatarModel request field when selecting a model.
Internal avatar version used by default when no explicit avatarModel is requested. Current public model mappings are v1 = cara-2, v2 = cara-3, and cara-4-* = cara-4-latest.

