Powered by WebAssembly
Resize Video for Instagram Reels via API
Format videos for Instagram Reels with the optimal 1080x1920 resolution and 9:16 aspect ratio. Automatically enforce the 90-second maximum duration.
Try it in your browser
Loading FFmpeg engine... (~31 MB)
Use the API
curl -X POST https://renderio.dev/v1/commands \
-H "X-API-KEY: ffsk_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"ffmpeg_command": "-i {in_video} -t 90 -vf \"scale=1080:1920:force_original_aspect_ratio=decrease,pad=1080:1920:-1:-1:color=black\" -c:v libx264 -crf 23 -c:a aac {out_video}",
"input_files": {
"in_video": "https://example.com/input.mp4"
},
"output_files": {
"out_video": "output.mp4"
}
}'Need an API key? Get your free API key to start processing files programmatically.
Common Variations
Center crop to fill
-i input.mp4 -t 90 -vf "scale=1080:1920:force_original_aspect_ratio=increase,crop=1080:1920" -c:v libx264 -crf 23 -c:a aac output.mp4With blurred background
-i input.mp4 -t 90 -filter_complex "[0]scale=1080:1920:force_original_aspect_ratio=increase,crop=1080:1920,boxblur=20[bg];[0]scale=1080:1920:force_original_aspect_ratio=decrease[fg];[bg][fg]overlay=(W-w)/2:(H-h)/2" -c:v libx264 -crf 23 -c:a aac output.mp460-second clip for Stories
-i input.mp4 -t 60 -vf "scale=1080:1920:force_original_aspect_ratio=decrease,pad=1080:1920:-1:-1:color=black" -c:v libx264 -crf 23 -c:a aac output.mp4Platform Specs
Width
1080px
Height
1920px
Aspect Ratio
9:16
Max Duration
90s
Related Operations
Need to process at scale?
Automate this with the RenderIO FFmpeg API. Process thousands of files programmatically or through no-code video automation.