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.

After preparing inputs, submit Create task.

post/v1/videos/remove-background/upload

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

Input requirements

Videos

Formats
MP4, MOV
Maximum longest edge
3840 px (4K)
Maximum duration
300 seconds (5 minutes)
View all input requirements

Responses

Upload URL createdUploadUrlResponse

FieldTypeDescription
task_idstringTask identifier to pass to the create-task endpoint.
upload_urlstringURL 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"
}