Resize video

Rescale a video to target dimensions, cover-crop or contain-letterbox. Async — returns 202 with a pending job; poll GET /tool_jobs/{uid} until status is completed or failed.

post/tools/resize_video

Request body

video_urlstring uri required

Video URL

widthinteger required

Width

heightinteger required

Height

fit'cover' | 'contain' | 'blur'

cover crops, contain letterboxes, blur fills the bars with a blurred copy

metadatastring

Arbitrary metadata string stored with the tool run

Response

Tool run accepted

uidstring
tool'resize_video'
status'pending' | 'running' | 'completed' | 'failed'

pending → running → completed / failed

progressinteger

0-100 job progress, 100 once completed

inputsobject

Inputs the job was created with

metadatastring nullable

Arbitrary metadata string round-tripped from the create request

selfstring uri
created_atstring date-time
completed_atstring date-time nullable
error_messagestring nullable

Human-readable failure reason (only present on failed jobs)

Changes

No recorded changes to this endpoint across all 1 revision of this API.