← All models
// image model

Grok Imagine

by xAI

xAI text-to-image generation and editing.

image Budget
from8credits
Real Grok Imagine sample output

// Real output from Grok Imagine — generated through the API

// capabilities

What Grok Imagine can do

// best for

Where Grok Imagine fits

Fast creative image conceptsEdit an existing image to brief
// api

The Grok Imagine (Image) API — in one request

Call the Grok Imagine (Image) API through your SamAutomation key — submit a job with the model_id, then poll until it's done. One key for every model, no per-vendor onboarding or separate billing.

# 1. submit a generation job
POST /api/ai/jobs
{
  "model_id": "grok-imagine",
  "prompt": "a product shot on a marble surface, soft studio light",
  "options": { "aspect_ratio": "16:9" }
}
# → { "id": "job_a1b2", "status": "queued" }

# 2. poll until the image is ready
GET /api/ai/jobs/{id}
# → { "status": "succeeded", "output": { "url": "…" } }
// questions

Grok Imagine: the questions people ask

Does Grok Imagine have an API?

Yes. On SamAutomation Grok Imagine runs through one endpoint - POST /api/ai/jobs with model_id "grok-imagine" - so you do not need a separate account or key with xAI. You submit a job and poll it until the image is ready.

How much does Grok Imagine cost?

Grok Imagine starts at 8 credits per job at its cheapest settings. Longer clips, higher resolution and extra options cost more. Credits come with a plan, and the same key also covers JSON-to-video rendering and every other model.

Is Grok Imagine free?

No. Generation burns real GPU time, so every render costs credits - 8 at the floor for Grok Imagine. Anything advertising unlimited free generation is either putting you behind a long queue or watermarking the result. Plans bundle monthly credits instead.

Is Grok Imagine restricted or region-locked?

You reach Grok Imagine through this API with your SamAutomation key, not through xAI's own app, so that app's sign-up and regional availability are not what gates you. The model's own content rules still apply to what you generate.

Where is the official Grok Imagine site?

xAI publishes the model itself; this page is about calling it as an API alongside every other model on one key, which is a different job from their consumer app.

Where is the Grok Imagine API documentation, and is there a download?

There is nothing to download. The Grok Imagine API documentation you need here is our own reference: one endpoint, one key, and the model_id above. xAI publishes its own docs for the model, but those describe their platform, not this one.

Is Grok Imagine available right now?

If it is listed on this page it is active on the platform and you can call it today. Model availability moves — makers retire versions and add tiers — so the list here is the current state rather than a promise about next quarter.

Is there a Grok Imagine SDK, GitHub repo or Python example?

You do not need a vendor SDK here. Grok Imagine is an HTTP call: POST /api/ai/jobs with your key and model_id "grok-imagine", then poll the job. Any language that can send JSON can drive it, and the request shape is the same for every model on this platform.

Is Grok Imagine safe to use, and what happens to my input?

The practical questions are the same for every generation service: what the provider may do with what you upload, how long it is kept, and whether it can be used for training. Read that clause before you send client material through any model, ours included. xAI publishes its own terms for the model itself.

Are the Grok Imagine weights open source or on Hugging Face?

That is up to xAI, not to us, and it differs per model and per release. If open weights matter to you, check the maker's own licence. Running it here is renting inference, not getting the weights.

Do I need the Grok Imagine app to use it?

No. The consumer app and the API are separate products with separate limits. Here you call Grok Imagine through this platform, so there is no app to install and no second subscription.

What is Grok Imagine good at?

xAI text-to-image generation and editing. Pick it when that is the job; a cheaper model wins when it is not.

Generate with Grok Imagine today

One key for JSON-to-video and every AI model — Grok Imagine starts at 8 credits. Documented and ready for your pipeline.