Seedance 2.5 is live on EvoLinkTry Seedance 2.5

Grok Imagine Image 2.0 API

xAI-Image GenerationLive
From $0.030 / image (1K Low)-25%$0.040 official price
Text-to-ImageImage EditingMulti-Reference Composition1-10 Images per Request13 Aspect Ratios1K / 2K Output
Route state
Live
Model Highlights
Generation and editing in one model, from $0.03 per image
Use Cases
Social creatives, ads, batch variations, reference-based edits
Input
Text prompt with optional 1-3 input images
Output
1-10 images per request

Try Grok Imagine Image 2.0 before you integrate the API.

Test output quality, estimate credit usage, and generate samples before you formally integrate.

Create image task

Fixed to grok-imagine-image-2.0
Grok Imagine Image 2.0From $0.030/image - 2.04 cr/image (1K Low)
Input images

Optional. Add 1-3 images to switch to editing mode. Each input image is billed once per request.

0/3 files
Aspect ratio
Quality
Resolution
Images (n)1
110
Estimate $0.0453.06 cr
1K Medium x 1 image + 0 input images
Ready
History
Generated Grok Imagine Image 2.0 tasks will appear here.

Know your testing cost before you add credits.

Pricing is a simple matrix of resolution (1K/2K) and quality (Low/Medium). Start from the cost of a single sample and pick a testing budget.

First Test Cost

Text-to-Image - 1K - Low quality
1K Low prompt-only
Credits2.04

One 1K Low prompt-only image

Approx. Cost$0.030

About 333 tests with $10 in credits.

Start with the 1K Low tier for drafts, then switch to Medium or 2K for the final check. Input images add a per-image fee once per request.

EvoLink rate$0.030
official price$0.040
You save-25%

Testing Budget Guide

Pick an amount based on how many tests you expect.
Add Credits
$10
About 333 tests

Good for a first validation.

$50
About 1667 tests

Good for prompt iteration.

$100
About 3333 tests

Good before production integration.

Common Cost Examples

Draft iteration1K Low prompt-only
$0.030/image-25%
2.04 cr/image$0.040 official price
Reference edit1K Medium + one input image
$0.053/image-25%
3.57 cr/image$0.070 official price
Final quality check2K Medium prompt-only
$0.060/image-25%
4.08 cr/image$0.080 official price

Estimated cost for one generated image. Multiply the output rate by n for multi-image requests; input image fees are charged once per request.

Model Pricing

1K · Low
Fastest tier (~10s) for drafts and prompt iteration. - Per output image
$0.030/image-25%
2.04 cr/image$0.040 official price
1K · Medium (default)
Default tier with better detail; generation may take 10-75s. - Per output image
$0.045/image-25%
3.06 cr/image$0.060 official price
2K · Low
Higher resolution with the fast quality tier. - Per output image
$0.045/image-25%
3.06 cr/image$0.060 official price
2K · Medium
Highest tier for final quality checks. - Per output image
$0.060/image-25%
4.08 cr/image$0.080 official price
Optional Add-ons & Billing NotesInput image pricing and multi-image requests.
ItemRuleRateBilling
Input imagesApplied to each input image in image_urls (max 3), charged once per request regardless of n.
$0.0075/image-25%
0.51 cr/image$0.010 official price
Per input image
Multiple outputs (n)n can be 1-10. The output rate is multiplied by n; failed tasks are not charged.Output rate × nPer request

Grok Imagine Image 2.0 capabilities for production image workflows

Generate images from text or edit them with up to 3 reference images in one model. The mode switches automatically based on the number of input images, with matrix-priced Low/Medium quality and 1K/2K resolution, and up to 10 images per request.

More prompt examples
Input
Text / 1-3 images
Output
1-10 images
Aspect ratio
13 presets + auto
Quality x Resolution
Low/Medium x 1K/2K

Grok Imagine Image 2.0 guides and comparisons

Core image capabilities

Create a commercial visual from one prompt

Create a commercial visual from one prompt

Build an art-directed campaign scene from text, then adapt the concept across 13 aspect-ratio presets.
Capability illustration created with GPT Image 2; Grok outputs vary by prompt, reference images, and settings.
Direct an edit with a reference image

Direct an edit with a reference image

Preserve the main subject while changing the environment, lighting, materials, or visual direction.
Capability illustration created with GPT Image 2; Grok outputs vary by prompt, reference images, and settings.
Compose from multiple references

Compose from multiple references

Combine 2-3 sources—such as a subject, product, and environment—into one coherent image with indexed references.
Capability illustration created with GPT Image 2; Grok outputs vary by prompt, reference images, and settings.

What You Can Do

Generate Marketing Visuals

Create ads, posters, and social creatives from a prompt in 13 aspect ratios.

Edit With Input Images

Pass 1-3 images in image_urls to switch to editing mode - no separate edit model name.

Batch Variations With n

