Skip to main content

Grok Imagine 2.0 (image-to-image)

Live
xAIImage generationBenchmark price · $0.0815 per image
Use this model
Best discount now14.1%offYou pay 85.9% of reference.
Median discount14.1%offAcross 1 live offer.
Realized · 7 days18.6%avgRequest-weighted average.
Requests · 24h11 offer from 1 seller.
Current offers
1 of 12 offers
Availability
Providers
ProviderDiscountPriceUptimeSold
Venice AI
14%
$0.0700/image
1.9%
$0.093
Total
Cumulative offers
Sold
$0.093

Discount trend

Realized · 7 days
20.3%+0.3 pts vs last week
Best, twice dailyMedian 14.1%

Recent fills

15:401 imageVenice AI1.8%
19:451 imageVenice AI20.2%
15:371 image20.0%
15:031 image20.0%
13:431 image20.0%
13:421 image20.0%
12:531 image20.0%
12:431 image20.0%
12:321 image20.0%
11:221 image20.0%
09:101 image20.0%
09:011 image20.0%
08:081 image20.0%
15:021 image20.0%
Times in UTCSettled on Base in USDC.

Performance by provider route · 24h

Measured on Surplus traffic
Venice AI direct100% of traffic
1.9% success
p50 - · p95 -
Use this model

Change your base URL.
Keep your code.

Any OpenAI-compatible client works. Add /min30 to the path to only buy at 30% off or better.

Read the quickstart ↗
Parameters this model acceptsPOST /v1/images/generations
  • modelstringThis model’s id
  • promptstringWhat to generate
  • nintegerHow many choices to generate
  • response_formatstringThe format the result comes back in
  • sizestringOutput size in pixels1024x1024 · 1024x768 · 768x1024 · 1536x1024 · 1024x1536
  • qualitystringOutput quality
  • style
  • aspect_ratiostringOutput aspect ratioauto · 1:1 · 16:9 · 9:16 · 3:4 · 3:2 · 2:3
Others are passed through; most providers ignore what they don’t support. Parameter compatibility ↗
import os
import requests

response = requests.post(
    "$SURPLUS_BASE_URL/images/generations",
    headers={"Authorization": f"Bearer {os.environ['SURPLUS_API_KEY']}"},
    json={"model": "grok-imagine-image-2-0-edit", "prompt": "A lighthouse at dusk"},
)

SURPLUS_BASE_URL
https://api.surplusintelligence.ai/v1

Related models