Call it from your code
from openai import OpenAI client = OpenAI(base_url="https://devsaio.lol/v1", api_key="dsk_...") img = client.images.generate(model="gemini-nano-banana-2.1", prompt="A lighthouse at dusk", n=1) print(img.data[0].url or img.data[0].b64_json[:40])
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://devsaio.lol/v1", apiKey: process.env.DEVSAIO_API_KEY });
const img = await client.images.generate({ model: "gemini-nano-banana-2.1", prompt: "A lighthouse at dusk", n: 1 });curl https://devsaio.lol/v1/images/generations \
-H "Authorization: Bearer $DEVSAIO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"gemini-nano-banana-2.1","prompt":"A lighthouse at dusk","n":1}'Works with any OpenAI-compatible SDK or tool. Setup guides for Claude Code, Codex and Cursor
More from Google
All Google models →
Price$0.0393 / image
Price$0.0211 / image
Price$0.0141 / image
Input / 1M$2.10Output / 1M$12.60
Input / 1M$1.575Output / 1M$9.45
Input / 1M$1.575Output / 1M$7.875
Compare with other labs
Full price list →doubao-seedream-5-0-pro-260628ByteDance · Image
Price$0.0473 / image
Price$0.2625 / image
Price$0.2625 / image
Price$0.2625 / image
Price$0.2625 / image
Price$0.2625 / image