Skip to content

Create Custom Avatar (v2)

FreshPOST
POST https://api.creatify.ai/api/personas_v2/

Create a new v2 custom avatar with consent verification and improved lipsync quality. V2 requires uploading both a consent video and lipsync training files.

Request Body

NameTypeRequiredDescription
namestringYesName for the custom avatar
consent_video_urlstringYesURL to the consent video (person must state their consent on camera)
lipsync_video_urlstringYesURL to the lipsync training video
image_urlstringNoOptional reference image URL

Headers

HeaderTypeRequiredDescription
X-API-IDstringYesYour Creatify API ID
X-API-KEYstringYesYour Creatify API key
Content-TypestringYesapplication/json

Example Request

bash
curl -X POST 'https://api.creatify.ai/api/personas_v2/' \
  -H 'X-API-ID: your-api-id' \
  -H 'X-API-KEY: your-api-key' \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "Brand Ambassador v2",
    "consent_video_url": "https://example.com/consent-video.mp4",
    "lipsync_video_url": "https://example.com/lipsync-training.mp4"
  }'

Response

json
{
  "id": "persona-v2-001",
  "name": "Brand Ambassador v2",
  "status": "processing",
  "consent_verified": false,
  "created_at": "2024-01-15T10:30:00Z"
}

Status Codes

CodeDescription
201Avatar creation started
400Bad request -- invalid parameters or consent video
401Unauthorized -- invalid API credentials
402Insufficient credits
429Rate limit exceeded
500Internal server error

Consent Requirements

The consent video must show the person clearly stating their consent to have their likeness used for AI avatar generation. Videos that do not meet consent requirements will be rejected.

TIP

The lipsync training video should be 30-60 seconds of the person speaking clearly, facing the camera. Good audio quality significantly improves lipsync accuracy.