> ## 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: image generation and image editing up to 2K, from $0.03 per image. Private, with zero data retention.

> [accordion] Plain-text specification
>
> ## Grok Imagine API
>
> Grok Imagine is an image generation and image editing model by xAI, available on the Venice API as `grok-imagine-image`. It runs privately, with zero data retention.
>
> ### Grok Imagine API pricing
>
> | Model ID | Variant | Privacy | Price |
> | - | - | - | - |
> | `grok-imagine-image` | Generate | Private | \$0.03 / image |
> | `grok-imagine-edit` | Edit | Private | \$0.03 / edit |
>
> ### Grok Imagine specifications
>
> | Spec | Value |
> | - | - |
> | Provider | xAI |
> | Released | Apr 9, 2026 |
> | Privacy | Private |
> | Status | Stable |
> | Resolutions | 1K, 2K |
> | Aspect ratios | 1:1, 16:9, 9:16, 3:4, 3:2, 2:3 |
> | Prompt limit | 7,500 characters |
>
> ### How to use the Grok Imagine API
>
> Send requests to `POST https://api.venice.ai/api/v1/image/generate` with `"model": "grok-imagine-image"` and your API key.
>
> ```bash theme={"system"}
> curl https://api.venice.ai/api/v1/image/generate \
>   -H "Authorization: Bearer $VENICE_API_KEY" \
>   -H "Content-Type: application/json" \
>   -d '{
>     "model": "grok-imagine-image",
>     "prompt": "A retro travel poster with the bold headline \"VENICE\" in large condensed serif type, sunset color palette",
>     "resolution": "1K",
>     "aspect_ratio": "1:1"
>   }'
> ```
>
> ### Related models
>
> * [Grok Imagine 2.0 API](https://docs.venice.ai/models/grok-imagine-2-0.md): \$0.07 / image
> * [Flux 2 Pro API](https://docs.venice.ai/models/flux-2-pro.md): \$0.03 / image
> * [Wan 2.7 API](https://docs.venice.ai/models/wan-2-7-image.md): \$0.0375 / image
> * [Krea v2 Medium API](https://docs.venice.ai/models/krea-v2-medium.md): \$0.04 / image
> * [Krea 2 Turbo API](https://docs.venice.ai/models/krea-2-turbo.md): \$0.04 / image


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