Console

Grok Imagine 2.0

proprietary
Max size
2K
Input → output
text, image → image
Weights
Proprietary
Providers
1
01

Providers

1 provider · price, latency and uptime
ProviderPer imageLatency p50Uptime · hourly, 24hRetention
1
Krea AI
direct API
$0.04–$0.1124 s
n<100
may retain
Listed price
$0.04–$0.11 / image
Most per image
$0.11
Precision
–
Regions
default
Headquarters
–
Data retention
May retain prompts
Supported parameters
npromptqualityaspect_ratioresolutionstyle_images
Uptime · last 3 days10-13 11:00 – 10-16 10:08 UTC
TueWedThuNow

By default the router tries our listings in routing order and fails over before the first byte — never mid-answer. Uptime is our own measurement; an hour stays grey until it has a sample. Open the row for the provider's specs and policies.

02

Quickstart

any SDK — only the base URL changes
curl --max-time 480 https://api.routerplus.com/v1/images/generations \
  -H "Authorization: Bearer $TM_API_KEY" -H "content-type: application/json" \
  -d '{"model":"krea/xai/grok-imagine-2","prompt":"a red dot","aspect_ratio":"1:1","resolution":"1K"}'
03

Pricing

billed at the cost Krea AI reports · at most $0.11 per image
output image$0.04 / image · quality=low, resolution=1K, referenceImageCount=0
output image$0.05 / image · quality=low, resolution=1K, referenceImageCount=1
output image$0.06 / image · quality=low, resolution=1K, referenceImageCount=2
output image$0.06 / image · quality=low, resolution=2K, referenceImageCount=0
output image$0.06 / image · quality=medium, resolution=1K, referenceImageCount=0
output image$0.07 / image · quality=low, resolution=1K, referenceImageCount=3
output image$0.07 / image · quality=low, resolution=2K, referenceImageCount=1
output image$0.07 / image · quality=medium, resolution=1K, referenceImageCount=1
output image$0.08 / image · quality=low, resolution=2K, referenceImageCount=2
output image$0.08 / image · quality=medium, resolution=1K, referenceImageCount=2
output image$0.08 / image · quality=medium, resolution=2K, referenceImageCount=0
output image$0.09 / image · quality=low, resolution=2K, referenceImageCount=3
output image$0.09 / image · quality=medium, resolution=1K, referenceImageCount=3
output image$0.09 / image · quality=medium, resolution=2K, referenceImageCount=1
output image$0.10 / image · quality=medium, resolution=2K, referenceImageCount=2
output image$0.11 / image · quality=medium, resolution=2K, referenceImageCount=3

Every billed response carries usage.cost — recompute your bill from the wire.

04

Parameters

n — integer 1–1 (default 1)
prompt (required) — string
quality — low · medium (default medium) · default "medium"
aspect_ratio (required) — 2:1 · 20:9 · 19.5:9 · 16:9 · 3:2 · 4:3 · 1:1 · 3:4 · 2:3 · 9:16 · 9:19.5 · 9:20 · 1:2 (default 1:1) · default "1:1"
resolution (required) — 1K · 2K (default 1K) · default "1K"
style_images — array · up to 3 items · item fields: strength, url · Image prompts to use for the generation

Values outside these are refused with a 400 that names the field.

05

Uptime

10-13 11:00 – 10-16 10:08 UTC
Last 3 days–last 24h · TTFB p50 23,907 ms · uptime n<100
TueWedThuNow

An hour counts at the best provider's uptime: a request goes to another provider when one fails. Grey hours have no sample yet.