API Reference
Create remove-background video upload URL
Create a upload URL for a source video. Upload the files to provided URLs with HTTP PUT before creating the task.
post
/v1/videos/remove-background/uploadAuthorization — This endpoint requires an API key. Pass it in the api-key header on every request. Learn more
Responses
Upload URL createdUploadUrlResponse
| Field | Type | Description |
|---|---|---|
task_id | string | Task identifier to pass to the create-task endpoint. |
upload_url | string | URL for uploading the input. |
curl -X POST "https://api.snapedit.app/v1/videos/remove-background/upload" \
-H "api-key: YOUR_API_KEY"Response
{
"task_id": "task_abc123",
"upload_url": "https://storage.googleapis.com/upload/abc123"
}