Skip to content

Get Avatar Video (v1)

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

Retrieve a specific avatar video task by its ID. Use this to check the status and output of a creation task.

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/abc123/' \
  -H 'X-API-ID: your-api-id' \
  -H 'X-API-KEY: your-api-key'

Response

json
{
  "id": "abc123",
  "status": "done",
  "text": "Hello, welcome to our product demo.",
  "creator_id": "avatar-001",
  "aspect_ratio": "16:9",
  "voice_id": "voice-en-001",
  "no_caption": false,
  "output": "https://cdn.creatify.ai/videos/abc123.mp4",
  "preview": "https://cdn.creatify.ai/previews/abc123.mp4",
  "created_at": "2024-01-15T10:30:00Z",
  "updated_at": "2024-01-15T10:35:00Z"
}

Response Fields

FieldTypeDescription
idstringUnique task identifier
statusstringTask status: pending, processing, done, failed
textstringThe script text
creator_idstringAvatar ID used
aspect_ratiostringVideo aspect ratio
voice_idstringVoice ID used
no_captionbooleanWhether captions are disabled
outputstringFinal rendered video URL (available when status is done)
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

TIP

Poll this endpoint to check task completion. When status changes to done, the output field will contain the video URL.