Beta MiMo Chat Completion API
POSThttps://api.worldai.chat/mimo/chat/completions
POSThttps://api.worldai.chat/v1/chat/completions

Request Headers

authorizationstring
Bearer token

Request Body

modelstringRequired parameter
toolsarray
streamboolean
Please select
messagesarrayRequired parameter
thinkingobject
typestring
Please select
tool_choicestring
Other values are not supported by this MiMo contract.
Please select
stream_optionsobject
include_usageboolean
Please select
max_completion_tokensinteger
Maximum total reasoning and final-output tokens.

Response

Integration guide

Shell

Python

JavaScript

Java

Go

PHP

Kind reminder: For streaming requests, the above code may not be fully applicable. Please refer to the integration documentation for changes.

MiMo
Allow Use General Balance

When 'Allow General Balance' is enabled, the general balance is used automatically if an app's balance is insufficient.