You're looking at a specific version of this model. Jump to the model overview.
luma /reframe-image:ac0af8c7
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 |
|---|---|---|---|
| aspect_ratio |
None
|
16:9
|
Aspect ratio of the output
|
| model |
None
|
photon-flash-1
|
The model to use for the reframe generation
|
| image |
string
|
The image to reframe
|
|
| 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_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.
|
|
| prompt |
string
|
A prompt to guide the reframing generation
|
|
| 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_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.
|
|
| image_url |
string
|
URL of the image to reframe
|
|
| 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.
|
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'}