zyloo/gpt-image-2
OpenAI GPT model on Zyloo's unified, OpenAI-compatible API. One key, lower prices.
Per image
$0.20
Context
400K
Provider
OpenAI
Using this image model
- Billed per image: a request generating n images (max 4) costs n × $0.20. 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/gpt-image-2 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/gpt-image-2",
prompt="A watercolor lighthouse at dawn",
n=1,
)
print(resp.data[0].url)Edit images with zyloo/gpt-image-2
from openai import OpenAI
client = OpenAI(
base_url="https://api.zyloo.io/v1",
api_key="sk-zy-...",
)
resp = client.images.edit(
model="zyloo/gpt-image-2",
image=open("photo.png", "rb"),
prompt="Add a red scarf",
n=1,
)
print(resp.data[0].url)Start calling zyloo/gpt-image-2
Sign up and call zyloo/gpt-image-2 — plus every other model — from one key in under a minute.