Grok Imagine Image 2 generation
grok-imagine-image-2xAI'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
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | What to create or change | |
| resolution | No | Output resolution; sets the price. Default 2k | |
| aspect_ratio | No | Aspect ratio, default 1:1 |