---
title: Ray3.2 | Runware Docs
url: https://runware.ai/docs/models/luma-ray3-2
description: Cinematic video model for generation, transformation, motion transfer, and frame-level direction
---
# Ray3.2

Ray3.2 is Luma's flagship video model for turning creative direction into controllable production workflows. It supports text-to-video, image-to-video, and video-to-video generation, with stronger continuity, motion transfer, camera motion transfer, character transformation, relighting, environment change, and product-swap workflows. It is built for cinematic-quality output, multi-keyframe control inside a single clip, and Modify Video V2 workflows that preserve performance, lighting, and scene structure while transforming existing footage.

- **ID**: `luma:ray@3.2`
- **Status**: live
- **Creator**: Luma
- **Capabilities**: Text to Video, Image to Video, Video to Video, Edit, Checkpoint

## Pricing

Video generation and Video Edit have different pricing. Video generation: Pricing is highly affected by resolution starting at $0.06 for 5s at 360p. Duration available are 5s and 10s. HDR and HDR + EXR are only for 5s and increase costs ($0.60/$0.90 at 720p and $2.40/$3.60 at 1080p). Extend is standard dynamic range only. It always bills as one 5-second block, even if video.duration is present on the request. it costs $0.15 at 540p, $0.30 at 720p and $1.20 at 1080p. Reframe is standard dynamic range only and bills per second. $0.03/s at 320p, $0.06/s at 540p, $0.12/s at 720p, and $0.36/s at 1080p. Video Edit: Video edits use their own rate table. HDR, and HDR + EXR edits increase costs. Each have separate 5-second and 10-second totals. HDR: from $1.08 (360p) to $4.32 (1080p) for 5s. HDR+EXR: from $1.62 (360p) to $6.48 (1080p) for 5s

- **Text/image to video . 360p . 5s**: `$0.06`
- **Text/image to video . 540p . 5s**: `$0.15`
- **Text/image to video . 720p . 5s**: `$0.30`
- **Text/image to video . 1080p . 5s**: `$1.20`
- **HDR . 720p . 5s**: `$0.60`
- **HDR . 1080p . 5s**: `$2.40`
- **HDR+EXR . 720p . 5s**: `$0.90`
- **HDR+EXR . 1080p . 5s**: `$3.60`
- **Video edit . 360p . 5s**: `$0.54`
- **Video edit . 540p . 5s**: `$0.72`
- **Video edit . 720p . 5s**: `$1.08`
- **Video edit . 1080p . 5s**: `$2.16`

## Compatibility & Validation

When `inputs.video` is provided, `duration` cannot be used.

---

`resolution` cannot be used with `width/height`.

---

When `resolution` is provided, `inputs.frameImages` or `inputs.video` is required.

---

Inside `settings`, `loop` cannot be used with `hdr`.

---

Inside `settings.edit`, `autoControls` cannot be used with `strength` or `controls`.

---

When `settings.edit` is provided, `width/height` cannot be used.

---

When `settings.edit` is provided, `inputs.video` is required.

---

When `settings.exrExport` is `true`, `settings.hdr` must be `true`.

---

When `settings.hdr` is `true`, dimensions `360×640`, `360×480`, `480×480`, `480×360`, `640×360`, `840×360`, `540×960`, `540×720`, `720×720`, `720×540`, `960×540`, `1260×540` cannot be used.

---

When `settings.hdr` is `true`, `resolution` is limited to `720p`, `1080p`.

---

When `settings.hdr` is `true`, `duration` is limited to `5`.

---

When `settings.loop` is `true`, `inputs.video` cannot be used.

---

When `settings.loop` is `true`, `duration` is limited to `5`.

---

When `settings.sourcePosition` is provided, `inputs.video`, `width`, and `height` is required.

---

`width` and `height` must be used together.

---

The following dimension combinations are supported:

