doubao-seedream-4-0-250828
About doubao-seedream-4-0-250828
Seedream 4.0 is a multimodal image generation model from ByteDance. Within a unified framework, it integrates text-to-image, image editing, and multi-image composition: it accepts up to 10 images per input for composite editing, and through deep reasoning over prompts automatically selects the optimal aspect ratio and generation count — outputting up to 15 thematically linked images in a single run. The model also significantly improves Chinese text generation accuracy and content diversity, supports 4K ultra-HD output, and delivers an end-to-end solution from generation to editing for professional image creation.
Price by routing group
Pick a group in the console when you create a key. Status is live from the router. Live status by group →
| Group | Group status | Model status | Multiplier | Price |
|---|---|---|---|---|
Doubao-1 | … | ×0.845 | $0.0253 | |
Doubao-2 | … | ×1.2675 | $0.038 | |
Doubao-3 | … | ×1.859 | $0.0558 |
USD per call
Supported endpoints
Call doubao-seedream-4-0-250828 in one request
Works with the OpenAI SDK and any OpenAI-compatible client. Replace the key with your own.
curl https://api.nixapi.com/v1/images/generations \
-H "Authorization: Bearer $NIXAPI_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "doubao-seedream-4-0-250828", "prompt": "A lighthouse at dawn, watercolor", "size": "1024x1024"}'from openai import OpenAI
client = OpenAI(base_url="https://api.nixapi.com/v1", api_key="sk-…")
img = client.images.generate(model="doubao-seedream-4-0-250828", prompt="A lighthouse at dawn, watercolor", size="1024x1024")
print(img.data[0].url or img.data[0].b64_json[:40])import OpenAI from 'openai';
const client = new OpenAI({ baseURL: 'https://api.nixapi.com/v1', apiKey: process.env.NIXAPI_KEY });
const img = await client.images.generate({ model: "doubao-seedream-4-0-250828", prompt: 'A lighthouse at dawn, watercolor', size: '1024x1024' });
console.log(img.data[0].url);Questions about doubao-seedream-4-0-250828
How much does doubao-seedream-4-0-250828 cost on NixAPI?
From $0.0253 per call in the Doubao-1 group. Billing is pay-as-you-go in USD with no monthly minimum.
How do I call doubao-seedream-4-0-250828?
Point any OpenAI-compatible client at https://api.nixapi.com/v1, use your NixAPI key and set the model to "doubao-seedream-4-0-250828".
Which routing groups serve doubao-seedream-4-0-250828?
doubao-seedream-4-0-250828 is available in 3 routing groups: Doubao-1, Doubao-2, Doubao-3. The lowest price is in Doubao-1.