> ## Documentation Index
> Fetch the complete documentation index at: https://docs.comfy.org/llms.txt
> Use this file to discover all available pages before exploring further.

# LumaImageToVideoNode - ComfyUI Built-in Node Documentation

> Complete documentation for the LumaImageToVideoNode node in ComfyUI. Learn its inputs, outputs, parameters and usage.

> This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! [Edit on GitHub](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/LumaImageToVideoNode/en.md)

Generates videos synchronously based on a text prompt and optional starting/ending images. This node uses the Luma API to create videos, allowing you to define the video's content through a prompt and optionally specify the first and/or last frame to control the video's structure.

## Inputs

| Parameter       | Data Type | Required | Range                                             | Description                                                                                                            |
| --------------- | --------- | -------- | ------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- |
| `prompt`        | STRING    | Yes      | -                                                 | Prompt for the video generation (default: "")                                                                          |
| `model`         | COMBO     | Yes      | `"ray-1-6"`<br />`"ray-2"`                        | Selects the video generation model from available Luma models                                                          |
| `resolution`    | COMBO     | Yes      | `"540p"`<br />`"720p"<br />`"1080p"`<br />`"4k"\` | Output resolution for the generated video (default: "540p"). This parameter is ignored when using the `ray-1-6` model. |
| `duration`      | COMBO     | Yes      | `"5s"`<br />`"9s"`                                | Duration of the generated video. This parameter is ignored when using the `ray-1-6` model.                             |
| `loop`          | BOOLEAN   | Yes      | -                                                 | Whether the generated video should loop (default: False)                                                               |
| `seed`          | INT       | Yes      | 0 to 18446744073709551615                         | Seed to determine if node should re-run; actual results are nondeterministic regardless of seed. (default: 0)          |
| `first_image`   | IMAGE     | No       | -                                                 | First frame of generated video. (optional)                                                                             |
| `last_image`    | IMAGE     | No       | -                                                 | Last frame of generated video. (optional)                                                                              |
| `luma_concepts` | CUSTOM    | No       | -                                                 | Optional Camera Concepts to dictate camera motion via the Luma Concepts node. (optional)                               |

**Note:** At least one of `first_image` or `last_image` must be provided. The node will raise an exception if both are missing. The `resolution` and `duration` parameters are ignored when the `model` is set to `ray-1-6`.

## Outputs

| Output Name | Data Type | Description              |
| ----------- | --------- | ------------------------ |
| `output`    | VIDEO     | The generated video file |

***

**Source fingerprint (SHA-256):** `0ef0e33f4822b522909a9732b333710197cd6e28ed6012c791f4268f8e995a84`
