Real-time information synthesis models like Grok, alongside highly aesthetic image generation.

xAI's model ecosystem spans Grok's conversational reasoning and Grok Imagine. MuAPI presents xAI models next to other providers so teams can compare capability, pricing and model fit before choosing an integration path.

xAI AI models on MuAPI
Back to Providers
Explore/xAI Models
xAI

xAI AI API models

xAI AI models on MuAPI

Explore xAI models for chat, code, image and video generation, including Gemini, Nano Banana and Veo-style workflows available through MuAPI.

All models

13 Models

Image Generation Models

grok-imagine-image-2-edit
Image

$0.050 / generation

grok-imagine-image-2-edit

Grok Imagine Image 2.0 Edit applies a targeted, natural-language edit to a prior Grok Imagine Image 2.0 generation, changing only the described region while preserving the rest of the composition, style, and subject.

grok-imagine-text-to-image
Image

$0.050 / 1K tokens

grok-imagine-text-to-image

Grok Imagine is xAI’s high-quality image generation model that transforms text prompts into detailed, stylish, and visually expressive images. It excels at creating vivid scenes, characters, environments, and concept art with strong lighting, depth, and artistic clarity. Get 6 images each time.

grok-imagine-image-to-image
Image

$0.050 / generation

grok-imagine-image-to-image

Grok Imagine Image-to-Image transforms an existing image using natural language instructions while preserving scene structure, perspective, and lighting. It is ideal for object replacement, environment evolution, concept re-imagining, and creative edits that feel grounded and visually coherent rather than over-stylized.

grok-imagine-image-2
Image

$0.050 / 1K tokens

grok-imagine-image-2

Grok Imagine Image 2.0 is xAI's next-generation image model, built for precise instruction-following, sharp typography, and detailed layout control. It follows instructions closely down to fine detail and plans layout so dense, multi-part visuals hold together, turning a text prompt into a polished, commercial-ready image in one request.

grok-imagine-text-to-image-quality
Image

$0.050 / 1K tokens

grok-imagine-text-to-image-quality

Grok Imagine Quality is xAI's high-fidelity text-to-image mode that prioritizes accuracy and detail over speed. It produces sharper, more visually accurate images with stronger lighting, depth, and artistic clarity. Get 6 images each time.