跳转到主要内容
POST
MiMo Chat Completion API

授权

Authorization
string
header
必填

请求体

application/json
model
enum<string>
默认值:mimo-v2.6-pro
必填
可用选项:
mimo-v2.6-pro,
mimo-v2.6-flash
messages
object[]
必填
Minimum array length: 1
stream
boolean
默认值:false
stream_options
object
thinking
object
tools
object[]
tool_choice
enum<string>

Other values are not supported by this MiMo contract.

可用选项:
auto
max_completion_tokens
integer

Maximum total reasoning and final-output tokens.

必填范围: 1 <= x <= 131072

响应

Chat completion or server-sent events. Stream usage is included when requested.

id
string
object
string
created
integer
必填范围: x >= 0
model
string
choices
object[]
usage
object