Image
Grok Imagine
by xAI
Grok Imagine turns short prompts into stylised stills with quick turnaround and playful aesthetic control.
Capabilities
- Text to image
- Style control
Available models
Pass any of these IDs in the model field.
| Model ID | Detail | Price |
|---|---|---|
| grok-imagine-text-to-image | 1024×1024 | $0.020 / call |
Pricing starts at
$0.020 / call
Pay only for what you use. Each response returns the exact amount settled against your balance — no subscriptions, no minimums.
Quickstart
Grok Imagine · grok-imagine-text-to-image
cURL
curl -X POST https://capi.ai/api/v1/images/generations \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"model":"grok-imagine-text-to-image","prompt":"A lighthouse at dusk"}'More Image models
View allImage
Flux
Black Forest Labs
Flux image generation with Dev, Pro, and 2 Klein, plus single-image editing with Dev and Pro.
from $0.030 / callView
Image
Flux 2
Black Forest Labs
Flux 2 API access for text-to-image and remix-image with strong prompt adherence from Black Forest Labs.
from $0.070 / callView
Image
Flux Kontext
Black Forest Labs
Flux Kontext API access for in-context image editing, local edits, style transfer, and character consistency.
from $0.110 / callView