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.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
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.
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 short preview video of the avatar, if one exists. The URL is short-lived — re-fetch the avatar to get a fresh one. null when no preview video is available.
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.
Public model names this avatar supports (e.g. cara-2, cara-3).
Public model name currently rendered when no explicit avatarModel is requested.