Grok Imagine Image 2.0
An image model by xAI that makes up to 4 images per call
$0.0236
per image
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.
An image model by xAI that makes up to 4 images per call
$0.0236
per image
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.
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.
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.
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.
POST /v1/images takes for this modelmodelstringRequiredgrok-imagine-image-2.0promptstringRequirednintegeraspect_ratiostring