GPT-6 Sol & Claude Opus 5.5 are liveGPT-6 Sol at half the price of 5.6 Sol
All models
xAI · Media API

Grok Imagine Quality API

Grok Imagine Quality is xAI's higher-fidelity image route on OmniaKey, trading speed for more detailed text-to-image output at the same per-call price.

Model ID
grok-imagine-image-quality
Provider
xAI
Modality
AI Image
Per successful call
$0.10
Last verified
2026-09-11

Playground

Use this model with your OmniaKey account.

Open generator

xAI

Grok Imagine Quality

$0.10 / request

Published rates. Your final charge may vary by account, usage and additional fees.

Generation uses your account balance.

A little inspirationEXAMPLE ARTWORK

Your next idea, made visible

Start with your own idea or make this prompt yours.

Explore more prompts

01

Where it fits

Choose Grok Imagine Quality when detail and texture matter more than latency; use the base Grok Imagine for quick drafts.

02

What it does

Text to image

grok-imagine-image-quality

Turn a text prompt into a new image.

03

Call it

Media models run asynchronously. Create a task, poll it until it finishes, then download the signed asset URL.

Create, poll, download
# 1. Create the job. 202 Accepted; the body carries the task id,
#    the pre-charged price, and a poll_url. Reuse one Idempotency-Key
#    across retries so a timeout never starts a second paid job.
curl --fail-with-body https://api.omniakey.com/v1/media/tasks \
  -H "Authorization: Bearer $OMNIAKEY_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: grok-imagine-image-quality-001" \
  -d '{
    "model": "grok-imagine-image-quality",
    "type": "image",
    "operation": "generate",
    "input": {"prompt": "a paper boat on a quiet lake at sunset"},
    "parameters": {"size": "1024x1024", "quality": "medium"}
  }'

# 2. Poll GET /v1/media/tasks/{id} until status is
#    succeeded | failed | canceled. Progress carries percent and stage.
curl --fail-with-body https://api.omniakey.com/v1/media/tasks/TASK_ID \
  -H "Authorization: Bearer $OMNIAKEY_API_KEY"

# 3. Download assets[0].url before expires_at, or poll again for a
#    fresh signed URL. Failed and canceled jobs are refunded.
curl -sS -o out.png "$(jq -r '.assets[0].url' result.json)"

04

Pricing

Image jobs are billed per successful call, not per token. Failed or canceled jobs are refunded automatically.

Per successful call

$0.10per call

More xAI image models

Frequently asked questions

How do I call Grok Imagine Quality on OmniaKey?

POST to /v1/media/tasks with the model id, type "image", and operation "generate" or "edit". Reuse one Idempotency-Key across retries so a timeout never starts a second paid job.

What does Grok Imagine Quality cost?

Grok Imagine Quality bills $0.10 per call. Creation pre-charges that amount from your prepaid balance, and failed or canceled jobs are refunded automatically.

Why does the API return a task id instead of the image?

Provider latency runs from seconds to about a minute, so OmniaKey normalizes every image route into one asynchronous lifecycle. Poll GET /v1/media/tasks/{id} until the status is succeeded, then read the signed asset URL.