luma/reframe-video
Change the aspect ratio of any video up to 30 seconds long, outputs will be 720p
Capabilities
Cost
Community model (estimated from hardware time)
Input Parameters
| Name | Type | Description | Default | Constraints |
|---|---|---|---|---|
aspect_ratio | string | Aspect ratio of the output | "16:9" | 1:13:44:39:1616:99:2121:9 |
grid_position_x | integer | 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 | integer | The y position of the input in the grid, in pixels. Controls vertical positioning of the source within the target output dimensions. | — | — |
prompt | string | A prompt to guide the reframing generation | — | — |
video | string(uri) | The video to reframe. Maximum video duration is 10 seconds. | — | — |
video_url | string | URL of the video to reframe. Maximum video duration is 10 seconds. | — | — |
x_end | integer | 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. | — | — |
x_start | integer | 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_end | integer | 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. | — | — |
y_start | integer | 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. | — | — |
aspect_ratiostringAspect ratio of the output
"16:9"grid_position_xintegerThe x position of the input in the grid, in pixels. Controls horizontal positioning of the source within the target output dimensions.
grid_position_yintegerThe y position of the input in the grid, in pixels. Controls vertical positioning of the source within the target output dimensions.
promptstringA prompt to guide the reframing generation
videostringThe video to reframe. Maximum video duration is 10 seconds.
video_urlstringURL of the video to reframe. Maximum video duration is 10 seconds.
x_endintegerThe 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.
x_startintegerThe 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_endintegerThe 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.
y_startintegerThe 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.
7a27619ccb64Updated: 7/25/202636.7K runs
cinemasetfree.com