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

# Grok Imagine Video

> xAI's video generation with native audio, dialogue, and sound effects in a single pass.

xAI's video generation with native audio, dialogue, and sound effects in a single pass. Ultra-fast (\~17s generation). 1-15 second output.

| | |
| - | - |
| Model id | `grok-imagine-video-fal` |
| Media | video |
| Submit to | `POST /v1/videos` |
| Price | 13 credits per\_second before discounts |
| Typical time | about 30.0 s |

## Request

**Required:** `prompt`\
**Optional:** `aspect_ratio`, `duration_seconds`, `quality`, `reference_images`

```json theme={null}
{
  "model": "grok-imagine-video-fal",
  "prompt": "Wide tracking shot past buffet tables, warm night wedding light, shallow depth, photoreal, no faces sharp in frame. No text.",
  "aspect_ratio": "16:9",
  "duration_seconds": 6,
  "quality": "720p"
}
```

| Field | Allowed | Default |
| - | - | - |
| `aspect_ratio` | `16:9`, `9:16`, `1:1`, `4:3`, `3:4`, `3:2`, `2:3` | `"16:9"` |
| `duration_seconds` | 1.0 – 15.0 seconds | `6` |
| `quality` | `480p`, `720p` | `"720p"` |
| `reference_images` | asset ids (up to 7) | |

Reference inputs take asset ids from [`POST /v1/uploads`](/uploads) or an earlier output's `asset_id`.
Prices and allowed values come from the live catalog; `GET /v1/models/grok-imagine-video-fal` is always current.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.