Skip to main content
POST
Start a Seed conversation with Responses
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"

input
string
required

Input content (plain text), equivalent to text input with user role

Example:

"Hello! Introduce yourself in three sentences."

Response

Response generated successfully

id
string

Unique identifier of this response

Example:

"resp_02177148667427813c33c36521378d02b2c8389204fa8c3e2f63e"

object
enum<string>

Object type, fixed as response

Available options:
response
Example:

"response"

created_at
number

Creation Unix timestamp (seconds)

Example:

1771486674

model
string

Model used for this request.

Example:

"doubao-seed-2-1-pro"

status
enum<string>

Response status

  • completed: Generation completed
  • in_progress: Generation in progress
  • incomplete: Incomplete
  • failed: Failed
Available options:
completed,
in_progress,
incomplete,
failed
Example:

"completed"

output
(Chain-of-thought output · object | Message output · object | Web search call · object)[]

Model output content list

usage
object

Token usage statistics

max_output_tokens
integer

Maximum output token count

Example:

32768

caching
object

Cache configuration for this request. type=enabled means an explicit cache was written and incurs storage charges.

store
boolean

Whether the response was stored

Example:

true

expire_at
integer

Expiry time for the stored response and explicit cache, in Unix seconds.

Example:

1771745874

error
object | null

Error information, null on success