How-to

How to convert a horizontal video to vertical (16:9 to 9:16)

Crop it, blur it or reframe it with AI. Two ffmpeg commands that cost nothing, and the AI way that keeps the whole frame for $0.15 a second at 720p.

La respuesta corta

  • There are three ways to turn a horizontal (16:9) video into a vertical (9:16) one for Reels, Shorts and TikTok: crop the middle, put it on a blurred background, or let an AI reframe model paint in the missing top and bottom.
  • Crop and blur cost nothing with ffmpeg (commands below) but either cut the sides or leave a letterbox.
  • AI reframe keeps the whole frame and fills the screen. On Revana, Video Reframe costs $0.08, $0.15 or $0.45 per second of clip at 540p, 720p or 1080p as of November 2026: a 15 second clip at 720p is $2.25.
Three ways to turn a 16:9 video into 9:16
MethodKeeps the whole pictureFills the screenCost of a 15 s clip
CropNo: about two thirds of the width is cutSíNothing (ffmpeg or any editor)
Blurred backgroundYes, as a band in the middleYes, with a blurred copyNothing (ffmpeg or any editor)
AI reframe (Video Reframe)SíYes: new scene above and below$2.25 at 720p, $6.75 at 1080p

1. Crop the middle

A 16:9 frame is 16 units wide; a 9:16 slice of the same height is about 5 units wide, so cropping keeps roughly a third of the picture. It works when the action sits in the middle, a single speaker for example, and fails when people, products or captions sit near the edges.

ffmpeg
# Crop the middle of a 16:9 clip to 9:16 (keeps the full height, cuts the sides)
ffmpeg -i wide.mp4 -vf "crop=ih*9/16:ih,scale=1080:1920" -c:a copy vertical-crop.mp4

2. Fit it over a blurred background

The whole clip stays, as a band across the middle, and a zoomed, blurred copy fills the space above and below. It is quick and safe, and it reads as a repost: most of the screen is blur.

ffmpeg
# Fit the whole 16:9 clip into 9:16 over a blurred, zoomed copy of itself
ffmpeg -i wide.mp4 -filter_complex \
  "[0:v]scale=1080:1920:force_original_aspect_ratio=increase,crop=1080:1920,boxblur=20:5[bg];\
   [0:v]scale=1080:-2[fg];[bg][fg]overlay=(W-w)/2:(H-h)/2" \
  -c:a copy vertical-blur.mp4

3. Reframe it with AI

An AI reframe model keeps the original frames whole, in the middle, and generates the new space above and below to match the scene, light and motion: more sky, more floor, more of the room. The clip keeps its own sound and its length (1 to 30 seconds). At 1080p the result is 1080 × 1920 pixels, the size Reels, Shorts and TikTok expect.

cURL
export REVANA_API_KEY="sr_live_..."

# One Idempotency-Key per job, made once: resend with the same $KEY after a timeout, a 429 or a 5xx
KEY=$(uuidgen)

# 1. Submit the job (returns 202 with the generation id). max_cost_usd is your cap: the most it may cost.
curl https://api.revana.si/v1/generations \
  -H "Authorization: Bearer $REVANA_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $KEY" \
  -d '{
    "model": "video-reframe",
    "input": {
      "video_url": "https://example.com/wide-ad.mp4",
      "aspect_ratio": "9:16",
      "resolution": "1080p",
      "prompt": "More of the city street above and the pavement below, same evening light"
    },
    "max_cost_usd": 14
  }'

# 2. Poll with the id from step 1 until status is "succeeded" or "failed".
#    A failed job is free; make a new KEY before you submit it again.
curl https://api.revana.si/v1/generations/gen_01JC4K9R2T \
  -H "Authorization: Bearer $REVANA_API_KEY"

The cap covers clips up to 30 seconds ($13.50 at 1080p). Leave out prompt to let the model carry the scene on by itself; leave out duration, since the result is as long as your clip. Every option is in the Video Reframe API guide.

Cuál usar

  • Crop when the subject is centered and nothing important is near the edges.
  • Blur when you need it in a minute and do not mind the letterbox look.
  • Reframe with AI when the clip is an ad or a product shot that must stay whole and should look made for vertical.
  • Generate vertical from the start when you are still making the clip: models such as Seedance 2.5 render straight into 9:16 from the same prompt; the AI video generation API cost guide prices every one.

Reframing many clips

Send one request per clip with its own Idempotency-Key; jobs run in parallel, and each finished job returns its exact cost as cost_usd. One 15 second ad turned into 9:16 and 1:1 at 720p is $4.50 of reframing. Each job's price is held from your balance at submit and charged only if the clip is delivered; the exact charge comes back as cost_usd.

Where the prices come from

Prices are from Revana's live catalogue as of November 2026; the model page lists every option: Video Reframe. Every model is on the models page, every price on the pricing page, and every request field in the docs.

Preguntas frecuentes

How do I convert a horizontal video to vertical?

Crop the middle, fit it over a blurred background, or reframe it with AI so the missing top and bottom are generated. Cropping cuts the sides; AI reframing keeps the whole frame.

Can AI turn a 16:9 video into 9:16 without cropping?

Yes. An AI reframe model keeps the original frames and paints in the space above and below. On Revana, Video Reframe costs $0.15 a second at 720p, so a 15 second clip is $2.25.

What size is a 9:16 video for Reels, Shorts and TikTok?

1080 × 1920 pixels is the usual size. Video Reframe returns 1080 × 1920 at 1080p and 720 × 1280 at 720p.

Does reframing keep the audio?

Yes. The clip's own sound is put back on the result. The ffmpeg commands above copy it with -c:a copy.

How long can the clip be?

Video Reframe takes 1 to 30 seconds; split longer videos and reframe each part.

Can I try Revana before paying?

Yes. Run Seedance 2.5 in your browser, then call Video Reframe from the API on the same account. Your first request is free once you save a card at sign-up (saving it charges nothing).

Am I charged for failed clips?

No. The price is held when you submit and released if the clip fails, including when the model's safety filter refuses the prompt.

Try Revana first: run Seedance 2.5 free in your browser, then call Video Reframe from the API on the same account. Your first request is free once you save a card at sign-up (saving it charges nothing).

Reframe videos from one API key

One API key for every video and image model. Prepaid credit from $10, charged only for results that are delivered.