API Reference

Create remove-object-pro video upload URLs

Prepare a source video and an aligned mask video for Pro object removal. A mask created by object tracking can be used to identify the objects to remove.

Create separate signed upload URLs for the source and mask videos, then upload both files with HTTP PUT. Source and mask videos must have the same resolution, spatial alignment, and timeline.

After preparing inputs, submit Create task.

post/v1/videos/remove-object-pro/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
1280 px
Maximum duration
300 seconds (5 minutes)

Source and mask videos must have the same resolution, spatial alignment, and timeline.

View all input requirements

Responses

Video and mask upload URLs createdRemoveObjectVideoProUploadResponse

FieldTypeDescription
task_idstring
video_upload_urlstringSigned URL for the source video.
mask_upload_urlstringSigned URL for the frame-aligned mask video.
curl -X POST "https://api.snapedit.app/v1/videos/remove-object-pro/upload" \
  -H "api-key: YOUR_API_KEY"
Response
{
  "task_id": "task_abc123",
  "video_upload_url": "string",
  "mask_upload_url": "string"
}