Key Capabilities
- OpenAI compatible — Use the OpenAI SDK directly with no code changes
- Compact and fast — The smallest model in the Seed 2.0 series with fast inference
- High throughput — Suitable for batch processing and latency-sensitive applications
- Streaming — Supports real-time streaming output via SSE
Quick Example
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
model | string | Yes | Must be doubao-seed-2.0-mini |
messages | array | Yes | List of { role, content } messages |
max_tokens | integer | No | Maximum number of tokens to generate |
temperature | float | No | 0–2, controls randomness, default 1 |
stream | boolean | No | Enable SSE streaming output, default false |
top_p | float | No | Nucleus sampling threshold, default 1 |
stop | string / array | No | Sequences that trigger generation stop |
API Reference
View the interactive API documentation for Doubao Seed 2.0 Mini.

