zyloo/grok-imagine-image-2.0
xAI Grok model on Zyloo's unified, OpenAI-compatible API. One key, lower prices.
Per image
$0.30
Context
66K
Provider
xAI
Using this image model
- Billed per image: a request generating n images (max 4) costs n × $0.30. Only images actually delivered are charged — failed or timed-out generations are refunded automatically.
- This model also supports image edits at POST /v1/images/edits — send your source image and a prompt as multipart form data, at the same per-image price.
Call zyloo/grok-imagine-image-2.0 in seconds
Drop your Zyloo key into any OpenAI client and point it at https://api.zyloo.io/v1. Billed per image delivered.
from openai import OpenAI
client = OpenAI(
base_url="https://api.zyloo.io/v1",
api_key="sk-zy-...",
)
resp = client.images.generate(
model="zyloo/grok-imagine-image-2.0",
prompt="A watercolor lighthouse at dawn",
n=1,
)
print(resp.data[0].url)Edit images with zyloo/grok-imagine-image-2.0
from openai import OpenAI
client = OpenAI(
base_url="https://api.zyloo.io/v1",
api_key="sk-zy-...",
)
resp = client.images.edit(
model="zyloo/grok-imagine-image-2.0",
image=open("photo.png", "rb"),
prompt="Add a red scarf",
n=1,
)
print(resp.data[0].url)Start calling zyloo/grok-imagine-image-2.0
Sign up and call zyloo/grok-imagine-image-2.0 — plus every other model — from one key in under a minute.