| Configuration | Dimensions |
| --- | --- |
| `360p (9:16)` | `360x640` |
| `360p (3:4)` | `360x480` |
| `360p (1:1)` | `480x480` |
| `360p (4:3)` | `480x360` |
| `360p (16:9)` | `640x360` |
| `360p (21:9)` | `840x360` |
| `540p (9:16)` | `540x960` |
| `540p (3:4)` | `540x720` |
| `540p (1:1)` | `720x720` |
| `540p (4:3)` | `720x540` |
| `540p (16:9)` | `960x540` |
| `540p (21:9)` | `1260x540` |
| `720p (9:16)` | `720x1280` |
| `720p (3:4)` | `720x960` |
| `720p (1:1)` | `960x960` |
| `720p (4:3)` | `960x720` |
| `720p (16:9)` | `1280x720` |
| `720p (21:9)` | `1680x720` |
| `1080p (9:16)` | `1080x1920` |
| `1080p (3:4)` | `1080x1440` |
| `1080p (1:1)` | `1440x1440` |
| `1080p (4:3)` | `1440x1080` |
| `1080p (16:9)` | `1920x1080` |
| `1080p (21:9)` | `2520x1080` |

## Request Parameters

**API Options**

Platform-level options for task execution and delivery.

### [taskType](https://runware.ai/docs/models/luma-ray3-2#request-tasktype)

- **Type**: `string`
- **Required**: true
- **Value**: `videoInference`

Identifier for the type of task being performed

### [taskUUID](https://runware.ai/docs/models/luma-ray3-2#request-taskuuid)

- **Type**: `string`
- **Required**: true
- **Format**: `UUID v4`

UUID v4 identifier for tracking tasks and matching async responses. Must be unique per task.

### [outputType](https://runware.ai/docs/models/luma-ray3-2#request-outputtype)

- **Type**: `string`
- **Default**: `URL`

Video output type.

**Allowed values**: `URL`

### [outputFormat](https://runware.ai/docs/models/luma-ray3-2#request-outputformat)

- **Type**: `string`
- **Default**: `MP4`

Specifies the file format of the generated output. The available values depend on the task type and the specific model's capabilities.

- \`MP4\`: Widely supported video container (H.264), recommended for general use.
- \`WEBM\`: Optimized for web delivery.
- \`MOV\`: QuickTime format, common in professional workflows (Apple ecosystem).

**Allowed values**: `MP4` `WEBM` `MOV`

### [outputQuality](https://runware.ai/docs/models/luma-ray3-2#request-outputquality)

- **Type**: `integer`
- **Min**: `20`
- **Max**: `99`
- **Default**: `95`

Compression quality of the output. Higher values preserve quality but increase file size.

### [webhookURL](https://runware.ai/docs/models/luma-ray3-2#request-webhookurl)

- **Type**: `string`
- **Format**: `URI`

Specifies a webhook URL where JSON responses will be sent via HTTP POST when generation tasks complete. For batch requests with multiple results, each completed item triggers a separate webhook call as it becomes available.

**Learn more** (1 resource):

- [Webhooks](https://runware.ai/docs/platform/webhooks) (platform)

### [deliveryMethod](https://runware.ai/docs/models/luma-ray3-2#request-deliverymethod)

- **Type**: `string`
- **Default**: `async`

Determines how the API delivers task results.

**Allowed values**:

- `async` Returns an immediate acknowledgment with the task UUID. Poll for results using getResponse. Required for long-running tasks like video generation.

**Learn more** (1 resource):

- [Task Polling](https://runware.ai/docs/platform/task-polling) (platform)

### [uploadEndpoint](https://runware.ai/docs/models/luma-ray3-2#request-uploadendpoint)

- **Type**: `string`
- **Format**: `URI`

Specifies a URL where the generated content will be automatically uploaded using the HTTP PUT method. The raw binary data of the media file is sent directly as the request body. For secure uploads to cloud storage, use presigned URLs that include temporary authentication credentials.

**Common use cases:**

- **Cloud storage**: Upload directly to S3 buckets, Google Cloud Storage, or Azure Blob Storage using presigned URLs.
- **CDN integration**: Upload to content delivery networks for immediate distribution.

```text
// S3 presigned URL for secure upload
https://your-bucket.s3.amazonaws.com/generated/content.mp4?X-Amz-Signature=abc123&X-Amz-Expires=3600

// Google Cloud Storage presigned URL
https://storage.googleapis.com/your-bucket/content.jpg?X-Goog-Signature=xyz789

