ByteDance Doubao — Chinese LLM family tuned for the Volcano Engine cloud and ByteDance ecosystem.
Key strengths
- Chinese performance
- Volcano Engine native
- Good latency
- Multi-size tiers
ByteDance Doubao — Chinese LLM family tuned for the Volcano Engine cloud and ByteDance ecosystem.
ByteDance's bytedance/doubao-seedream-5.0-pro is a state-of-the-art text-to-image generation model. It produces highly detailed, photorealistic and stylized imagery from natural-language prompts, with strong instruction following and accurate text rendering inside generated images.
Compatible with the OpenAI `/images/generations` endpoint shape, supporting prompt, size, seed, negative prompt, and resolution controls. Excellent for creative workflows, marketing assets, product visualization, and concept art at scale.
bytedance/doubao-seedream-5.0-pro is fully OpenAI-compatible — drop in your existing OpenAI Python or Node SDK and switch `baseURL` to `https://api.tokenlx.ai`. TokenLX transparently routes your requests to the optimal provider endpoint while preserving streaming, function-calling, and structured-output semantics.
Compare different providers across TokenLX · All locations.
Pricing is shown by the model billing method, using per-call or per-second prices and resolution tiers.
Total usage per day on TokenLX (last 30 days).
TokenLX normalizes requests and responses across providers. Use any OpenAI SDK or our native SDK.
# ─── 文生图示例 ───
import requests
response = requests.post(
"https://api.tokenlx.ai/v1/aigc/image/generations",
headers={"Authorization": "Bearer sk-tokenlx-..."},
json={
"model": "doubao-seedream-5.0-pro",
"prompt": "一只橘猫趴在窗台上晒太阳",
"size": "2K",
"seed": 42,
},
)
data = response.json()
print(data["data"][0])
# ─── 图像编辑示例 ───
edit_response = requests.post(
"https://api.tokenlx.ai/v1/aigc/image/generations",
headers={"Authorization": "Bearer sk-tokenlx-..."},
json={
"model": "doubao-seedream-5.0-pro",
"prompt": "把背景替换为星空",
"images": [
{"file_uri": "https://example.com/photo.jpg", "mime_type": "image/jpeg"},
],
"size": "2K",
"seed": 42,
},
)
print(edit_response.json()["data"][0])Replace sk-aihubrouter-… with your key from the dashboard.
{
"data": ["url1", "url2"]
}| Parameter | Type | Required | Description |
|---|---|---|---|
| model | string | Yes | Model name |
| prompt | string | Yes | Generation prompt |
| size | string | No | Output size: 2K / 3K or WxH 2K, 3K(seedream 5.0)1024x1024, 864x1152, 1152x864, 1280x720, 720x1280, 832x1248, 1248x832, 1512x648(seedream 3.0/4.0/4.5) |
| n | int | No | Number of images to generate (default 1) |
| seed | int | No | Random seed — fixed value produces reproducible results |
| guidanceScale | float | No | Guidance scale [1, 10] (seedream 3.0/4.5 only) |
| images | array | Editing | Input images for editing (required when editing). Each item has file_uri and optional mime_type. Supports multiple images |
| images[].file_uri | string | Editing | Image URL or base64 data URI |
| images[].mime_type | string | No | MIME type, defaults to image/png |
modelstringYespromptstringYessizestringNo2K, 3K(seedream 5.0)1024x1024, 864x1152, 1152x864, 1280x720, 720x1280, 832x1248, 1248x832, 1512x648(seedream 3.0/4.0/4.5)nintNoseedintNoguidanceScalefloatNoimagesarrayEditingimages[].file_uristringEditingimages[].mime_typestringNo