{
"model": "MiniMax-M3",
"service_tier": "standard",
"system": "string",
"messages": [
{
"role": "user",
"content": "string"
}
],
"stream": false,
"max_tokens": 1,
"temperature": 1,
"top_p": 0.95,
"tools": [
{
"name": "string",
"description": "string",
"input_schema": {},
"cache_control": {
"type": "ephemeral"
}
}
],
"tool_choice": {
"type": "auto"
},
"thinking": {
"type": "disabled"
},
"metadata": {
"user_id": "string"
}
}curl --location '/v1/messages' \
--header 'Authorization: Bearer {{token}}' \
--header 'Content-Type: application/json' \
--header 'Content-Type: application/json' \
--data '{
"model": "MiniMax-M3",
"service_tier": "standard",
"system": "string",
"messages": [
{
"role": "user",
"content": "string"
}
],
"stream": false,
"max_tokens": 1,
"temperature": 1,
"top_p": 0.95,
"tools": [
{
"name": "string",
"description": "string",
"input_schema": {},
"cache_control": {
"type": "ephemeral"
}
}
],
"tool_choice": {
"type": "auto"
},
"thinking": {
"type": "disabled"
},
"metadata": {
"user_id": "string"
}
}'{
"id": "string",
"type": "message",
"role": "assistant",
"model": "string",
"content": [
{
"type": "text",
"text": "string",
"id": "string",
"name": "string",
"input": {},
"thinking": "string",
"signature": "string"
}
],
"stop_reason": "end_turn",
"usage": {
"input_tokens": 0,
"output_tokens": 0,
"cache_creation_input_tokens": 0,
"cache_read_input_tokens": 0
}
}