Docs
Doubao Seedream 4.5 API developer guide
Doubao Seedream 4.5 is currently "Available". This guide provides model IDs, price snapshots, and copyable examples for integration. Doubao Seedream 4.5 model page
Overview
- Vendor: ByteDance
- Type: Image
- Number of tiers: 1
- Endpoint tags: openai, image-generation
Available tiers and pricing
The model in requests must use the model IDs in the table below, case-sensitive.
| Tier | Model ID | Per request | Output | Context |
|---|---|---|---|---|
| Doubao Seedream 4.5 | doubao-seedream-4.5 | $0.0393 / 次 | — | — |
Prices are build-time snapshots; refer to the pricing page and console for the latest prices.
Base URL and authentication
Base URL is https://api.rokoapi.com/v1. All requests must include Authorization: Bearer $OPENAI_API_KEY.
Quickstart
curl https://api.rokoapi.com/v1/images/generations \
-H "Authorization: Bearer $OPENAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "doubao-seedream-4.5",
"prompt": "A serene lake at dawn, photorealistic"
}' Common parameters
| Parameter | Description |
|---|---|
model | Use the public model IDs from the table above. |
prompt / messages | Input prompt, conversation messages, or generation instructions; format depends on the endpoint. |
stream | Text models can set this to true to enable SSE streaming output. |
Notes
- Use only the model IDs listed on this page; unprovisioned or retired names will return a model unavailable error.
- If you encounter a 403 error, check your account balance, key group, and model access permissions.
- Multimodal, tool calling, caching, and streaming capabilities depend on the upstream model and channel configuration; refer to actual responses.