Grok Image

•
29
•

Generate and edit images using the xAI Grok image API with support for custom aspect ratios, resolutions, and persistent file storage.

Grok Image provides seamless integration with xAI's image generation and editing capabilities directly within MCP-compatible environments. Powered by models such as grok-imagine-image and grok-imagine-image-2.0, the server allows clients to generate visuals from prompts or edit local and remote images using natural language instructions. It features deep control over output parameters—including resolution up to 2k, quality adjustments, and numerous aspect ratios—while offering persistent image storage via the xAI Files API and flexible result delivery via temporary URLs or inline base64 content.

Key Features

01Text-to-image generation powered by xAI Grok Imagine models
02Multi-source image editing supporting local paths, public URLs, and base64 data
03Dual response formats offering Markdown image links or inline base64 MCP content
04Granular output control for resolution (1k, 2k), quality settings, and varied aspect ratios
0529 GitHub stars
06Persistent file caching via xAI Files API for sequential and multi-turn editing workflows

Use Cases

01Generating custom illustrations, banners, and visual assets within AI conversational workflows
02Editing and refining local photos or graphics via natural language commands
03Sequentially modifying previous visual outputs across iterative creative sessions