doubao-seedream-5.0-flash API
Call doubao-seedream-5.0-flash through a single OpenAI-compatible endpoint — one key, no separate vendor account, no multi-provider wiring.
ByteDance DoubaoImage generationper-request billingPricing
Per request$0.018 (¥0.07)
Prices are per 1M tokens in USD · ¥6.5 = $1 · Billed in CNY
ByteDance Doubao
Doubao Seed models provide a low-cost entry point for general chat, with lighter and turbo tiers that scale down to small budgets.
Code
from openai import OpenAI
client = OpenAI(base_url="https://starseaapi.com/v1", api_key="sk-...")
r = client.images.generate(
model="doubao-seedream-5.0-flash",
prompt="a lighthouse at dusk"
)
print(r.data[0].url)Other models from this provider
| Models | Input $/M | Output $/M | Intelligence index | Coding index |
|---|---|---|---|---|
| doubao-seedream-5.0-pro | $0.046 / req | — | — | — |
| doubao-seed-2.1-lite | $0.25 | $0.83 | — | — |
| doubao-seed-2.1-turbo | $0.92 | $4.62 | — | — |
| doubao-seed-evolving | $0.92 | $4.62 | — | — |
| doubao-seed-2.1-pro | $1.85 | $9.23 | — | — |