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