kimi-k2.6
Creates a model response for the given chat conversation. Supports text, image, and video input, thinking mode, and tool use.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Model ID
kimi-k2.6 "kimi-k2.6"
A list of messages comprising the conversation so far.
1[{ "role": "user", "content": "Hello!" }]Controls thinking mode and whether reasoning_content from previous turns is preserved. Default {"type": "enabled"}.
The maximum number of tokens to generate. (max_tokens is deprecated and not honored.)
x >= 1Sampling temperature. Higher values make output more random.
0 <= x <= 21
Nucleus sampling threshold.
0 <= x <= 1Penalizes repeated tokens based on their frequency in the text so far.
-2 <= x <= 2Penalizes tokens that have already appeared in the text.
-2 <= x <= 2Specifies the output format, e.g. JSON Mode.
A list of tools the model may call (function calling).
If true, stream partial message deltas using SSE.
Sequences where the model will stop generating further tokens.