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/upload

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

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