Skip to main content
Model ID
Calling method: async

Luma Ray 3.2 — Generate

Overview

luma-ray-3-2-generate uses Luma’s ray-3.2 model to create video from a text prompt (text-to-video) and from anchor images (image-to-video) via the Luma Agents API. It also covers extend and chain-referenced interpolation when a keyframe carries a prior generation id. Output is an MP4 (HDR is a request knob, hdr: true, not a separate model). For restyling an existing video use Luma Ray 3.2 — Edit; for aspect-ratio outpaint use Luma Ray 3.2 — Reframe.

Authentication

Submit

Request Parameters

Modes

  • Text-to-video: just a prompt.
  • Image-to-video: set start_frame_url and/or end_frame_url. Not supported with duration: 10s.
  • Extend: exactly one chain-ref keyframe — start_frame_generation_id (forward, continues past the prior clip) or end_frame_generation_id (backward, prepends before it). Standard dynamic range only; returns one 5s block per call; loop is forward-only.
  • Interpolation: set both keyframes, at least one a chain-ref *_generation_id.

Status

Video generation is asynchronous and takes longer than image generation (a 5s/720p clip is usually well under two minutes; 10s/1080p/HDR can run several times longer). The submit returns status: processing with a request_id; poll until terminal:
status is queuedprocessingsuccess or failed.

Response

Output is a single MP4 (video_url). Use generation_id to chain a follow-up extend, edit, or reframe. Presigned URLs expire after ~1 hour — re-poll to mint a fresh one.

Constraints

  • aspect_ratio accepts the six video ratios above; the image-only ratios 3:1, 2:1, 1:2, 1:3 are rejected.
  • 540p is not available with hdr: true.
  • 10s is not supported with hdr, start_frame, or end_frame.
  • loop is not supported with 10s, hdr, or end_frame; on extend it is forward-only.
  • hdr requires 720p/1080p and HDR access, and is rejected on extend; exr_export requires hdr: true and is rejected on extend.

Pricing

Billed at the create-tier per 5-second block. A 10s video is two blocks; each extend call returns one 5s block. HDR and HDR+EXR are not available on extend (standard dynamic range only).