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

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

> [accordion] Plain-text specification
>
> ## 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`. It runs privately, with zero data retention.
>
> ### 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 |
> | - | - | - |
> | 1s | \$0.06 | \$0.09 |
> | 2s | \$0.13 | \$0.18 |
> | 3s | \$0.19 | \$0.27 |
> | 4s | \$0.25 | \$0.35 |
> | 5s | \$0.32 | \$0.44 |
> | 6s | \$0.38 | \$0.53 |
> | 7s | \$0.44 | \$0.62 |
> | 8s | \$0.51 | \$0.71 |
> | 9s | \$0.57 | \$0.80 |
> | 10s | \$0.63 | \$0.89 |
> | 11s | \$0.70 | \$0.97 |
> | 12s | \$0.76 | \$1.06 |
> | 13s | \$0.82 | \$1.15 |
> | 14s | \$0.89 | \$1.24 |
> | 15s | \$0.95 | \$1.33 |
>
> ### 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 | 1s, 2s, 3s, 4s, 5s, 6s, 7s, 8s, 9s, 10s, 11s, 12s, 13s, 14s, 15s |
> | 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
> 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
> ```
>
> ### 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.