Skip to content

Get Avatar Video (v2)

FreshGET
GET https://api.creatify.ai/api/lipsyncs/{id}/

Retrieve a specific v2 avatar video task by its ID. V2 tasks include multi-scene data with per-scene avatar, voice, text, and background settings.

Path Parameters

NameTypeRequiredDescription
idstringYesThe lipsync task ID

Headers

HeaderTypeRequiredDescription
X-API-IDstringYesYour Creatify API ID
X-API-KEYstringYesYour Creatify API key

Example Request

bash
curl -X GET 'https://api.creatify.ai/api/lipsyncs/v2-abc123/' \
  -H 'X-API-ID: your-api-id' \
  -H 'X-API-KEY: your-api-key'

Response

json
{
  "id": "v2-abc123",
  "status": "done",
  "scenes": [
    {
      "avatar": "avatar-001",
      "voice_id": "voice-en-001",
      "text": "Welcome to our product.",
      "background": "https://example.com/bg1.jpg"
    },
    {
      "avatar": "avatar-002",
      "voice_id": "voice-en-002",
      "text": "Let me show you the features.",
      "background": "https://example.com/bg2.jpg"
    }
  ],
  "aspect_ratio": "16:9",
  "output": "https://cdn.creatify.ai/videos/v2-abc123.mp4",
  "preview": "https://cdn.creatify.ai/previews/v2-abc123.mp4",
  "created_at": "2024-01-15T10:30:00Z",
  "updated_at": "2024-01-15T10:40:00Z"
}

Response Fields

FieldTypeDescription
idstringUnique task identifier
statusstringTask status: pending, processing, done, failed
scenesarrayArray of scene objects
scenes[].avatarstringAvatar ID for this scene
scenes[].voice_idstringVoice ID for this scene
scenes[].textstringScript text for this scene
scenes[].backgroundstringBackground image/video URL
aspect_ratiostringVideo aspect ratio
outputstringFinal rendered video URL
previewstringPreview video URL
created_atstringISO 8601 timestamp
updated_atstringISO 8601 timestamp

Status Codes

CodeDescription
200Success
401Unauthorized -- invalid API credentials
404Lipsync task not found
500Internal server error