APIMart
Grok Imagine 1.5 Ext model icon
Image

Grok Imagine 1.5 Ext API

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.

Image GenerationImage EditingText to Image

Service Highlights

  • Official Discounts
  • Pay-as-you-go
  • Fast & Low Latency
Input
Output
Generated 1

Image link valid for 72 hours

Grok Imagine 1.5 Ext API Pricing

Transparent pricing with no hidden fees. Pay only for what you use.

VariantGoldCurrent pricePlatinumDiamondOfficialYour savings
grok-imagine-1.5-ext(grok-imagine-1.5-apimart)0.15Credits(~$0.015)/pic0.1425Credits(~$0.0143)/pic0.135Credits(~$0.0135)/pic0.1875Credits(~$0.0188)/pic20%

* Actual costs are subject to final output.

Grok Imagine 1.5 Ext API Features

What grok-imagine-1.5-ext supports on APIMart, based on APIMart's API documentation

One Model for Generation and Editing

grok-imagine-1.5-ext covers both text to image and image editing through POST /v1/images/generations. The earlier separate edit model is merged into it, and older edit tasks still appear in your history.

Text to Image

Omit image_urls and send a prompt to generate images from text. Describe the subject, style and lighting for more control.

Editing with 1–5 Reference Images

Add one to five public image URLs in image_urls and describe the change in plain language, such as a new background or style. No masks are needed.

Five Aspect Ratios

Set size to 1:1, 16:9, 9:16, 3:2, 2:3; the default is 1:1. Output resolution is chosen automatically, so there is no resolution field.

1–10 Images per Request

Set n from 1 to 10 to get several variations in one task. Each output image is billed.

Lower Per-Image Price

In October 2026, Gold members paid $0.015 per image (list price $0.01875), below the official grok-imagine-image at $0.016.

Asynchronous Tasks, 72-Hour Results

Each request returns a task ID in data[0].task_id; poll the task endpoint until the status is completed. Results are kept for 72 hours, so save the images promptly.

Optional Moderation

Set nsfw_check to true to review the prompt and input images before the task is submitted. Leave it off to skip the extra check and its latency.

Grok Imagine Use Cases

Design & Branding

Create logos, mockups, and brand identity assets. Grok Imagine produces crisp, detailed visuals that match brand guidelines precisely.

Advertising & Marketing

Generate photorealistic product shots, lifestyle images, and campaign visuals with grok-imagine-1.5-ext for professional marketing materials.

Digital Art & Illustration

Bring creative concepts to life with Grok Imagine's nuanced prompt interpretation. From photorealism to stylized art, the model adapts to your vision.

Image Editing & Retouching

Use grok-imagine-1.5-ext to naturally modify existing images — change backgrounds, remove objects, adjust lighting, or alter styles with text instructions.

UI/UX & Web Mockups

Generate interface designs, splash screens, and hero images for web and mobile projects. Fast iteration keeps creative workflows moving.

App & Platform Integration

Embed Grok Imagine into apps and platforms to enable dynamic image generation. Only model and prompt are required, and the API example below has copy-ready cURL and Python code.

Getting Started with Grok Imagine

Follow these simple steps to start generating images with Grok Imagine

1

Sign up

Create your free APIMart account to access Grok Imagine API.

2

Add funds

Top up your account balance to use Grok Imagine.

3

Generate your API key

Create an API key for Grok Imagine in your dashboard.

Grok Imagine 1.5 Ext API Example: Text to Image and Image Editing

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.

  1. 1

    Authenticate Grok Imagine 1.5 Ext API requests

    Save the key you created above in the APIMART_API_KEY environment variable and send it as Authorization: Bearer <key> on every request.

  2. 2

    Submit a Grok Imagine 1.5 Ext task

    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.

  3. 3

    Get the Grok Imagine 1.5 Ext result

    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.

POST /v1/images/generations
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
  }'

Grok Imagine 1.5 Ext API Parameters

ParameterTypeRequiredDefaultDescription
modelstringRequiredDefault: grok-imagine-1.5-extgrok-imagine-1.5-ext, also accepted as grok-imagine-1.5-apimart. The same model handles generation and editing.
promptstringRequiredDefault: —Description of the image, or the edit instruction when image_urls is set.
sizestringOptionalDefault: 1:1Aspect ratio: 1:1, 16:9, 9:16, 3:2 or 2:3.
nintegerOptionalDefault: 1Number of images, 1–10. Send a plain number, not a quoted string.
image_urlsarrayOptionalDefault: —Reference images for editing, 1–5 public HTTP(S) URLs. Omit the field for text to image.
nsfw_checkbooleanOptionalDefault: falseSet true to moderate the prompt and input images before the task is submitted.

Grok Imagine Customer Stories

“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

Grok Imagine 1.5 Ext API FAQ

Pricing, parameters and results for grok-imagine-1.5-ext

What is the Grok Imagine 1.5 Ext API?

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.

How much does the Grok Imagine 1.5 Ext API cost?

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.

How do I switch between generation and editing?

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.

What parameters does grok-imagine-1.5-ext accept?

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

Which sizes and resolutions are supported?

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.

How many images can one request generate?

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.

Grok Imagine 1.5 Ext vs official grok-imagine-image: which should I use?

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.

What happened to the separate Grok Imagine edit model?

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.

How do I get the generated images?

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.

How do I get a Grok Imagine 1.5 Ext API key?

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.

Is the Grok Imagine 1.5 Ext API free?

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.

Is my data used to train AI models?

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.