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

Create talking-head upload URLs

Create image and audio upload URLs. Upload the files to provided URLs with HTTP PUT before creating the task.

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

After preparing inputs, submit Create task.

post/v1/videos/talking-head/upload

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

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

Responses

Upload URLs createdGenerateVideoUploadResponse

FieldTypeDescription
task_idstring
image_upload_urlstringURL for the source image.
audio_upload_urlstringURL for talking-head audio.
curl -X POST "https://api.snapedit.app/v1/videos/talking-head/upload" \
  -H "api-key: YOUR_API_KEY"
Response
{
  "task_id": "task_abc123",
  "image_upload_url": "string",
  "audio_upload_url": "string"
}