Below xAI's price
$0.045 at 1K and $0.06 at 2K, against xAI's $0.06 and $0.08 for the same medium quality, and edits cost no more.
The Grok Imagine Image 2.0 API: xAI's image model for new images and edits at 1K or 2K, from $0.045 an image, below xAI's price.
grok-imagine-image-2.0from openai import OpenAIclient = OpenAI( base_url="https://api.zurelay.com/v1", api_key="YOUR_ZURELAY_KEY",)image = client.images.generate( model="grok-imagine-image-2.0", prompt="A red fox sitting in fresh snow at dawn, photo", size="2K", extra_body={"aspect_ratio": "16:9"},)print(image.data[0].url)Base URL https://api.zurelay.com/v1. Works with any OpenAI SDK. Grok Imagine Image guide
Pricing
Pay as you go from prepaid credit, with no subscription. Top up from $10. Requests that fail are never billed.
| Rate | Zurelay | xAI list | You save |
|---|---|---|---|
1K image per image | $0.045 | 25%off | |
2K image per image | $0.06 | 25%off |
Every image is checked against the resolution and aspect ratio you asked for before it's delivered.
Every Grok model and priceMove the sliders to your monthly usage.
$180.00 a year
Overview
Grok Imagine Image 2.0 is xAI's general image model for text-to-image and image editing, up to 2K. The Zurelay Grok Imagine Image 2.0 API makes images at xAI's medium quality for $0.045 at 1K and $0.06 at 2K, 25% below xAI's own price, and edits or combines up to 3 images at the same price.
Grok Imagine Image 2.0 is xAI's newer image model, for text-to-image and image editing up to 2K. On Zurelay it uses the model ID grok-imagine-image-2.0, and also accepts grok-imagine-image-2.
xAI prices it by resolution and quality: $0.06 for a 1K image and $0.08 for 2K at medium quality, plus $0.01 for each image you send to edit. Zurelay makes every image at medium quality and charges $0.045 at 1K and $0.06 at 2K, with the images you send included.
Send a prompt to POST /v1/images/generations with size 1K or 2K and an optional aspect_ratio: 1:1, 2:3, 3:2, 3:4, 4:3, 9:16, 16:9 or 21:9. Sizes are xAI's own, about one megapixel at 1K (1280 × 720 for 16:9) and four at 2K; Zurelay retries any image in another shape or resolution. To edit or combine, pass up to 3 images in images, or as files to /v1/images/edits; without an aspect_ratio, an edit keeps the shape of the image you send.
Strengths
$0.045 at 1K and $0.06 at 2K, against xAI's $0.06 and $0.08 for the same medium quality, and edits cost no more.
From 21:9 banners to 9:16 stories, with xAI's sizes checked on every image.
Put the person from one image, the product from another and the place from a third into one picture.
About four megapixels straight from the model, for banners and print-ready drafts.
Use cases
Draft posters and promos with the copy in the image, in the shape each channel needs.
Place a product photo into lifestyle settings and compare versions.
Change a color, a background or an object and keep the rest of the image.
Bring a character and a prop from separate images into one scene.
Get started
No waitlist and no new SDK. If your code already talks to OpenAI, it already talks to Zurelay.
Sign up, add credit and create an API key. Set a monthly budget or a rate limit per key if you like.
Change the base URL. Everything else in your code stays the same.
https://api.zurelay.com/v1Send a prompt to /v1/images/generations with a size and aspect ratio, and get back a link to your image.
grok-imagine-image-2.0Works with the tools you already use
Compare
from $0.025 per image
Pick Nano Banana 2 for 4K, ten aspect ratios and up to 14 reference images.
Nano Banana 2 API$0.016 per image
Pick Nano Banana 2 Lite for the lowest price on 1K images and quick edits.
Nano Banana 2 Lite APIfrom $0.028 per image
Pick GPT Image 2.5 Flare for custom pixel sizes up to 4K.
GPT Image 2.5 Flare API$0.045 for a 1K image and $0.06 for 2K, generation or edit. xAI's own price at the same medium quality is $0.06 and $0.08, plus $0.01 for each image you send; on Zurelay the images you send are included.
1K (the default) and 2K, in 1:1, 2:3, 3:2, 3:4, 4:3, 9:16, 16:9 and 21:9. Sizes are xAI's own: about one megapixel at 1K, such as 1024 × 1024 square or 1280 × 720 for 16:9, and about four at 2K. 4:5 and 5:4 aren't available.
Yes. Send up to 3 images in images on /v1/images/generations, as https URLs or base64 data URLs, or as files to /v1/images/edits with the OpenAI SDK, and describe the change. Without an aspect_ratio, the result keeps the shape of the image you send.
Every image is made at xAI's medium quality, the level priced on this page; there's no quality setting.
Yes. Point the OpenAI SDK at https://api.zurelay.com/v1 and call images.generate with model grok-imagine-image-2.0 and size 1K or 2K. Pass aspect_ratio through extra_body in Python or as an extra body property in Node.
Yes. Your requests run on xAI's Grok Imagine Image 2.0, and Zurelay checks each image's resolution and shape before delivering it. Zurelay is an independent service and is not affiliated with xAI.
Create a key in seconds, point the SDK you already use at Zurelay, and every request costs up to 90% less from the first token.