Skip to main content
POST
Doubao Seed 2.0 Quick Chat
BaseURL: The default BaseURL is https://direct.evolink.ai, which has better support for text models and long-lived connections. https://api.evolink.ai is the primary endpoint for multimodal services and serves as a fallback address for text models.

Authorizations

Authorization
string
header
required

##All APIs require Bearer Token authentication##

Get API Key:

Visit the API Key Management Page to get your API Key

Add to request header:

Body

application/json
model
enum<string>
default:doubao-seed-2.0-pro
required

Chat model name

  • doubao-seed-2.0-pro: Flagship, strongest overall capability, ideal for complex reasoning and high-quality generation
  • doubao-seed-2.0-lite: Lightweight, faster speed, cost-effective
  • doubao-seed-2.0-mini: Ultra-fast, quickest response, suitable for simple tasks
  • doubao-seed-2.0-code: Code-specialized, optimized for code generation and understanding
Available options:
doubao-seed-2.0-pro,
doubao-seed-2.0-lite,
doubao-seed-2.0-mini,
doubao-seed-2.0-code
Example:

"doubao-seed-2.0-pro"

messages
object[]
required

Chat message list

Minimum array length: 1
Example:

Response

Chat completion successful

id
string

Unique identifier of chat completion

Example:

"0217714854126607f5a9cf8ed5b018c76e4ad3dc2810db57ffb50"

model
string

Actual model name used

Example:

"doubao-seed-2-0-pro-260215"

object
enum<string>

Response type

Available options:
chat.completion
Example:

"chat.completion"

created
integer

Creation timestamp

Example:

1771485416

service_tier
enum<string>

Service tier for this request

  • default: Default service tier
  • scale: Used reserved quota
Available options:
default,
scale
Example:

"default"

choices
object[]

Chat completion choices list

usage
object

Token usage statistics