Skip to main content
POST
Start a Seed conversation with Chat Completions
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 API Key Management Page to get your API Key

Add to request header:

Body

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

Choose a model

Seed 2.1 model IDs use a hyphen (2-1). Seed 2.0 IDs use a period (2.0).

Available options:
doubao-seed-2-1-pro,
doubao-seed-2-1-turbo,
doubao-seed-2-1-lite,
doubao-seed-evolving,
doubao-seed-2.0-pro,
doubao-seed-2.0-lite,
doubao-seed-2.0-mini,
doubao-seed-2.0-code
Example:

"doubao-seed-2-1-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

Model used for this request.

Example:

"doubao-seed-2-1-pro"

object
enum<string>

Response type

Available options:
chat.completion
Example:

"chat.completion"

created
integer

Creation timestamp

Example:

1771485416

choices
object[]

Chat completion choices list

usage
object

Token usage statistics