Grok Imagine Image Quality Edit
xai/grok-imagine-image/quality/editHigher-quality Grok Imagine Image editing for sharper details, stronger text rendering, and final-grade image edits. Content policy rejections may still incur SpaceXAI's $0.05 policy-violation fee, which we pass through.
- Image editing
- Generation
Pricing
Includes our margin. Charged per request from your balance.
Per image
- 1K
- $0.055
- 2K
- $0.077
Details
- Provider
- xAI
- Added
- May 7, 2026
Options
Parameters this model accepts.
- Resolutions
- auto
- 2:1
- 20:9
- 19.5:9
- 16:9
- 4:3
- 3:2
- 1:1
- 2:3
- 3:4
- 9:16
- 9:19.5
- 9:20
- 1:2
- Images per request
- Up to 4
- Input images
- 1
- Input image formats
- PNG, JPEG, WEBP
- Max input image size
- 30 MB
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/quality/edit",
"prompt": "A lighthouse on a rocky coast at dusk, oil painting",
"n": 1
}'