You're looking at a specific version of this model. Jump to the model overview.
luma /reframe-video:9d8f7f33
Input schema
The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.
| Field | Type | Default value | Description |
|---|---|---|---|
| video_url |
string
|
URL of the video to reframe. Maximum video size is 100mb. Maximum video duration is 30 seconds.
|
|
| aspect_ratio |
None
|
16:9
|
Aspect ratio of the output
|
| prompt |
string
|
A prompt to guide the reframing generation
|
|
| 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.
|
|
| 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.
|
|
| 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.
|
|
| 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.
|
|
| 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.
|
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{'format': 'uri', 'title': 'Output', 'type': 'string'}