Skip to main content
Glama

Grok Imagine image generation

grok-imagine-image

xAI's image model: vivid, photorealistic images and edits from a prompt, at a low flat price. Compared with other image tools: budget. Price: $0.028 per image, charged only on success. 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"
  }
}

Input Schema

NameRequiredDescriptionDefault
imageNoOptional image to edit (https URL)
promptYesWhat to create or change
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