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

# Grok Imagine Video 1.5

> Use Grok Imagine Video 1.5 with the Mynth REST API. Text-to-video, image-to-video, duration, and resolution.

```text Model ID theme={"theme":"kanagawa-dragon"}
xai/grok-imagine-video-1.5
```

See pricing & more on [mynth.io](https://mynth.io/models/xai%2Fgrok-imagine-video-1.5).

## Capabilities

|                |                                        |
| -------------- | -------------------------------------- |
| **Modes**      | Text-to-video · Image-to-video         |
| **Inputs**     | 1 first-frame image (image-to-video)   |
| **Resolution** | 480p · 720p · 1080p (default 480p)     |
| **Duration**   | 1–15 seconds (default 8)               |
| **Audio**      | Native generated audio (on by default) |

## Generate

```bash REST API theme={"theme":"kanagawa-dragon"}
curl https://api.mynth.io/video/generate \
  -X POST \
  -H "Authorization: Bearer $MYNTH_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A paper lantern drifts across a still canal at dusk",
    "model": "xai/grok-imagine-video-1.5",
    "resolution": "720p",
    "duration": 8
  }'
```

## Use a first frame

Pass **1** input image for image-to-video. The image becomes the opening frame. URLs or uploaded files both work. See [Upload input images](/guides/upload-input-images).

```bash REST API theme={"theme":"kanagawa-dragon"}
curl https://api.mynth.io/video/generate \
  -X POST \
  -H "Authorization: Bearer $MYNTH_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Slow push-in as the lantern sways in a night breeze",
    "model": "xai/grok-imagine-video-1.5",
    "inputs": [
      {
        "type": "image",
        "source": { "type": "url", "url": "https://example.com/input-image.jpg" }
      }
    ],
    "resolution": "720p",
    "duration": 8
  }'
```
