Перейти до основного вмісту
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