WorkflowActive
wiro / video-resize
video-resize
Resize and reframe videos to new pixel sizes or aspect ratios using padding, crop, stretch, or blurred background fills. Built by Wiro for social-ready formats.
Utility
Model ID
video-resize
Provider
wiro
Updated
1785771481
wiro playground—wiro/video-resize
Updated 1785771481
## Overview
Video Resize by Wiro takes an existing video and outputs a new version at a different frame size. You can set an exact width and height, or retarget to a new aspect ratio while keeping a similar total pixel count. It supports common reframing styles like padding, center-crop, stretch, or a blurred background fill. This solves the tedious “make one edit for every platform” step when publishing the same clip across feeds.
## What you can build
- Convert a 16:9 YouTube clip into a 9:16 vertical version for Shorts and Reels
- Create square (1:1) cuts for social posts without manually rebuilding a timeline
- Batch-ready formatting for paid ads that require strict pixel sizes
- Letterboxed or pillarboxed exports with a chosen bar color
- “Blurred background” versions of vertical footage for landscape placements
## Inputs
- One input video file, provided by upload or by URL. Wiro commonly supports MP4, MOV, and WebM uploads.
- An optional target width in pixels. It must be an even number between 16 and 7680.
- An optional target height in pixels. It must be an even number between 16 and 7680.
- A target aspect ratio to use when you don’t provide both pixel dimensions. Supported ratios include 16:9, 9:16, 1:1, 4:5, 5:4, 4:3, 3:4, 21:9, and 9:21.
- A fit style that controls how the original frame maps into the new frame. You can keep the full image with padding, fill the frame with cropping, stretch to fit, or place the clip over a blurred copy of itself.
- An optional padding color, provided as a named color (for example, black) or a hex value (for example, #000000). This only applies when you choose a padded fit.
## Outputs
The model returns a single resized video as a downloadable file URL. The result includes file metadata such as the output filename, MIME content type, and file size. The video keeps the original content timing, but changes the frame layout based on your chosen sizing and fit.
## Limitations
- Exact sizing requires both width and height. If you only set one, use aspect-ratio retargeting instead.
- Maximum target size is 7680 px on each side. Very large outputs can increase file size.
- Padding modes keep everything in frame, but they add visible bars around the video.
- Crop modes fill the frame, but they can cut off subjects near the edges.
- Stretch modes can visibly distort faces, logos, and text.
- Blurred background fill can soften details and may look artificial on sharp graphics.
- Low-resolution, noisy, or heavily compressed source clips can look worse after scaling. Edges and gradients may show artifacts.
- If you upload the video to Wiro first, the documented file upload limit is 100 MB per file. Larger sources should be provided by URL when possible.
API quick start
Run video-resize with a single API call.
POST https://api.wiro.ai/v1/Run/wiro/video-resize
{
"inputVideo": "https://your-cdn.com/input.mp4",
"width": 16,
"height": 16,
"ratio": "16:9"
}