ImagexAINew

Grok Imagine Image

Expressive xAI image generation, 2K at no extra cost

model: "grok-imagine-image"

API docsDocs for agents

Modes

One model id, every mode below. The fields you send pick the mode, and the price follows the mode.

ModeSelected byTypical price
Text to imageprompt
Example request
{
  "model": "grok-imagine-image",
  "input": {
    "prompt": "a lighthouse at dusk"
  }
}
$0.020

Input

Required

Prompt

Optional

Aspect Ratio

Optional

Resolution

Advanced options (1)

Provider settings beyond the main controls. Leave them empty to use the model's defaults.

Optional

File format of the result.

Result

Grok Imagine ImageExample output

A real result from this model. Run it to see yours here.

curl https://arteza.ai/api/v1/generations \
  -H "Authorization: Bearer $ARTEZA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "grok-imagine-image",
  "input": {
    "prompt": "Tornado funnel touching down on an empty Nebraska cornfield at golden hour, a ragged rope condensation column backlit by the low sun to a translucent amber, surrounding sky a deep bruised green-violet, wide horizontal cinematic weather drama, rows of flattened corn radiating outward from the contact point, photorealistic atmospheric turbulence, no people, elemental and terrifying scale"
  }
}'
Grok Imagine Image 1Grok Imagine Image 2Grok Imagine Image 3Grok Imagine Image 4Grok Imagine Image 5Grok Imagine Image 6