Seedance 2.5 is live — 30-second cinematic video with native audio & real-person references

Grok Imagine — Flat-Rate Image Generation & Editing

Grok Imagine on reAPI serves xAI's Grok Imagine image models at one flat price per image. Pick the standard or high tier, ask for up to 10 images per request at 1k or 2k, and edit an existing image with a single reference — all on the shared images endpoint.

Highlights
Flat price per image · two quality tiers · up to 10 images per request
Best for
High-volume generation, social creative, fast iteration
Input
Text prompt, optional single reference image
Output
Up to 10 images per request, 1k or 2k
Input

required · up to 10000 characters

standard or high · affects price

1

1–10 · billed per delivered image

14 ratios · does not change the price

1k or 2k · does not change the price

0/1 file

optional · one image · switches to editing

Estimated cost~$0.0110 credits
Result

Try one of these prompts

What is Grok Imagine?

Grok Imagine is xAI's image line inside the Imagine API: prompt in, finished images out, with editing on the same models. On reAPI, Grok Imagine is offered as a single endpoint with two quality tiers and one flat price per image on each. The standard tier is the volume tier — the cheapest way on the platform to turn a prompt into a usable image. The high tier spends more on every image for finer detail. Both tiers take up to 10 images per request, fourteen aspect ratios including auto, and 1k or 2k output, and neither the ratio nor the resolution changes what you pay. Send one reference image and the same call becomes an edit: describe the change, get the edited image back. Grok Imagine is the page to use when the job is a lot of images at a predictable cost — thumbnails, social creative, product mockups, quick concept boards — rather than a single hero render. The console on this page is connected, and every request is billed per delivered image.

What you can build with this model

Real-world workflows and production use cases you can build and ship with this model.

A wall of generated product thumbnails at a single flat rate

Generate at volume with no per-image surprises

A catalog, a feed, a thumbnail set — when the job is hundreds of images, the price of each one matters more than any single render. Grok Imagine charges one flat rate per image on the standard tier, and the aspect ratio and resolution you pick do not move it, so a 2k banner from Grok Imagine costs exactly what a 1k square does.

Read the docs
Ten variations of one prompt returned from a single request

Ten variations in one round trip

Exploration is where image budgets leak. Grok Imagine returns up to 10 images from one prompt in a single request, billed per delivered image, so a creative team can review a full set of Grok Imagine options and pick one — then switch to the high tier for the final render.

A photo restyled as a pencil sketch from a single reference image

Edit an existing image with one reference

Add a reference image and Grok Imagine edits instead of generating: restyle a photo, change a background, turn a product shot into a sketch. It is the same endpoint and the same flat price per image, so editing fits inside a volume workflow instead of needing a second tool.

Pricing

Credit-based — 1 credit = $0.001 USD. Pay only for completed generations.

First test cost
$0.0055 credits

One sample at the cheapest tier (1 image).

Testing budget guide
Add credits
$10
≈ 2030 tests
$50
≈ 10150 tests
$100
≈ 20300 tests
ModelCategoryPrice
StandardImage
$0.01
10 credits · 1 image
HighImage
$0.005
5 credits · 1 image

Why reAPI

One flat price per image

Every image on a tier costs the same whatever the aspect ratio or resolution, so a Grok Imagine bill is images times rate — nothing to model, nothing to reconcile.

Two tiers, one endpoint

Switch Grok Imagine between standard and high with a single field. The request shape, the ratios, the batch size and the editing path stay identical, so a pipeline can trade cost for detail without a code change.

Editing on the same call

A single reference image turns Grok Imagine generation into editing on either tier, at the same flat rate. No separate endpoint, no separate pricing scheme, no second integration.

Grok Imagine vs Grok Imagine 2.0

Both are xAI Grok Imagine image models and both run on reAPI. The difference is what you pay for: Grok Imagine sells a flat rate per image in two tiers; Grok Imagine 2.0 sells a richer control surface priced per combination. Here is how they line up on what each page documents.

Capability
Grok Imagine
Grok Imagine 2.0
Pricing model
Flat per image on each tier; aspect ratio and resolution never change the rate
Standard channel flat per image; official channel priced per resolution × quality combination
Quality control
Two tiers, standard and high, selected with one field
Low or medium quality on the official channel, stacking with a 1k / 2k resolution tier
Images per request
Up to 10, billed per delivered image
Up to 12, billed per delivered image
Aspect ratios
Fourteen, including auto
Seven on the standard channel, fourteen on the official channel
Reference images
One reference image for editing on either tier
Multi-reference editing on the official channel; text-to-image only on the standard channel
Best for
Volume: catalogs, thumbnails, social creative, exploration at a predictable cost
Precise editing, compositing from several references, the latest model

Comparison reflects the request surfaces documented on reAPI's model pages and xAI's public Imagine documentation at the time of writing (September 2026). Rates for both models are on their respective pricing tables and are not restated here.

Start in three steps

  1. step 01

    Create an API key

    Sign up and generate a key in your reAPI console — the same key calls Grok Imagine and every other model on the platform. Starter credits are included so you can test first.

    Open
  2. step 02

    Send a prompt

    POST to the shared images endpoint with model grok-imagine, your prompt, and optionally quality, n, aspect_ratio, resolution or a single reference image. The response returns a task id.

    Open
  3. step 03

    Poll for the images

    Poll the task until it completes and read the image URLs from the result — one entry per image Grok Imagine delivered. Failed tasks refund their credits automatically.

    Open
docs/api/grok-imagine

API reference

Drop-in code and the full parameter table.

curl -X POST https://reapi.ai/api/v1/images/generations \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "grok-imagine",
    "prompt": "A product photo of a matte black wireless speaker on a concrete plinth",
    "quality": "standard",
    "n": 1,
    "aspect_ratio": "1:1"
  }'

Parameter validation failed

Rejected synchronously with the failing field named. Check enum values, ranges, and URL fields — nothing is charged.

Authentication or balance issue

401 means a missing or invalid Bearer key; 402 means the reserve exceeds your balance. Manage keys and credits in the console.

Content or material rejected

Reference material and outputs pass automated moderation. Rejected tasks fail with a clear error and a full refund.

Task failed or timed out

A task that reaches a failed state is never charged — the reserve refunds automatically. Keep the task id and retry when ready.

Frequently asked questions

Common questions about this model.

Grok Imagine on reAPI is paid and pay-as-you-go, with no subscription. You buy credits and spend them per completed generation, $1 equals 1,000 credits, credits never expire, and failed generations refund automatically. New accounts get a small starter grant to try the platform — a starter grant, not a free tier. The current per-image rate for each tier is in the pricing table on this page.

start building

Ready to ship?

Try it in the playground or grab an API key to integrate now.