luma/reframe-video 🖼️🔢📝🎥❓ → 🖼️
About
Change the aspect ratio of any video up to 30 seconds long, outputs will be 720p

Example Output
Prompt:
"A woman is standing in a room as part of a podcast show"
Output
Performance Metrics
68.92s
Prediction Time
68.94s
Total Time
All Input Parameters
{ "prompt": "A woman is standing in a room as part of a podcast show", "video_url": "https://replicate.delivery/pbxt/NAOh1kWFGdaSfwvwYzE7eIKypI9JB5rBs0kAb1HVeGDmmNtg/A_podcast_show_202506111026_uikpa.mp4", "aspect_ratio": "9:16" }
Input Parameters
- video
- The video to reframe. Maximum video duration is 10 seconds.
- x_end
- The x end of the crop bounds, in pixels. Defines the right boundary where your source will be placed in the output frame. The distance between x_start and x_end determines the resized width of your content.
- y_end
- The y end of the crop bounds, in pixels. Defines the bottom boundary where your source will be placed in the output frame. The distance between y_start and y_end determines the resized height of your content.
- prompt
- A prompt to guide the reframing generation
- x_start
- The x start of the crop bounds, in pixels. Defines the left boundary where your source will be placed in the output frame. The distance between x_start and x_end determines the resized width of your content.
- y_start
- The y start of the crop bounds, in pixels. Defines the top boundary where your source will be placed in the output frame. The distance between y_start and y_end determines the resized height of your content.
- video_url
- URL of the video to reframe. Maximum video duration is 10 seconds.
- aspect_ratio
- Aspect ratio of the output
- grid_position_x
- The x position of the input in the grid, in pixels. Controls horizontal positioning of the source within the target output dimensions.
- grid_position_y
- The y position of the input in the grid, in pixels. Controls vertical positioning of the source within the target output dimensions.
Output Schema
Output
Example Execution Logs
Running prediction... Generating video... Generation parameters: - generation_type: reframe_video - media: {'url': 'https://replicate.delivery/pbxt/NAOh1kWFGdaSfwvwYzE7eIKypI9JB5rBs0kAb1HVeGDmmNtg/A_podcast_show_202506111026_uikpa.mp4'} - model: ray-flash-2 - aspect_ratio: 9:16 - prompt: A woman is standing in a room as part of a podcast show Dreaming... Completed... Generated video in 68.12sec VIDEO_GENERATION_ID: 3b2c0c9f-057b-4a3f-89b8-8c106d24d832 Downloading 1280763 bytes Downloaded 1.22MB in 0.46sec Output video duration: 7.89s
Version Details
- Version ID
ef959dd496ff23177bf53d7326560e401a8a8edd3d157ca502b6683c014f1e77
- Version Created
- September 25, 2025