SnapeditAPI
Đăng nhậpBắt đầu miễn phí
Đăng nhập
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

Yêu cầu đầu vào

Video

Định dạng
MP4, MOV
Cạnh dài nhất tối đa
1280 px
Thời lượng tối đa
300 giây (5 phút)

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

Xem tất cả yêu cầu đầu vào

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