Stylistically expressive image generation with crisp detail at flat per-image pricing.
/v1/images/generations No monthly fee · credits never expire · set spend caps anytime
Estimate your discounted pay-as-you-go spend for Grok Imagine 2.0.
LiveLLMAPI routes every request to the lowest-cost healthy capacity tier first and automatically fails over if a tier hits rate limits or downtime. You are always billed strictly at the exact rate of the tier that served your request — returned in x-live-pricing-tier and x-live-rate-* headers.
| Priority | Capacity tier | Applied rate | vs. list |
|---|---|---|---|
| #1 | Primary capacity primary | $0.039 per image | -35% |
| #2 | Overflow capacity overflow | $0.048 per image | -20% |
Endpoint: https://api.livellmapi.com/v1/images/generations
from openai import OpenAI
client = OpenAI(
base_url="https://api.livellmapi.com/v1",
api_key="YOUR_LIVELLMAPI_KEY",
)
img = client.images.generate(
model="grok-imagine-image-2.0",
prompt="Minimalist architectural studio in warm golden hour sunlight, 35mm photography",
size="1024x1024",
)
print(img.data[0].url or img.data[0].b64_json[:80]) modelpromptsizenqualityresponse_formatroutingstrict_discountmax_price Swap with a one-line model ID change using the same LiveLLMAPI key.