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="doubao-seedream-5-0-pro-260628", 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: "doubao-seedream-5-0-pro-260628", 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":"doubao-seedream-5-0-pro-260628","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 ByteDance
All ByteDance models →doubao-seed-2-1-pro-260628ByteDance · Chat & text
Input / 1M$0.8715Output / 1M$4.3785
doubao-seed-2-1-turbo-260628ByteDance · Chat & text
Input / 1M$0.441Output / 1M$2.184
seedance-2.0ByteDance · Video
Price$0.1504 / second
seedance-2.0-fastByteDance · Video
Price$0.127 / second
New seedance-2.0-fast-intlByteDance · Video
Price$5.88 / second
New seedance-2.0-intlByteDance · Video
Price$7.35 / second
Compare with other labs
Full price list →
Price$0.0393 / image
Price$0.0211 / image
Price$0.0141 / image
Price$0.0704 / image
Price$0.2625 / image
Price$0.2625 / image