Grok Imagine Image 2.0 API
x-ai/grok-imagine-image-2-0ImageMake images with Grok Imagine Image 2.0 through UberLLM: $0.02 per image. Requests are served by third-party providers. Made by grok-imagine. No UberLLM fee on requests. Adding credit by card costs 5.5% + $0.50.
Model by xAI. Here, sellers serve it through their own provider accounts. Where the capacity comes from
How much does Grok Imagine Image 2.0 cost per image?
On October 31, 2026, Grok Imagine Image 2.0 costs $0.02 per image through UberLLM. Prices come from sellers on the UberLLM market and change during the day. A picture that fails costs nothing, and UberLLM adds no fee.
Grok Imagine Image 2.0 pricing
Prices as of 18:00 UTC.
Each request is sent to an available third-party provider for this model and retried if the provider fails before it starts answering. No UberLLM fee on requests. Adding credit by card costs 5.5% + $0.50.
How to use it
One request with your UberLLM key; the image comes back in the answer.
# Make an image: the answer comes back when it is ready.
curl https://api.uberllm.dev/v1/images/generations \
-H "Authorization: Bearer $UBERLLM_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "x-ai/grok-imagine-image-2-0", "prompt": "a red apple on a white table", "n": 1, "size": "1024x1024"}'
# → {"created": …, "data": [{"url": "https://api.uberllm.dev/v1/media/artifacts/<id>/0"}]}
# (or "b64_json" when you send "response_format": "b64_json")
# Download it
curl -L -o image.png -H "Authorization: Bearer $UBERLLM_API_KEY" "https://api.uberllm.dev/v1/media/artifacts/<id>/0"The clip lengths, sizes and other choices this model takes: GET https://api.uberllm.dev/v1/models/x-ai/grok-imagine-image-2-0. Add "validate": true to see the most a request can cost without paying. Guide
Grok Imagine Image 2.0 API FAQ
How do I make an image with Grok Imagine Image 2.0?
Send a POST to https://api.uberllm.dev/v1/images/generations with your UberLLM key, model "x-ai/grok-imagine-image-2-0" and a prompt. The image comes back in the answer.
Compared with other providers: One API for text, image and video