Skip to content
xAIChecking

grok-imagine-image/image-to-image

grok-imagine-image-image-to-image-economy

image to imageOutput: ImageInput: text + image
Loading price…
Official list price · Not verified
Get API key

Parameters

Required
model: stringrequired
prompt: stringrequired
Common options
imageUrl: string

HTTPS image URL or media:<uuid>

Request preview

{
  "model": "grok-imagine-image-image-to-image-economy",
  "input": {
    "model": "g-4.2"
  }
}

The web playground sends this body with your signed-in session. From code, send the same body with an API key.

Estimated charge

Loading price…

Credits are reserved when a task is accepted and charged only on success. Failed tasks release the reservation; unconfirmed outcomes remain reserved until verified.