Grok Imagine is xAI's powerful image generation and editing model. Create stunning photorealistic images from text prompts with grok-imagine-1.5-apimart, or intelligently edit existing images with natural language using grok-imagine-1.5-edit-apimart.

Image link valid for 72 hours
Transparent pricing with no hidden fees. Pay only for what you use.
* Actual costs are subject to final output.
Powerful capabilities for professional AI image generation and editing
Follow these simple steps to start generating images with Grok Imagine
Create your free APIMart account to access Grok Imagine API.
Top up your account balance to use Grok Imagine.
Create an API key for Grok Imagine in your dashboard.
“Grok Imagine delivers photorealistic quality that honestly surprised me. The color accuracy and texture detail are exceptional — we use it daily for product campaign visuals.”
Creative Director at DesignWorks
“The edit model is a game-changer. I just describe what needs changing in plain text and grok-imagine-1.5-edit-apimart handles it cleanly. No more fiddling with masks in Photoshop.”
UI/UX Designer
“The prompt interpretation is incredibly nuanced. Grok Imagine picks up on subtle stylistic cues that other models miss entirely. My clients are constantly asking how I generate these so fast.”
Freelance Illustrator
“APIMart's pricing for Grok Imagine is unbeatable. We generate hundreds of product visuals per week and the cost is a fraction of what we paid before.”
Marketing Manager
“The two-parameter API is refreshingly simple. I integrated Grok Imagine into our platform in under an hour. The reliability via APIMart is rock solid — no downtime in three months.”
Full-Stack Developer
“We switched to Grok Imagine for all our campaign concepting. The speed-to-quality ratio is the best we've found, and the APIMart pricing makes scaling completely viable.”
Art Director at AdVision
grok-imagine-1.5-apimart is optimized for text-to-image generation — creating images from scratch using a text prompt. grok-imagine-1.5-edit-apimart is designed for editing existing images based on natural language instructions, similar to how you'd describe changes to a designer.
The Grok Imagine API on APIMart uses a simple two-parameter interface: model (to select grok-imagine-1.5-apimart or grok-imagine-1.5-edit-apimart) and prompt (your text description or editing instruction). This makes integration fast and straightforward.
Yes! Use grok-imagine-1.5-edit-apimart with a text prompt describing the changes you want. The model intelligently applies your instructions to the reference image without requiring masks or complex setups.
APIMart offers pay-as-you-go pricing for Grok Imagine. You're charged per generation request. Check our pricing page for the latest rates — typically up to 70% cheaper than using the xAI API directly.
Grok Imagine generates high-quality images with photorealistic detail. The model automatically determines the optimal resolution and format based on your prompt, producing outputs suitable for professional and commercial use.
Create an APIMart account, add credits, and generate an API key. Then send a POST request to /v1/images/generations with your model and prompt. Check our documentation for complete code examples in Python, JavaScript, and more.
Explore more models in the same category.

GPT Image 1.5 Official
GPT-Image 1.5 is an upgraded version of GPT-Image 1, offering higher image quality and improved understanding, making it ideal for high-quality image generation and editing.

Z Image Turbo
Z-Image-Turbo is a “fast, efficient, and cost-effective” AI image generation model, ideal for rapid image creation and batch processing.

GPT Image 1 Official
GPT-Image-1 is an AI generative model that integrates text and image understanding, specializing in high-quality image creation and editing.

Qwen Image 2.0
Qwen-Image-2.0 is an AI image model that combines “generation and editing” capabilities, supports extremely long descriptions, and delivers high-quality 2K output. It is particularly well-suited for image creation that requires clear text and professional design aesthetics.