Resize video
Scale a video to new dimensions. At least one of width or height must be provided; the other is calculated to maintain aspect ratio.
Three fit modes:
cover(default) — fill the target size, cropping overflowcontain— fit within the target size, adding black bars if neededstretch— distort to exact dimensions
Authorizations
API key from varg.ai/dashboard.
Pass as Authorization: Bearer varg_xxx.
Body
URL of the source video
"https://s3.varg.ai/o/my-video.mp4"
Target width in pixels
x >= 11080
Target height in pixels
x >= 11920
How to fit the video into the target dimensions
contain, cover, stretch Response
Job created
Unique job identifier
"job_a1b2c3d4"
Current job status
queued, processing, completed, failed, cancelled "completed"
Resolved model identifier (provider:model format)
"fal:kling-v2.5"
When the job was created
"2026-02-13T10:00:00Z"
When the job finished (completed, failed, or cancelled)
"2026-02-13T10:02:30Z"
Job output, present when status is completed
Cache metadata
Error message, present when status is failed
"Provider returned an error"