Media

Video Resize

Resize video for social media (TikTok 9:16, YouTube 16:9, Instagram 1:1).

Category: Media · Plans: Trial, Pro, Premium, Enterprise · Type: VideoResize

Inputs#

FieldTypeRequiredDefaultWhat it does
Video URLTextYes(empty)URL to the video to resize.
Target Aspect RatioTextNo9:16Choose aspect ratio preset or ‘custom’ for manual dimensions. Options: 9:16, 16:9, 1:1, 4:5, 4:3, 21:9, 3:4, custom
Resize ModeTextNofillHow to handle size differences. Options: fill, fit, stretch, crop_center
Custom WidthNumberNo1080Custom width (only used when aspect ratio is ‘custom’). (Advanced)
Custom HeightNumberNo1920Custom height (only used when aspect ratio is ‘custom’). (Advanced)
Background ColorTextNo#000000Background color for letterbox (hex code, e.g., #000000). (Advanced)
Output FormatTextNomp4Options: mp4, webm, mov (Advanced)

Outputs#

OutputType
Video UrlAny
File IdAny
File NameAny
DurationAny
Original WidthAny
Original HeightAny
New WidthAny
New HeightAny
Aspect RatioAny
Resize ModeAny
StatusAny
ErrorAny

Use as an agent tool#

Tool name: videoresize

Resize videos for social media platforms. Aspect ratio presets: 9:16 (TikTok/Instagram Reels/YouTube Shorts), 16:9 (YouTube/Facebook landscape), 1:1 (Instagram feed square), 4:5 (Instagram portrait), 4:3 (classic TV), 21:9 (ultrawide), 3:4 (portrait), or custom dimensions. Resize modes: ‘fill’ (letterbox with padding), ‘fit’ (scale to fit), ‘stretch’ (distort to fill), ‘crop_center’ (crop to fill without distortion).