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

# Grok Imagine 1.0 Video Edit

> Edit an existing video by URL with xAI Grok Imagine. See parameters, pricing, and API examples.

Edit an existing video with a text instruction using xAI's classic Grok Imagine video model (the 1.0 generation, the only model xAI runs on its edit endpoint). Provide the public URL of the source clip and describe what should change. The output keeps the source clip's length.

## Model

```
xai/grok-imagine-1.0-video-edit
```

## Pricing

Current prices for this model are on the [pricing page](https://unifically.com/pricing); the playground also quotes the exact price of a request before you submit it.

## Parameters

| Parameter | Type | Required | Description |
| - | - | - | - |
| `prompt` | string | Yes | What to change in the clip |
| `video_url` | string | Yes | Public URL of the source clip to edit |

<Note>
  Unknown request fields are rejected rather than ignored.
</Note>

## Example Request

```bash theme={null}
curl -X POST https://api.unifically.com/v1/tasks \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "xai/grok-imagine-1.0-video-edit",
    "input": {
      "prompt": "Make it night time with rain and neon reflections",
      "video_url": "https://example.com/source-clip.mp4"
    }
  }'
```

## Response

```json theme={null}
{
  "code": 200,
  "success": true,
  "data": {
    "task_id": "abc123def456",
    "status": "processing"
  }
}
```

<Note>
  **Volume discounts** are available for almost all models. Reach out at [contact@unifically.com](mailto:contact@unifically.com) to discuss custom pricing.
</Note>


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