Avatar Workflow
Create avatars from a text prompt or from existing images, then generate additional looks by editing. You can receive webhooks on completion or poll a status endpoint.From Prompt
Create a brand new avatar using a text prompt and a visual style.
From Images
Build an avatar instantly from your own reference images. No generation cost.
Edit Look
Generate a new look from an existing one using a prompt and optional extra images.
Status & Webhooks
Track generation status via polling or receive webhooks on completion/failure.
Endpoints
Create from Prompt
POST/api/public/v1/avatar/create
Request body:
Creation costs 2 credits. Status starts as
pending and becomes ready or error.Create from Images
POST/api/public/v1/avatar/create
Request body:
No generation cost; looks are created instantly with status
ready.Edit an Avatar Look
POST/api/public/v1/avatar/edit
Request body:
Editing costs 2 credits per new look. A new look is created in
pending status and updated to ready or error.Status & Webhooks
Poll Generation Status
GET/api/public/v1/avatar/status?avatar_id={avatarId}&look_id={lookId}
Example response:
Webhook Payloads
On success:Provide a
webhook_url in the request body to receive asynchronous updates. Otherwise, use the status endpoint to poll.
