Generate talking avatar videos by combining an image with audio.
Model
Parameters
| Parameter | Type | Required | Description |
|---|
image_url | string | Yes | Person/avatar image URL |
audio_url | string | * | Direct URL to audio file |
audio_task_id | string | * | Task ID from a completed TTS job |
prompt | string | Yes | Text description for the video |
quality | string | No | standard or high |
enhance_prompt | boolean | No | Enhance prompt (default true) |
seed | integer | No | Seed for reproducibility |
Provide either audio_url OR audio_task_id, but not both.
Example - With Audio URL
curl -X POST https://api.unifically.com/v1/tasks \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "higgsfield-ai/speak",
"input": {
"image_url": "https://example.com/person.jpg",
"audio_url": "https://example.com/speech.wav",
"prompt": "A person speaking with natural expressions",
"quality": "high"
}
}'
Example - With TTS Task ID
curl -X POST https://api.unifically.com/v1/tasks \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "higgsfield-ai/speak",
"input": {
"image_url": "https://example.com/person.jpg",
"audio_task_id": "8e93f884-31d1-478d-92f6-ffc7ff1e868f",
"prompt": "A professional presenter explaining a concept",
"quality": "high"
}
}'
Response
{
"code": 200,
"success": true,
"data": {
"task_id": "abc123def456",
"status": "pending"
}
}
Pricing
| Quality | Price |
|---|
| Standard | $0.25 |
| High | $0.35 |