Luma Ray 3.2 — Reframe
Overview
luma-ray-3-2-reframe uses Luma’s ray-3.2 model to AI-outpaint a prior completed video to a different aspect ratio via the Luma Agents API. The source’s content is preserved frame-for-frame; the model fills the expanded canvas around it — same content, new shape. This is distinct from Generate (new content from scratch) and Edit (restyle existing content). Reframe is standard dynamic range only and the output follows the source video’s duration.
Reference the source video two ways:
- By generation id (recommended):
source_generation_id, the id of a prior completed video generation owned by the same API key. Create one with Luma Ray 3.2 — Generate. - Inline (advanced): base64
source_dataplussource_media_type. The source must be 30 seconds or shorter. Direct source-URL ingestion is not yet supported.
Authentication
Submit
Request Parameters
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
model | string | Yes | Must be luma-ray-3-2-reframe | - |
prompt | string | Yes | Content to paint into the newly exposed canvas area, 1–6000 characters | - |
aspect_ratio | enum | Yes | Target ratio: 9:16, 3:4, 1:1, 4:3, 16:9, 21:9 — must differ from the source’s ratio | 16:9 |
resolution | enum | No | Output resolution: 540p, 720p, 1080p | 720p |
source_generation_id | string | Yes* | Id of a prior completed video owned by the same API key, 30s or shorter. *Required unless source_data is provided instead | "" |
source_data | string | No | Inline base64 source video (advanced), alternative to source_generation_id, 30s or shorter | "" |
source_media_type | string | No | MIME type for source_data, e.g. video/mp4 | "" |
Status
Video generation is asynchronous and takes longer than image generation. The submit returnsstatus: processing with a request_id; poll until terminal:
status is queued → processing → success or failed.
Response
generation_id to chain a follow-up edit, extend, or reframe.
Constraints
aspect_ratiois required and must differ from the source’s ratio — reframing to the same ratio has no effect.- Standard dynamic range only:
hdr,exr_export,loop, and keyframes (start_frame/end_frame) are not applicable to reframe. - Source video must be 30 seconds or shorter. Direct source-URL ingestion is not yet supported.
Pricing
Billed at the create-tier per 5-second block, standard dynamic range only. The output duration follows the source video and is billed in 5-second blocks, rounded up.| Quality | 540p | 720p | 1080p |
|---|---|---|---|
| SDR | $0.15 | $0.30 | $1.20 |