Grok Imagine 1.5 Ext is APIMart's Ext channel for Grok Imagine images. One model ID, grok-imagine-1.5-ext, handles text to image and natural-language editing with up to five reference images, in five aspect ratios and 1–10 images per request.
Service Highlights

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.
What grok-imagine-1.5-ext supports on APIMart, based on APIMart's API documentation
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.
Call grok-imagine-1.5-ext on APIMart with one POST request. Generation is asynchronous: submit a task, then poll the task endpoint for the image URLs.
Save the key you created above in the APIMART_API_KEY environment variable and send it as Authorization: Bearer <key> on every request.
POST /v1/images/generations with model grok-imagine-1.5-ext, your prompt, size and n. Add image_urls to edit an existing image. The task ID is in data[0].task_id.
Poll GET /v1/tasks/{task_id} until status is completed, then read the image URL from data.result.images[0].url[0]. Results are kept for 72 hours. Failed tasks are not charged.
See the Grok Imagine 1.5 Ext API reference for every parameter and response field.
curl -X POST https://api.apimart.ai/v1/images/generations \
-H "Authorization: Bearer $APIMART_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "grok-imagine-1.5-ext",
"prompt": "A starry night sky over a quiet mountain lake, a lone figure standing on the shore, soft blue light, cinematic wide shot",
"size": "16:9",
"n": 1
}'import os
import time
import requests
API_BASE = "https://api.apimart.ai"
headers = {"Authorization": f"Bearer {os.environ['APIMART_API_KEY']}"}
# 1. Submit the generation task
payload = {
"model": "grok-imagine-1.5-ext",
"prompt": "A starry night sky over a quiet mountain lake, a lone figure standing on the shore, soft blue light, cinematic wide shot",
"size": "16:9",
"n": 1
}
resp = requests.post(f"{API_BASE}/v1/images/generations", headers=headers, json=payload, timeout=60)
resp.raise_for_status()
task_id = resp.json()["data"][0]["task_id"]
# 2. Poll the task until it finishes
for _ in range(200):
task_resp = requests.get(f"{API_BASE}/v1/tasks/{task_id}", headers=headers, timeout=30)
task_resp.raise_for_status()
task = task_resp.json()["data"]
if task["status"] == "completed":
print(task["result"]["images"][0]["url"][0])
break
if task["status"] == "failed":
raise RuntimeError(task.get("error", {}).get("message", "generation failed"))
time.sleep(3)
else:
raise TimeoutError(f"task {task_id} did not finish in time; continue GET polling with this task ID")curl -X POST https://api.apimart.ai/v1/images/generations \
-H "Authorization: Bearer $APIMART_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "grok-imagine-1.5-ext",
"prompt": "Change the background to a starry sky and keep the main subject unchanged",
"n": 1,
"image_urls": [
"https://example.com/original.png"
]
}'TASK_ID="task_xxx" # replace with the task_id returned by the POST request
curl "https://api.apimart.ai/v1/tasks/$TASK_ID" \
-H "Authorization: Bearer $APIMART_API_KEY"| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
model | string | Required | Default: grok-imagine-1.5-ext | grok-imagine-1.5-ext, also accepted as grok-imagine-1.5-apimart. The same model handles generation and editing. |
prompt | string | Required | Default: — | Description of the image, or the edit instruction when image_urls is set. |
size | string | Optional | Default: 1:1 | Aspect ratio: 1:1, 16:9, 9:16, 3:2 or 2:3. |
n | integer | Optional | Default: 1 | Number of images, 1–10. Send a plain number, not a quoted string. |
image_urls | array | Optional | Default: — | Reference images for editing, 1–5 public HTTP(S) URLs. Omit the field for text to image. |
nsfw_check | boolean | Optional | Default: false | Set true to moderate the prompt and input images before the task is submitted. |
“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
Pricing, parameters and results for grok-imagine-1.5-ext
It is APIMart's Ext channel for Grok Imagine image generation. A single model ID, grok-imagine-1.5-ext, handles text to image and image editing with up to five reference images. The API also accepts grok-imagine-1.5-apimart as an equivalent model name.
It is billed per output image. In October 2026, Gold members paid $0.015 per image (list price $0.01875); Platinum and Diamond members save up to 28%. Failed tasks are not charged. The pricing table shows live rates.
Use the same model and endpoint for both. Omit image_urls to create an image from a prompt, or include one to five public HTTP(S) image URLs to edit them with a plain-language instruction. Upload local files with POST /v1/uploads/images first.
model and prompt are required. Optional fields are size (1:1, 16:9, 9:16, 3:2 or 2:3, default 1:1), n (1–10, default 1, sent as a number), image_urls (1–5 images) and nsfw_check (default false).
size accepts 1:1, 16:9, 9:16, 3:2, 2:3 for both generation and editing, with 1:1 as the default. Output resolution is set automatically; the model has no resolution or quality field.
Set n from 1 to 10. Each output image is billed, so the cost scales with n. n must be a plain number such as 2, not a quoted string.
Choose Ext for the lowest per-image price and a single model for generation and editing in five ratios. Choose the official grok-imagine-image when you need 1K or 2K resolution control, auto plus 13 aspect ratios or the official xAI channel.
Editing is now part of grok-imagine-1.5-ext: send image_urls with your prompt. Edit tasks created with the earlier edit model can still be viewed and reused in your history, and new tasks are recorded under Ext.
Save data[0].task_id from the create response and poll GET /v1/tasks/{task_id} until the status is completed. Read the URLs from data.result.images[0].url. Results are kept for 72 hours, so download them to your own storage.
Sign up for APIMart, open the API Keys page in your dashboard and create a key. The same key calls grok-imagine-1.5-ext and every other model on the platform, with pay-as-you-go billing and no subscription.
No. There is no free quota on APIMart. Billing is pay-as-you-go per image: failed tasks are not charged, and members get 20% or more off every price.
No. Under APIMart's Terms of Service, your prompts and images are not used to train AI models or shared with third parties except as needed to provide the service.
Explore more models in the same category.

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.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.

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.