Models
Enterprise
Subscribe
Resource
Documentation
Console

x.ai/grok-imagine-image

Grok.Color

X.ai: grok-imagine-image

Grok Imagine Image is xAI's image-generation line for creating and editing images from natural-language instructions.

Modetext → text
Input price$0.06 per M tokens
Output price
Context length
Weekly usage0 tokens
Listed at

X.ai

Latency
Throughput
Upload rate
Context length
Max output
Input price$0.06per request
Output priceper request
Cache readper request
Cache writeper request

Performance

Avg TPS
Avg latency
Avg success rate
TPS
TTFT
Latency
Success rate

Success rate

Speed

Code Example

Replace <YOUR_API_KEY> with the API key generated on your token management page.

Authentication

All requests must include the Authorization: Bearer <TOKEN> header.

Endpoint Path

POST

Supported Parameters

ParameterTypeDefaultDescription

Rate Limits

GroupRPMTPMRPD

RPM = requests per minute, TPM = tokens per minute, RPD = requests per day. Limits apply by token group.

Pricing

GroupBilling typePrice summary
Grok0%
Per call
Input price0.06per request
Completion priceper request
Cache read priceper request
Cache write priceper request
Grok0%
Per call
Input price0.06per request
Completion priceper request
Cache read priceper request
Cache write priceper request
Grok0%
Per call
Input price0.06per request
Completion priceper request
Cache read priceper request
Cache write priceper request