// Custom storage endpoint
https://storage.example.com/uploads/generated-image.jpg
```

The content data will be sent as the request body to the specified URL when generation is complete.

### [safety](https://runware.ai/docs/models/luma-ray3-2#request-safety)

- **Path**: `safety.checkContent`
- **Type**: `object (2 properties)`

Content safety checking configuration for video generation.

#### [checkContent](https://runware.ai/docs/models/luma-ray3-2#request-safety-checkcontent)

- **Path**: `safety.checkContent`
- **Type**: `boolean`
- **Default**: `false`

Enable or disable content safety checking.

#### [mode](https://runware.ai/docs/models/luma-ray3-2#request-safety-mode)

- **Path**: `safety.mode`
- **Type**: `string`
- **Default**: `none`

Safety checking mode for video generation.

**Allowed values**:

- `none` Disables checking.
- `fast` Checks key frames.
- `full` Checks all frames.

### [ttl](https://runware.ai/docs/models/luma-ray3-2#request-ttl)

- **Type**: `integer`
- **Min**: `60`

Time-to-live (TTL) in seconds for generated content. Only applies when `outputType` is `URL`.

### [includeCost](https://runware.ai/docs/models/luma-ray3-2#request-includecost)

- **Type**: `boolean`
- **Default**: `false`

Include task cost in the response.

### [numberResults](https://runware.ai/docs/models/luma-ray3-2#request-numberresults)

- **Type**: `integer`
- **Min**: `1`
- **Max**: `4`
- **Default**: `1`

Number of results to generate. Each result uses a different seed, producing variations of the same parameters.

**Inputs**

Input resources for the task (images, audio, etc). These must be nested inside the \`inputs\` object.

### [frameImages](https://runware.ai/docs/models/luma-ray3-2#request-inputs-frameimages)

- **Path**: `inputs.frameImages`
- **Type**: `array of strings or objects`

An array of frame-specific image inputs to guide video generation. Each item can be either a plain image input (UUID, URL, Data URI, or Base64) or an object that pairs an image with a target position in the video.

The `frameImages` parameter allows you to constrain specific frames within the video sequence, ensuring that particular visual content appears at designated points. Position can be specified using `frame` (named positions or frame indices) or `timestamp` (seconds), depending on model support. This is different from `referenceImages`, which provide overall visual guidance without constraining specific timeline positions.

When the `frame` parameter is omitted, automatic distribution rules apply:

- **1 image**: Used as the first frame.
- **2 images**: First and last frames.
- **3+ images**: First and last frames, with intermediate images evenly spaced between.

**Examples**:

**Shorthand format:** When you don't need to specify a frame position, you can pass a plain image input directly.

```json
"frameImages": [
  "aac49721-1964-481a-ae78-8a4e29b91402"
]
```

**Object format:** When you need to specify a position, use an object with `image` and either `frame` or `timestamp` (model-dependent).

```json
"frameImages": [
  {
    "image": "aac49721-1964-481a-ae78-8a4e29b91402",
    "frame": "first"
  }
]
```

**First and last frames:** With two images, they automatically become the first and last frames of the video sequence. You can mix shorthand and object formats.

```json
"frameImages": [
  "aac49721-1964-481a-ae78-8a4e29b91402",
  {
    "image": "3ad204c3-a9de-4963-8a1a-c3911e3afafe",
    "frame": "last"
  }
]
```

**Multiple frames:** With three or more images, the first and last are anchored while intermediate frames are evenly distributed across the timeline.

```json
"frameImages": [
  {
    "image": "aac49721-1964-481a-ae78-8a4e29b91402",
    "frame": "first"
  },
  "c00abf5f-6cdb-4642-a01d-1bfff7bc3cf7",
  {
    "image": "3ad204c3-a9de-4963-8a1a-c3911e3afafe",
    "frame": "last"
  }
]
```

**Format 1: string[]**:

- **Type**: `string`

Image input (UUID, URL, Data URI, or Base64).

**Format 2: object[]**:

#### [image](https://runware.ai/docs/models/luma-ray3-2#request-inputs-frameimages-format-2-image)

- **Path**: `inputs.frameImages.image`
- **Type**: `string`
- **Required**: true

Image input (UUID, URL, Data URI, or Base64).

#### [frame](https://runware.ai/docs/models/luma-ray3-2#request-inputs-frameimages-format-2-frame)

- **Path**: `inputs.frameImages.frame`
- **Type**: `string | integer`

Target frame position for the image. Accepts a named position like `first` or `last`, or a zero-based frame index (-1 for the last frame).

### [video](https://runware.ai/docs/models/luma-ray3-2#request-inputs-video)

- **Path**: `inputs.video`
- **Type**: `string`

Source video to edit or reframe (UUID or URL). Editing preserves the source aspect ratio; reframing places it on a new canvas.

**Core Parameters**

Primary parameters that define the task output.

### [model](https://runware.ai/docs/models/luma-ray3-2#request-model)

- **Type**: `string`
- **Required**: true
- **Value**: `luma:ray@3.2`

Identifier of the model to use for generation.

### [positivePrompt](https://runware.ai/docs/models/luma-ray3-2#request-positiveprompt)

- **Type**: `string`
- **Required**: true
- **Min**: `1`
- **Max**: `6000`

Text prompt describing elements to include in the generated output.

### [width](https://runware.ai/docs/models/luma-ray3-2#request-width)

- **Type**: `integer`
- **Required**: true
- **Paired with**: height

Width of the generated media in pixels.

### [height](https://runware.ai/docs/models/luma-ray3-2#request-height)

- **Type**: `integer`
- **Required**: true
- **Paired with**: width

Height of the generated media in pixels.

### [resolution](https://runware.ai/docs/models/luma-ray3-2#request-resolution)

- **Type**: `string`
- **Default**: `720p`

Resolution preset for the output. When used with input media, automatically matches the aspect ratio from the input.

**Allowed values**: `360p` `540p` `720p` `1080p`

### [duration](https://runware.ai/docs/models/luma-ray3-2#request-duration)

- **Type**: `float`
- **Default**: `5`

Length of the generated video in seconds. The total number of frames produced is determined by duration multiplied by the model's frame rate (fps).

**Allowed values**: `5` `10`

**Settings**

Technical parameters to fine-tune the inference process. These must be nested inside the \`settings\` object.

### [edit](https://runware.ai/docs/models/luma-ray3-2#request-settings-edit)

- **Path**: `settings.edit`
- **Type**: `object (8 properties)`

Conditioning controls applied when editing the source video.

#### [strength](https://runware.ai/docs/models/luma-ray3-2#request-settings-edit-strength)

- **Path**: `settings.edit.strength`
- **Type**: `string`

Preservation preset, from strict adherence to free reinterpretation.

**Allowed values**: `adhere_1` `adhere_2` `adhere_3` `flex_1` `flex_2` `flex_3` `reimagine_1` `reimagine_2` `reimagine_3`

#### [autoControls](https://runware.ai/docs/models/luma-ray3-2#request-settings-edit-autocontrols)

- **Path**: `settings.edit.autoControls`
- **Type**: `boolean`

Derive the full conditioning schedule automatically from the source video.

#### [controls](https://runware.ai/docs/models/luma-ray3-2#request-settings-edit-controls)

- **Path**: `settings.edit.controls`
- **Type**: `object (5 properties)`

Per-signal conditioning controls.

##### [depthBlur](https://runware.ai/docs/models/luma-ray3-2#request-settings-edit-controls-depthblur)

- **Path**: `settings.edit.controls.depthBlur`
- **Type**: `float`
- **Min**: `0`
- **Max**: `1`

Scene-geometry depth blur. Higher values allow more freedom.

##### [face](https://runware.ai/docs/models/luma-ray3-2#request-settings-edit-controls-face)

- **Path**: `settings.edit.controls.face`
- **Type**: `boolean`

Enable face-identity conditioning.

##### [normalsAugmentation](https://runware.ai/docs/models/luma-ray3-2#request-settings-edit-controls-normalsaugmentation)

- **Path**: `settings.edit.controls.normalsAugmentation`
- **Type**: `float`
- **Min**: `0`
- **Max**: `1`

Surface-geometry normals augmentation. Higher values allow more reinterpretation.

##### [poseStrength](https://runware.ai/docs/models/luma-ray3-2#request-settings-edit-controls-posestrength)

- **Path**: `settings.edit.controls.poseStrength`
- **Type**: `string`

Skeleton conditioning strength.

**Allowed values**: `precise` `coarse`

##### [trajectorySparsity](https://runware.ai/docs/models/luma-ray3-2#request-settings-edit-controls-trajectorysparsity)

- **Path**: `settings.edit.controls.trajectorySparsity`
- **Type**: `float`
- **Min**: `0`
- **Max**: `1`

Motion-anchoring sparsity. Higher values use fewer anchors.

### [exrExport](https://runware.ai/docs/models/luma-ray3-2#request-settings-exrexport)

- **Path**: `settings.exrExport`
- **Type**: `boolean`
- **Default**: `false`

Also export an OpenEXR frame sequence alongside the MP4.

### [hdr](https://runware.ai/docs/models/luma-ray3-2#request-settings-hdr)

- **Path**: `settings.hdr`
- **Type**: `boolean`
- **Default**: `false`

Render in high dynamic range.

### [loop](https://runware.ai/docs/models/luma-ray3-2#request-settings-loop)

- **Path**: `settings.loop`
- **Type**: `boolean`
- **Default**: `false`

Loop the generated video seamlessly.

### [sourcePosition](https://runware.ai/docs/models/luma-ray3-2#request-settings-sourceposition)

- **Path**: `settings.sourcePosition`
- **Type**: `object (4 properties)`

Placement of the source video within the output canvas, as fractions of the canvas size.

#### [width](https://runware.ai/docs/models/luma-ray3-2#request-settings-sourceposition-width)

- **Path**: `settings.sourcePosition.width`
- **Type**: `float`
- **Required**: true
- **Max**: `2`
- **Paired with**: height

Width of the source video, as a fraction of the canvas width.

#### [height](https://runware.ai/docs/models/luma-ray3-2#request-settings-sourceposition-height)

- **Path**: `settings.sourcePosition.height`
- **Type**: `float`
- **Required**: true
- **Max**: `2`
- **Paired with**: width

Height of the source video, as a fraction of the canvas height.

#### [x](https://runware.ai/docs/models/luma-ray3-2#request-settings-sourceposition-x)

- **Path**: `settings.sourcePosition.x`
- **Type**: `float`
- **Required**: true
- **Min**: `-2`
- **Max**: `2`

Horizontal position of the source video, as a fraction of the canvas width.

#### [y](https://runware.ai/docs/models/luma-ray3-2#request-settings-sourceposition-y)

- **Path**: `settings.sourcePosition.y`
- **Type**: `float`
- **Required**: true
- **Min**: `-2`
- **Max**: `2`

Vertical position of the source video, as a fraction of the canvas height.

## Response Parameters

### [taskType](https://runware.ai/docs/models/luma-ray3-2#response-tasktype)

- **Type**: `string`
- **Required**: true
- **Value**: `videoInference`

Identifier for the type of task this response belongs to.

### [taskUUID](https://runware.ai/docs/models/luma-ray3-2#response-taskuuid)

- **Type**: `string`
- **Required**: true
- **Format**: `UUID v4`

UUID v4 identifier echoed from the original request, used to match async responses to their tasks.

### [videoUUID](https://runware.ai/docs/models/luma-ray3-2#response-videouuid)

- **Type**: `string`
- **Required**: true
- **Format**: `UUID v4`

UUID of the output video.

### [videoURL](https://runware.ai/docs/models/luma-ray3-2#response-videourl)

- **Type**: `string`
- **Format**: `URI`

URL of the output video.

### [videoBase64Data](https://runware.ai/docs/models/luma-ray3-2#response-videobase64data)

- **Type**: `string`

Base64-encoded video data.

### [videoDataURI](https://runware.ai/docs/models/luma-ray3-2#response-videodatauri)

- **Type**: `string`
- **Format**: `URI`

Data URI of the output video.

### [seed](https://runware.ai/docs/models/luma-ray3-2#response-seed)

- **Type**: `integer`

The seed used for generation. If none was provided, shows the randomly generated seed.

### [NSFWContent](https://runware.ai/docs/models/luma-ray3-2#response-nsfwcontent)

- **Type**: `boolean`

Flag indicating if NSFW content was detected.

### [cost](https://runware.ai/docs/models/luma-ray3-2#response-cost)

- **Type**: `float`

Task cost in USD. Present when `includeCost` is set to `true` in the request.