Skip to main content
POST
BaseURL: The default BaseURL is https://direct.evolink.ai, which has better support for text models and long-lived connections. https://api.evolink.ai is the primary endpoint for multimodal services and serves as a fallback address for text models.
All models reason by default on this endpoint. Reasoning tokens count towards the output limit and are billed at the output rate. MiniMax-M3 starts content with <think>...</think> by default. Set reasoning_split: true to receive reasoning in reasoning_content separately. See the API reference for tool calls, image and video input, streaming and multi-turn conversations.

Authorizations

Authorization
string
header
required

All APIs require Bearer Token authentication

Get API Key:

Visit API Key Management Page to get your API Key

Add to request header:

Body

application/json
model
enum<string>
required

MiniMax-M4, MiniMax-M3.1-Flash and MiniMax-M3 accept images and video. MiniMax-M2.5 accepts text only.

Available options:
MiniMax-M4,
MiniMax-M3.1-Flash,
MiniMax-M3,
MiniMax-M2.5
Example:

"MiniMax-M4"

messages
object[]
required

The list of conversation messages, in chronological order. At least one message is required.

Minimum array length: 1

Response

Conversation generated successfully

id
string

Unique identifier for the chat completion

Example:

"chatcmpl-example"

model
string

Model name actually used

Example:

"MiniMax-M4"

object
enum<string>

Response type

Available options:
chat.completion
Example:

"chat.completion"

created
integer

Creation timestamp (Unix seconds)

Example:

1777026807

choices
object[]

List of chat completion choices

usage
object

Token usage statistics