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

> ## Agent Instructions
> The Venice API is OpenAI-compatible: use any OpenAI SDK with the base URL `https://api.venice.ai/api/v1` and a Venice API key, or pay per request from a USDC wallet through x402 with no account.
> Read model IDs from `GET /models` or `GET /models/traits` at runtime instead of hardcoding them from memory or from these pages. Models are added and retired often.
> Every model's price is in https://docs.venice.ai/pricing.md. Quote video and audio jobs with `POST /video/quote` or `POST /audio/quote` before you queue them.
> Search these docs from an MCP client at https://docs.venice.ai/mcp. The full agent guide is https://docs.venice.ai/agents.md.

# Grok Imagine API

> Grok Imagine API on Venice: text to video, image to video, reference to video and video editing, up to 720p and 15s clips, from $0.0633 per second.



## Grok Imagine API

Grok Imagine is a text to video, image to video, reference to video and video editing model by xAI, available on the Venice API as `grok-imagine-text-to-video-private`. This model is private and no prompt data is stored in any capacity.

Grok Imagine is xAI's video model, generating 1- to 15-second clips at up to 720p from text, with native audio.

### Grok Imagine API pricing

| Model ID | Variant | Privacy | Price |
| - | - | - | - |
| `grok-imagine-text-to-video-private` | Text to video | Private | from \$0.0633 / sec |
| `grok-imagine-image-to-video-private` | Image to video | Private | from \$0.0633 / sec |
| `grok-imagine-reference-to-video-private` | Reference to video | Private | from \$0.0633 / sec |
| `grok-imagine-video-to-video-private` | Video edit | Private | priced by source |

Clip prices for `grok-imagine-text-to-video-private` with audio:

| Duration | 480p | 720p |
| - | - | - |
| Per second | \$0.0633 | \$0.0886 |
| 1s | \$0.06 | \$0.09 |
| 5s | \$0.32 | \$0.44 |
| 10s | \$0.63 | \$0.89 |
| 15s | \$0.95 | \$1.33 |

Any length from 1 to 15 seconds, priced per second.

### Grok Imagine specifications

| Spec | Value |
| - | - |
| Provider | xAI |
| Released | Apr 13, 2026 |
| Privacy | Private |
| Status | Stable |
| Modes | text to video, image to video, reference to video and video editing |
| Resolutions | 480p, 720p |
| Durations | 1–15s, any whole second |
| Aspect ratios | 16:9, 4:3, 3:2, 1:1, 2:3, 3:4, 9:16 |
| Audio | Always generated |

### How to use the Grok Imagine API

Send requests to `POST https://api.venice.ai/api/v1/video/queue` with `"model": "grok-imagine-text-to-video-private"` and your API key.

```bash theme={"system"}
# 1. Queue the job (returns a queue_id)
curl https://api.venice.ai/api/v1/video/queue \
  -H "Authorization: Bearer $VENICE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "grok-imagine-text-to-video-private",
    "prompt": "Slow aerial drone shot over a misty mountain valley at golden hour",
    "duration": "5s",
    "resolution": "720p",
    "aspect_ratio": "16:9"
  }'

# 2. Poll until the MP4 is ready (JSON with the status until then)
curl https://api.venice.ai/api/v1/video/retrieve \
  -H "Authorization: Bearer $VENICE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "model": "grok-imagine-text-to-video-private", "queue_id": "<queue_id>" }' --output video.mp4

# If the queue response has a download_url, retrieve only reports the
# status: download the MP4 from that URL once it is COMPLETED.
```

### Related models

* [Grok Imagine 1.5 API](https://docs.venice.ai/models/grok-imagine-1-5.md): from \$0.092 / sec
* [Runway Gen-4.5 API](https://docs.venice.ai/models/runway-gen-4-5.md): from \$0.162 / sec
* [PixVerse C1 API](https://docs.venice.ai/models/pixverse-c1.md): from \$0.0333 / sec
* [Kling O3 4K API](https://docs.venice.ai/models/kling-o3-4k.md): from \$0.462 / sec
* [Kling V3 4K API](https://docs.venice.ai/models/kling-v3-4k.md): from \$0.462 / sec


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