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

# Luma Image-to-Video

> Generates video from text prompts with optional image conditioning, frame control, and configurable output settings.

Generates video from text prompts with optional image conditioning, frame control, and configurable output settings.

**Model**

```bash theme={null}
Luma-Ray2
```

## Inputs

### Required

* **prompt (STRING)**\
  Text prompt describing video content.

### Optional

* **model (STRING, default: Luma-Ray2)**\
  Model variant used for generation.
* **negative\_prompt (STRING, default: "")**\
  Specifies elements to exclude from output.
* **duration (STRING, default: 5)**\
  Video length. Options: 5, 9.
* **aspect\_ratio (STRING, default: 16:9)**\
  Output format ratio.
* **resolution (STRING, default: 1080p)**\
  Output resolution.
* **loop (BOOLEAN, default: False)**\
  Enables seamless looping.
* **frame0\_image\_url (STRING)**\
  First-frame conditioning image.
* **frame1\_image\_url (STRING)**\
  Last-frame conditioning image.
* **seed (INT, default: 0)**\
  Random seed (0 = random).

## Outputs

* **video (VIDEO)**\
  Generated video tensor.
* **video\_url (STRING)**\
  Public URL of generated video.
* **file\_path (STRING)**\
  Local saved video path.
