# Luma Ray (https://docs.fuser.studio/docs/nodes/video/luma-ray)

_Provided by [Fal](https://fal.ai) — [Learn More](https://fal.ai/models/luma/agent/ray/v3.2/text-to-video)._

## Inputs [#inputs]

- **Prompt** (`textarea`) — Describe the video to generate, reframe, or edit.

- **Image** (`image`) — An optional first frame for generate mode. When provided, Ray 3.2 uses image-to-video pricing and constraints.

   Optional: `true`

- **End Image** (`image`) — An optional ending frame to blend toward. Requires an image input.

   Optional: `true`

- **Video** (`video`) — Source video for Ray 3.2 reframe or video edit mode.

   Optional: `true`

- **Start Image** (`image`) — Optional first-frame guide for Ray 3.2 video edit mode.

   Optional: `true`

- **Model** (`dropdown`) — Choose the Luma Ray model variant.

   Optional: `true` • Default: `ray-3.2` • Accepts: `Ray 3.2`, `Ray 2`, `Ray 2 Flash`

- **Mode** (`dropdown`) — Choose whether Ray 3.2 should generate, reframe, or edit video.

   Optional: `true` • Default: `generate` • Accepts: `Generate`, `Reframe`, `Video Edit`

- **Aspect Ratio** (`dropdown`) — The aspect ratio of the generated or reframed video.

   Optional: `true` • Default: `16:9` • Accepts: `16:9`, `9:16`, `4:3`, `3:4`, `21:9`, `9:21`, `1:1`

- **Resolution** (`dropdown`) — The resolution of the generated video.

   Optional: `true` • Default: `540p` • Accepts: `540p`, `720p`, `1080p`

- **Duration** (`dropdown`) — The duration of the generated or edited video.

   Optional: `true` • Default: `5s` • Accepts: `5s`, `9s`, `10s`

- **Render Format** (`dropdown`) — Choose standard video, HDR video, or HDR with an EXR export when supported.

   Optional: `true` • Default: `standard` • Accepts: `Standard`, `HDR`, `HDR + EXR`

- **Edit Mode** (`dropdown`) — Controls how closely Ray 3.2 video edit mode preserves the source video.

   Optional: `true` • Default: `default` • Accepts: `Default`, `Auto Controls`, `Adhere 1`, `Adhere 2`, `Adhere 3`, `Flex 1`, `Flex 2`, `Flex 3`, `Reimagine 1`, `Reimagine 2`, `Reimagine 3`

- **Loop** (`toggle`) — Whether the video should loop by blending the end back into the beginning.

   Optional: `true` • Default: `false`

## Outputs [#outputs]

- **Generated Video** (`video`) — The generated video from the model.