SnapeditAPI
Đăng nhậpBắt đầu miễn phí
Đăng nhập
API Reference

Create talking-head task

Generate a talking-head video from a portrait image and audio file. The output video is rendered at up to 1024 pixels on the longest edge.

The input audio must be no longer than 180 seconds (3 minutes).

Poll Get talking-head task status until COMPLETED or FAILED.

Model:talking-head
Credit:175/video (0-8 seconds), 4/second (each additional second)
post/v1/videos/talking-head

Authorization — This endpoint requires an API key. Pass it in the api-key header on every request. Learn more

Thời gian xử lý trung bình

Cho video đầu ra dài 8 giây.

Thời gian xử lý
≈ 60 giây

Yêu cầu đầu vào

Hình ảnh

Định dạng
JPEG, PNG, WEBP
Độ phân giải tối đa
3000 × 3000 px

Âm thanh

Thời lượng tối đa
180 giây (3 phút)
Xem tất cả yêu cầu đầu vào

Parameters

NameTypeStatusDescription
task_id
stringRequired

Responses

Task createdTaskCreatedResponse

FieldTypeDescription
task_idstringUnique task identifier. Poll the matching task-status endpoint for results.
statusstring
created_atintegerUnix timestamp of task creation
curl -X POST "https://api.snapedit.app/v1/videos/talking-head" \
  -H "api-key: YOUR_API_KEY" \
  -F "task_id=value"
Response
{
  "task_id": "task_abc123",
  "status": "CREATED",
  "created_at": 1745827200
}

Examples (1 example)

Input

Input 1

Output