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/uploadAuthorization — 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)
Responses
Upload URLs createdGenerateVideoUploadResponse
| Field | Type | Description |
|---|---|---|
task_id | string | |
image_upload_url | string | URL for the source image. |
audio_upload_url | string | URL 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"
}