Doubao Seedream 4.5 251128
字节豆包模型,提供文本、图像和视频生成能力。
All systems normal1 providers available
Context—
Max output—
$0.3/ 1M tokensInput price · by access tier0.88折$0.026/ 1M tokens2折$0.06/ 1M tokens4.5折$0.14/ 1M tokens7折$0.21/ 1M tokens$2.5/ 1M tokensOutput price · by access tier0.88折$0.22/ 1M tokens2折$0.5/ 1M tokens4.5折$1.13/ 1M tokens7折$1.75/ 1M tokensCache read$0.03/1M tokens
Cache write$0.375/1M tokens
Capabilities
Input modality
InputText
OutputImage
Core capabilities
—
Tool capabilities
—
Access protocols
—
Pricing details
| Tier | Price (input–output) | Cache read | Cache write |
|---|---|---|---|
| ≦200K | $0.3-$2.5/1M tokens | $0.03/1M tokens | $0.375/1M tokens |
Quickstart
from openai import OpenAI
client = OpenAI(
base_url="https://api.apione.ai/v1",
api_key="<YOUR_API_KEY>", # 在控制台创建 API Key 后替换
)
response = client.chat.completions.create(
model="doubao-seedream-4-5-251128",
messages=[{"role": "user", "content": "用一句话介绍你自己"}],
)
print(response.choices[0].message.content)