← Back to all generators

luma/reframe-image

Change the aspect ratio of any photo using AI (not cropping)

Capabilities

Reference Images

Cost

Community model (estimated from hardware time)

Input Parameters

aspect_ratiostring

Aspect ratio of the output

Default: "16:9"
1:13:44:39:1616:99:2121:9
grid_position_xinteger

The x position of the input in the grid, in pixels. Controls horizontal positioning of the source within the target output dimensions.

grid_position_yinteger

The y position of the input in the grid, in pixels. Controls vertical positioning of the source within the target output dimensions.

imagestring

The image to reframe

image_urlstring

URL of the image to reframe

modelstring

The model to use for the reframe generation

Default: "photon-flash-1"
photon-flash-1photon-1
promptstring

A prompt to guide the reframing generation

x_endinteger

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_startinteger

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_endinteger

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_startinteger

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.

Version: 7adc71e1414fUpdated: 7/25/2026308.2K runs