WorkflowActive
wiro / video-crop
video-crop
Crop videos to a fixed pixel box or a preset aspect ratio without scaling. Video Crop by Wiro keeps the largest fitting region and supports optional X/Y offsets.
Utility
Model ID
video-crop
Provider
wiro
Updated
1785771597
wiro playground—wiro/video-crop
Updated 1785771597
## Overview
Video Crop by Wiro crops an existing video to a new frame region. You choose an exact pixel crop or pick a target aspect ratio. The model keeps pixels as-is and removes the rest, so it won’t scale or stretch the footage. This solves fast reframing for Shorts, Reels, and ads without a full edit timeline.
## What you can build
- Convert landscape videos into portrait crops for TikTok, Reels, and YouTube Shorts
- Remove black bars, UI edges, or unwanted borders from screen recordings
- Create square (1:1) and feed-friendly crops from a single master clip
- Standardize framing across a batch of clips before running downstream video models
- Crop to ultra-wide banners (like 21:9) for website headers or hero sections
## Inputs
- A source video file to crop. Use a common format like MP4, MOV, or WebM.
- A crop size in pixels, given as both a width and a height. Provide both numbers together. The crop can’t be larger than the source frame.
- A preset aspect ratio to crop to when you don’t provide a pixel width and height. Common presets include 16:9, 9:16, 1:1, 4:5, 4:3, 3:4, and 21:9.
- An optional horizontal offset in pixels from the left edge. Leave it blank to center the crop.
- An optional vertical offset in pixels from the top edge. Leave it blank to center the crop.
## Outputs
- One cropped video file.
- The output frame size matches your crop box. If you crop by aspect ratio, the output uses the largest rectangle of that ratio that fits inside the source.
- The output keeps the original content inside the crop region. It does not resize the video to fit.
## Limitations
- If you set a pixel crop, you must provide both width and height together.
- The crop region can’t exceed the source frame size.
- Offsets that would push the crop outside the frame won’t move the crop out of bounds.
- This tool crops only. It won’t upscale, enhance, or “smart track” a subject.
- Videos with unusual metadata, rotation flags, or variable frame sizes can produce unexpected framing.
- Low-quality or broken inputs (corrupted files, incomplete MP4 headers, or inconsistent encoding) can fail to process or return incorrect crops.
## Safety & compliance
- Only upload or process videos you have rights to use.
- Don’t submit videos with sensitive personal data unless you have consent and a clear reason to process it.
- Cropping can remove context. Review outputs before publishing if the clip could be misleading.
API quick start
Run video-crop with a single API call.
POST https://api.wiro.ai/v1/Run/wiro/video-crop
{
"inputVideo": "https://your-cdn.com/input.mp4",
"width": 2,
"height": 2,
"ratio": "16:9"
}