Resize
AI-generatedSummary
Resize a video from a supported URL either by specifying explicit width and height dimensions or by selecting an aspect ratio and resolution preset.
Inputs
- URL (required) — URL of the media to resize, supporting YouTube, TikTok, Instagram, Twitter/X, Vimeo, and over 1,000 other sites.
- Resize Mode (required) — Choose how to specify the new size: either by exact Width & Height or by Aspect Ratio plus Resolution presets.
- Width — Target width in pixels when using the Width & Height resize mode (minimum 1).
- Height — Target height in pixels when using the Width & Height resize mode (minimum 1).
- Aspect Ratio — Target aspect ratio when using the Aspect Ratio + Resolution resize mode. Options include 16:9, 9:16, 4:3, or 1:1.
- Resolution — Target resolution preset when using the Aspect Ratio + Resolution mode. Options include HD (720p), Full HD (1080p), 2K (1440p), 4K (2160p), and 8K (4320p).
Output shape
a JSON object representing the resized video job result
The operation submits an asynchronous resize job and polls until completion or timeout (up to 15 minutes). On success, the job result containing the resized video data is returned as JSON. Errors include detailed retryable status.