Grok Imagine Image 2.0
xai/grok-imagine-image/v2.0/text-to-imageGrok Imagine Image 2.0 generates detailed images with strong prompt following, flexible aspect ratios, 1K or 2K output, and selectable low or medium quality. Requests rejected under SpaceXAI's terms may still incur a provider charge.
- Generation
Pricing
Includes our margin. Charged per request from your balance.
Per image
- 1K
- $0.066
- 2K
- $0.088
Details
- Provider
- xAI
- Added
- Aug 11, 2026
Options
Parameters this model accepts.
- Resolutions
- 1:1
- 2:1
- 20:9
- 19.5:9
- 16:9
- 4:3
- 3:2
- 2:3
- 3:4
- 9:16
- 9:19.5
- 9:20
- 1:2
- Images per request
- Up to 4
Use it from the API
Replace $HIDE_API_KEY with a key from the Developers page. Base URL https://hide.st/api/v1.
curl https://hide.st/api/v1/images/generations \
-H "Authorization: Bearer $HIDE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "xai/grok-imagine-image/v2.0/text-to-image",
"prompt": "A lighthouse on a rocky coast at dusk, oil painting",
"n": 1
}'