Grok Imagine Image
xAIImagesgrok-imagine-image
xAI's image model from Grok. Quick, lively pictures from a prompt, plus edits of up to five reference images.
Examples
Made with Grok Imagine Image through OpenCheap's API, as they came back. Under each: what was asked, the settings and what the call cost.

“A neon-lit night market on a rainy street in a future city, reflections on wet asphalt, cinematic wide shot”
Cost $0.016

“A glass bottle of cold-pressed orange juice on a wet stone counter, condensation drops, soft studio light, shallow depth of field, product photo”
Cost $0.016

“Portrait of an old fisherman with a white beard and a knitted cap at golden hour on a harbour, 85 mm photo, detailed skin”
Cost $0.016
Try Grok Imagine Image
Your image shows here. An image takes a few seconds to a minute.
What it makes
Images from a prompt.
- Resolution: 1K, 2K
- Shape (width:height): 1:1, 16:9, 9:16, 3:2, 2:3, 4:3, 3:4, 2:1, 1:2, auto
- Can follow images you send
Price
Per image
Each provider's price for each setting. A call goes to the cheapest one that can make it, and you pay that provider's price: the one in bold.
| Setting | APIMart | kie.ai |
|---|---|---|
| 1K | $0.016 | $0.02 |
| 2K | $0.016 | — |
Each image you send with the prompt adds $0.0016.
A call never costs more than the price shown, and costs less when the provider charges less. A call that fails is not charged. Media needs a top-up first: the free credit does not cover it.
Call Grok Imagine Image
Use your OpenCheap key and the model id grok-imagine-image at https://api.opencheap.si/v1. The OpenAI SDK works as it is. Links in the answer expire, so save what you make. Read the guide.
curl https://api.opencheap.si/v1/images/generations \
-H "Authorization: Bearer $OPENCHEAP_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "grok-imagine-image",
"prompt": "A red fox asleep in fresh snow, soft morning light",
"resolution": "1k",
"aspect_ratio": "1:1"
}'
# The answer: {"data": [{"url": "https://…"}], …}. The link expires: save the image.