← All models

x-ai

xAI: Grok Imagine Image 2.0

x-ai/grok-imagine-image-2.0

Grok Imagine Image 2.0 is an image generation and editing model from xAI. It is suited for creating images from text prompts and editing images from references, with low and...

image

Try in Playground ↗

Provider-supported parameters

These are upstream capabilities. Jevrouter supports the subset described in the API contract; chat input is currently text only.

nqualityresolutionaspect_ratioinput_references

Capabilities are imported from OpenRouter’s catalog. This does not mean every model has been independently tested by Jevrouter.

Catalog updated: 2026-09-22T08:51:50.371Z · Price version: cmub117xw007nr82g2hsll58i:1

Image prices & options

Prices use each provider’s billing unit. We reserve a conservative amount and settle from the usage receipt, releasing unused balance.

SpaceXAI
UsageUnitUSDVariant
input imageimage$0.01Default
output imageimage$0.04low_1k
output imageimage$0.06low_2k
output imageimage$0.06medium_1k
output imageimage$0.08medium_2k
{
  "n": {
    "type": "range",
    "min": 1,
    "max": 1
  },
  "quality": {
    "type": "enum",
    "values": [
      "low",
      "medium"
    ]
  },
  "resolution": {
    "type": "enum",
    "values": [
      "1K",
      "2K"
    ]
  },
  "aspect_ratio": {
    "type": "enum",
    "values": [
      "1:1",
      "3:4",
      "4:3",
      "9:16",
      "16:9",
      "2:3",
      "3:2",
      "9:19.5",
      "19.5:9",
      "9:20",
      "20:9",
      "1:2",
      "2:1",
      "auto"
    ]
  },
  "input_references": {
    "type": "range",
    "min": 0,
    "max": 3
  }
}

Make a request

Some models require reference images. Check the input_references range above. Images return base64 data and a usage receipt.

curl --no-buffer https://api.jevrouter.io/v1/images \
  -H "Authorization: Bearer $JEVROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d @- <<'JSON'
{
  "model": "x-ai/grok-imagine-image-2.0",
  "prompt": "A quiet mountain cabin at sunrise, watercolor illustration",
  "n": 1,
  "stream": true
}
JSON

Plan your integration

Source: OpenRouter model catalog. Imported descriptions and capabilities are provider declarations, not independent benchmark results. Jevrouter currently uses OpenRouter as its managed upstream.