Letterbox Pad

Video·Video-API·by eachlabs

Letterbox Pad adds padding around a video to fit a target canvas, letterboxing or pillarboxing footage to a new shape without cropping the frame.

Runtime (p50)
1m
Estimated price
$1.80 / unit
Call the API
prediction.sh
sh
curl -X POST \
  -H "Authorization: Bearer $EACHLABS_API_KEY" \
  -H "Content-Type: application/json" \
  --data '{
    "model": "letterbox-pad",
    "version": "0.0.1",
    "input": {
        "video": "https://cdn-us.eachlabs.ai/defaults/ee08717587344fc484069035fd55ab0c.mp4",
        "canvas_width": 1920,
        "canvas_height": 1080,
        "background_color_hex": "#000000"
    },
    "webhook_url": ""
}' \
  https://api.eachlabs.ai/v1/prediction/

Related models

4 models
* FAQ

About Letterbox Pad

01 / 03

What does Letterbox Pad do?

Letterbox Pad adds bars around a video to fit it into a target canvas size. On the each::labs Video API it letterboxes or pillarboxes footage so the full frame stays visible, which is useful when changing aspect ratio without cropping.