Get started

Compute

SandboxesClustersStorage

Inference

ModelsJobs

Integrations

WebhooksLog drains

Account

API keysBillingTeamMCP
DocsHedra Play
Log in
Models/
Image/

Grok Imagine 2.0

xAI's current Grok Imagine — the same irreverence at higher fidelity, from a prompt or from up to three source images.

Create API keyDocs

Reference images

Max 3
Add up to 3 images

Up to 30 MB per file

Output *Required

Output format

1k 6¢/generation, 2k 8¢/generation; plus 1¢ per reference image.

Estimated cost: $ —

curl
curl -X POST "https://api.hedra.com/v3/models/grok-imagine-20" \
-H "Authorization: Key $HEDRA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"enhance_prompt": false,
"aspect_ratio": "1:1",
"resolution": "1k"
}
}'