AI KNOWLEDGE DESK

Models · entities · concepts · comparisons · practical tools

GETLLMS.ORG

Luma Reframe Image

Luma Reframe Image uses AI to seamlessly adjust image aspect ratios and expand content without cropping. Ideal for adapting visuals across platforms.

Platform: Replicate
Aspect Ratio AdjustmentImage OutpaintingAI Photo ExpansionContextual Image Editing
158 runs
$0.01 per output image
Commercial

🚀Function Overview

Changes image dimensions using AI-powered generation to add or remove content based on new aspect ratios, with precise positioning controls.

Key Features

  • Changes image aspect ratios without cropping
  • Guided content generation via text prompts
  • Pixel-precise control over source positioning
  • Crop boundary customization for content retention

Use Cases

  • Adapting social media content for different platform ratios
  • Extending backgrounds for print/digital layouts
  • Reframing photos for cinematic aspect ratios
  • Creative image expansion with AI-generated content

⚙️Input Parameters

image_url

string

URL of the image to reframe

aspect_ratio

string

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.

💡Usage Examples

Example 1

Input Parameters

{
  "prompt": "An explosion",
  "image_url": "https://replicate.delivery/czjl/6iZ89qakg74mCVjFYeDk0GljoYQReoV0k7WwSjxXmCLcV53TA/tmpyf9dx02r.jpg",
  "aspect_ratio": "9:16"
}

Output Results

https://replicate.delivery/xezq/bt872wxjx6bebi4U0Hh96ryqTpb31fhzceDUffmPVTPfnxiNF/tmpkcgr1ze5.jpg

Quick Actions

Technical Specifications

Hardware Type
Run Count
158
Commercial Use
Supported
Pricing
$0.01 per output image
Platform
Replicate

Related Keywords

Aspect Ratio AdjustmentImage OutpaintingAI Photo ExpansionContextual Image EditingAdapting social media contentExtending backgroundsReframing photosCreative image expansion