Skip to main content
POST
/
characters
/
{character_id}
/
auto-generate-face-images
Auto-generate face dataset
curl --request POST \
  --url https://api.animusai.co/v2/characters/{character_id}/auto-generate-face-images \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "source_image_url": "<string>",
  "prompts": [
    "<string>"
  ]
}'
{
  "job_id": "<string>",
  "character_id": "<string>",
  "status": "<string>",
  "message": "<string>",
  "total_images": 123,
  "estimated_time": 123,
  "credits_deducted": 123,
  "remaining_balance": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

character_id
string
required

Body

application/json
source_image_url
string<uri>
required
prompts
string[]

Response

200 - application/json

Auto-generation scheduled.

job_id
string
character_id
string
status
string
message
string
total_images
integer
estimated_time
integer
credits_deducted
number
remaining_balance
number
I