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

Image link valid for 72 hours
Transparent pricing with no hidden fees. Pay only for what you use.
| Variant | GoldCurrent price | Platinum | Diamond | Official | Your savings |
|---|---|---|---|---|---|
grok-imagine-1.5-ext(grok-imagine-1.5-apimart) | 0.15Credits(~$0.015)/pic | 0.1425Credits(~$0.0143)/pic | 0.135Credits(~$0.0135)/pic | 0.1875Credits(~$0.0188)/pic | 20% |
* 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.”
Alex Chen
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.”
Sarah Mitchell
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.”
Marcus Weber
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.”
Emma Rodriguez
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.”
James Liu
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.”
Sophie Anderson
Art Director at AdVision
Use grok-imagine-1.5-ext for both text-to-image generation and image editing. Omit image_urls to create an image from a prompt, or provide 1–5 public HTTP(S) reference-image URLs to edit existing images with natural language instructions. Both modes use POST /v1/images/generations; grok-imagine-1.5-apimart is a supported model alias.
grok-imagine-1.5-ext uses model, prompt and n (1–10 outputs, default 1). The size parameter supports 1:1, 16:9, 9:16, 3:2 and 2:3, with 1:1 as the default. image_urls is optional: omit it for text-to-image, or provide 1–5 public HTTP(S) reference images for editing. nsfw_check is an optional content-check setting.
Yes. Use grok-imagine-1.5-ext with an editing prompt and 1–5 HTTP(S) reference images in image_urls. The model applies your instructions to the references without requiring masks.
This model uses its own current per-output-image price, calculated from its original price and actual discount. Output fees scale with n. See the pricing details for current rates.
Ext retains its existing automatic resolution behavior. Both generation and editing support five size ratios: 1:1, 16:9, 9:16, 3:2 and 2:3, with 1:1 as the default.
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. The Grok image API reference in our documentation (docs.apimart.ai) has complete code examples in Python, JavaScript, and more. For editing, add reference-image URLs to image_urls in the same request. The API returns a task_id; poll /v1/tasks/{task_id} until the result is ready.
No, there is no free quota for the Grok Imagine API. It is pay-as-you-go: you only pay for successful requests, and every price already comes with 20% off. Platinum and Diamond members save up to 28%.
Sign up for APIMart, open the API Keys page in your dashboard and create a key. The same key calls the xAI Grok Imagine API and every other model on the platform, with pay-as-you-go billing and no subscription.
Yes. The Grok Imagine API is billed per generated image. The pricing table on this page lists every specification and shows the Gold member price, 20% off. Platinum and Diamond members save even more, up to 28%. You only pay for successful requests.
You can reach us via the live chat in the bottom-right corner, email us at [email protected], or join our Discord community. Our team will get back to you as soon as possible.
Explore more models in the same category.

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.

Nano banana 2
Gemini-3.1-Flash-Image-Preview is a lightweight image generation and understanding preview model provided by Google.

Seedream 5.0 Lite
Seedream 5.0 Lite delivers cutting-edge text-to-image generation. Create 4K resolution images with precise text rendering, multi-reference style fusion, and unified editing capabilities.