Robinhood Chain

Grok Imagine Image 2.0

An image model by xAI that makes up to 4 images per call

Anonymized

$0.0236

per image

41% under list$0.04 at list

Moth removes your wallet, IP and device before the call, so the model's host sees your prompt and never who sent it. Moth keeps no prompts or replies.

Try in Playground

Facts

Aspect ratios
1:1, 2:3, 3:2, 16:9, 9:16
Images per call
up to 4
Longest prompt
8,000 characters
Endpoint
POST /v1/images
Kind
Image
Maker
xAI
Privacy
Anonymized
Status
Available
List price checked
17 Oct, docs.x.ai

Try it

In the Playground

One image costs $0.0236.

A prompt to start fromA lighthouse on a cliff at dusk, painted in thick oils

The Playground opens on Grok Imagine Image 2.0 with that prompt in the box. A run there is paid from your balance and shows the result with its exact charge.

Call it from your code

Set the base URL and your keyCreate a key
curl https://api.runmoth.si/v1/images \
  -H "Authorization: Bearer $MOTH_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "grok-imagine-image-2.0",
    "prompt": "A lighthouse on a cliff at dusk",
    "aspect_ratio": "1:1"
  }'

Image calls answer at once, and video and music calls return a job to poll. Keys start with moth_, and every reply reports its charge in the moth-charged-micros header.

What a workload costs

At $0.0236 per image
With MothAt listYou save
Per call$0.02353$0.04000$0.01647
Per day$2.353$4.000$1.647
Over 30 days$70.59$120.00$49.41

The Moth price is what your balance is charged, settled to the micro-dollar on each call. Over 30 days that is 41% below list.

Your use

Last 30 days

Parameters

What POST /v1/images takes for this model
modelstringRequired
grok-imagine-image-2.0
promptstringRequired
Up to 8,000 characters.
ninteger
Images per call, 1 to 4. Each is billed.
aspect_ratiostring
One of 1:1, 2:3, 3:2, 16:9, 9:16.

Similar image models

9 image models among 48 from 13 makers, nearest in price firstSee every image model