SnapeditAPI
Đăng nhậpBắt đầu miễn phí
Đăng nhập
API Reference

Create enhance-video task

Create the processing task after uploading the source file.

Poll Get enhance-video task status until COMPLETED or FAILED.

Model:enhance-video
Credit:3/second (Full HD), 5/second (2K)
post/v1/videos/enhance

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

Thời gian xử lý trung bình

Cho video đầu vào dài 10 giây.

Full HD
≈ 9 giây
2K
≈ 14 giây

Đo với video đầu vào 1280 px.

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

Video

Định dạng
MP4, MOV
Cạnh dài nhất tối đa
3840 px (4K)
Thời lượng tối đa
300 giây (5 phút)
Xem tất cả yêu cầu đầu vào

Parameters

NameTypeStatusDescription
task_id
stringRequiredTask ID returned by the upload endpoint.
zoom_factor
stringRequiredOutput size target. FHD is max 1920 px; 2K is max 2560 px.
FHD2K
(default: FHD)

Responses

Task createdTaskCreatedResponse

FieldTypeDescription
task_idstringUnique task identifier. Poll the matching task-status endpoint for results.
statusstring
created_atintegerUnix timestamp of task creation
curl -X POST "https://api.snapedit.app/v1/videos/enhance" \
  -H "api-key: YOUR_API_KEY" \
  -F "task_id=value" \
  -F "zoom_factor=FHD"
Response
{
  "task_id": "task_abc123",
  "status": "CREATED",
  "created_at": 1745827200
}

Examples (1 example)

Play or pause one video to control the whole comparison.

Input

Output