previous_response_iddoubao-seed-2.0-pro, doubao-seed-2.0-lite, doubao-seed-2.0-mini, doubao-seed-2.0-codeGet API Key:
Visit API Key Management Page to get your API Key
Add to request header:
Authorization: Bearer YOUR_API_KEYChat model name
doubao-seed-2.0-pro: Flagship, strongest overall capability, ideal for complex reasoning and high-quality generationdoubao-seed-2.0-lite: Lightweight, faster speed, cost-effectivedoubao-seed-2.0-mini: Ultra-fast, quickest response, suitable for simple tasksdoubao-seed-2.0-code: Code-specialized, optimized for code generation and understandingdoubao-seed-2.0-pro, doubao-seed-2.0-lite, doubao-seed-2.0-mini, doubao-seed-2.0-code "doubao-seed-2.0-pro"
Input content (plain text), equivalent to text input with user role
"Hello, introduce the new features of Doubao Seed 2.0"
Response generated successfully
Unique identifier of this response
"resp_02177148667427813c33c36521378d02b2c8389204fa8c3e2f63e"
Object type, fixed as response
response "response"
Creation Unix timestamp (seconds)
1771486674
Actual model name and version used
"doubao-seed-2-0-code-preview-260215"
Response status
completed: Generation completedin_progress: Generation in progressincomplete: Incompletefailed: Failedcompleted, in_progress, incomplete, failed "completed"
Model output content list
Service tier for this request
"default"
Token usage statistics
Maximum output token count
32768
Caching configuration
Whether the response was stored
true
Storage expiration time (Unix timestamp)
1771745874
Error information, null on success