doubao-seed-2.1-turbo
Creates a model response for the given chat conversation.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Model ID
doubao-seed-2.1-turbo "doubao-seed-2.1-turbo"
A list of messages comprising the conversation so far.
1[{ "role": "user", "content": "Hello!" }]
Controls deep thinking. On by default for Doubao-Seed-2.1.
Controls reasoning length; effective only when thinking is enabled.
minimal, low, medium, high The maximum number of tokens to generate (up to 256K).
1 <= x <= 262144Sampling temperature. Higher values make output more random.
0 <= x <= 21
Nucleus sampling threshold.
0 <= x <= 1If true, stream partial message deltas using SSE.
A list of tools (functions) the model may call.
Output format. Use { "type": "json_object" } for structured JSON output (beta).
Sequences where the model will stop generating further tokens.