Generate up to 10 images in one request; the output rate scales by n while input fees stay flat.

Control Cost by Tier

Iterate on Low quality at 1K, then switch to Medium or 2K for final output.

Grok Imagine Image 2.0 vs other image models

Starting price
Grok Imagine Image 2.0~$0.030 / image
Seedream 5.0 ProFrom ~$0.034 / image
GPT ImageToken or tier based
Output tiers
Grok Imagine Image 2.0Low/Medium x 1K/2K
Seedream 5.0 Pro1K / 2K
GPT ImageQuality tiers
Reference input
Grok Imagine Image 2.0Up to 3 images
Seedream 5.0 ProUp to 10 images
GPT ImageSupported
Images per request
Grok Imagine Image 2.01-10
Seedream 5.0 Pro1
GPT ImageModel dependent
Best for
Grok Imagine Image 2.0Fast iteration, batch creatives, reference edits
Seedream 5.0 ProAds, product creative, image editing
GPT ImageOpenAI image workflows

Model ID, reference inputs, and output limits

Exact model ID, two image modes

Use model ID grok-imagine-image-2.0. Send a prompt alone for text-to-image, or add 1-3 input images to switch to editing without a separate edit model ID.

Quality and resolution are independent

quality (low/medium) controls generation effort and speed; resolution (1k/2k) controls output pixels. Both enter the price matrix - the four combinations are priced 1x / 1.5x / 1.5x / 2x of base.

Input fees are charged once

Each input image adds 0.25x base per request, regardless of how many outputs you request with n. Failed tasks are not charged.

Why use Grok Imagine Image 2.0 through EvoLink

Live cost before generation

Review the current price and estimated credits before submitting a task, based on resolution, quality, output count, and reference images.

Unified API

One API key works across Grok, Seedream, Nano Banana, GPT Image, video, audio, and LLM models.

Unified Balance

Track credits, spending, and model usage in one console.

Task Status Tracking

See whether an image task is submitted, processing, completed, or failed.

Stable Result Hosting

Generated images are re-hosted on EvoLink CDN so result links stay usable after the upstream links expire.

Grok Model Family

Grok Imagine Video 1.5

Grok Imagine Video 1.5

xAI video generation route: text-to-video, image-to-video, and reference-to-video in one model with 1-15s durations.

View
Grok Imagine Video

Grok Imagine Video

The first-generation Grok Imagine video route for text-to-video and image-to-video workflows.

View
Grok 4.6

Grok 4.6

xAI flagship text model for reasoning, coding, and agentic workflows.

View

Other image models on EvoLink

Seedream 5.0 Pro

Seedream 5.0 Pro

BytePlus image route with 1K/2K output tiers, up to 10 reference images, and instruction-based editing.

View
Nano Banana 2

Nano Banana 2

Google image model for high-quality generation and flexible creative workflows.

View
GPT Image 2

GPT Image 2

OpenAI image route for prompt, reference, and editing workflows.

View
Qwen Image Edit

Qwen Image Edit

Image editing route for direct transformations and localized creative changes.

View

FAQ

What is the exact Grok Imagine Image 2.0 model ID?

Use grok-imagine-image-2.0 for both text-to-image generation and editing with 1-3 reference images. You do not need a separate editing model ID.

How much does Grok Imagine Image 2.0 cost?

Pricing is a matrix of resolution and quality: 1K Low is the base rate, 1K Medium and 2K Low are 1.5x, and 2K Medium is 2x. The output rate is multiplied by n, and each input image adds 0.25x base once per request.

Can I preview before integrating the API?

Yes. Use the Playground to test output quality, estimate credits, and inspect the request JSON before wiring it into your product.

What is the difference between quality and resolution?

quality (low/medium) controls generation effort - low takes about 10s, medium 10-75s with better detail. resolution (1k/2k) controls output pixels. They are independent parameters and both affect the price.

How do I use it for image editing?

Pass 1-3 image URLs in image_urls together with the prompt. The model switches to editing mode automatically. With multiple images, reference each one in the prompt as <IMAGE_0>, <IMAGE_1>, <IMAGE_2>.

Can I generate multiple images with n?

Yes. n can be 1-10 in a single request. The output rate is multiplied by n, while input image fees are charged only once per request.

Are input images billed?

Yes. Each input image in image_urls adds 0.25x the base rate, charged once per request regardless of n. Only public http(s) URLs are accepted - base64 uploads are rejected.

Can I set custom pixel dimensions?

No. size accepts 13 aspect-ratio presets plus auto. Custom WIDTHxHEIGHT values are not supported; resolution is controlled separately with the 1k/2k parameter.

What if a generation fails?

Failed tasks are not charged - the full pre-authorized amount is refunded, including upstream rejections, content moderation blocks, and timeouts.

Where do I go after topping up?

Return to the Playground for more tests, or create an API key and use /v1/images/generations with model grok-imagine-image-2.0.