> ## 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 Edit

> xAI's video-to-video editor.

xAI's video-to-video editor. Restyle or edit an existing clip from a text prompt. Input is resized to 480p and truncated to 8 seconds.

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

## Request

**Required:** `prompt`, `source_video`\
**Optional:** none

```json theme={null}
{
  "model": "grok-imagine-video-edit-fal",
  "prompt": "Wide tracking shot past buffet tables, warm night wedding light, shallow depth, photoreal, no faces sharp in frame. No text.",
  "source_video": "asset_…"
}
```

| Field | Allowed | Default |
| - | - | - |
| `source_video` | asset id (up to 1) | |

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-edit-fal` is always current.


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