Skip to main content
Glama

Grok Imagine Image 2 generation

grok-imagine-image-2

xAI's Grok Imagine Image 2.0: bold, detailed images from text at 1K or 2K. Text-to-image. Compared with other image tools: premium. Price: from $0.082 per image, charged only on success. Price depends on resolution: 1k $0.082, 2k $0.109 (default 2k). One call = one image.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "prompt": "<prompt>"
    },
    "name": "grok-imagine-image-2"
  }
}

Input Schema

NameRequiredDescriptionDefault
promptYesWhat to create or change
resolutionNoOutput resolution; sets the price. Default 2k
aspect_ratioNoAspect ratio, default 1:1

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources