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

# RunwayML Gen-4

> Image-to-video generation with RunwayML

Generate videos from images using RunwayML's Gen-4 Turbo model.

## Setup

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
export RUNWAYML_API_KEY=your-key
```

## Usage

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
from praisonaiagents import VideoAgent

agent = VideoAgent(llm="runwayml/gen4_turbo")
video = agent.start(
    prompt="Make this image come alive",
    input_reference="./photo.jpg",  # Required!
    output="animated.mp4"
)
```

<Warning>
  RunwayML **requires** an input image. It cannot generate video from text alone.
</Warning>

## Models

| Model                 | Description |
| --------------------- | ----------- |
| `runwayml/gen4_turbo` | Gen-4 Turbo |

## Parameters

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
video = agent.generate(
    prompt="Your animation prompt",
    input_reference="./image.jpg",  # Required
    seconds="5"                      # 5 or 10
)
```

## Duration Options

* `"5"` - 5 seconds
* `"10"` - 10 seconds

## Size Options

* `"1280x720"` - Landscape
* `"720x1280"` - Portrait
