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

Input requirements

Images

Formats
JPEG, PNG, WEBP
Maximum resolution
3000 × 3000 px

Audio

Maximum duration
180 seconds (3 minutes)
View all input requirements

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"
}