luma/reframe-image 🖼️❓🔢📝 → 🖼️
About
Change the aspect ratio of any photo using AI (not cropping)

Example Output
Prompt:
"An explosion"
Output

Performance Metrics
18.84s
Prediction Time
18.85s
Total Time
1
Images
All Input Parameters
{ "prompt": "An explosion", "image_url": "https://replicate.delivery/czjl/6iZ89qakg74mCVjFYeDk0GljoYQReoV0k7WwSjxXmCLcV53TA/tmpyf9dx02r.jpg", "aspect_ratio": "9:16" }
Input Parameters
- image
- The image to reframe
- model
- The model to use for the reframe generation
- 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.
- image_url
- URL of the image to reframe
- 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
Generating image... Queued... Queued. Checking again in 5.5 seconds... Queued... Queued. Checking again in 8.0 seconds... Dreaming... Completed... Generated image in 18.13sec Downloading 161357 bytes Downloaded 0.15MB in 0.51sec
Version Details
- Version ID
ac0af8c72bde346b182969e12655d715cf1d7e0e15b8ce11669c87109336a914
- Version Created
- October 22, 2025