GET

/v1/schemas/minimax/chat/anthropic/v1/messages

kind inputactivity chathash acf3d8d3…extracted Dec 4, 2026version currentsource upstream spec ↗
fieldrecorded source
schemaSource linked above.

upstream-spec

Source trace
c09ec2b40c021994ac9a6cff5b3742a26fe2f97bc7a61fb8ff8909983bd3b733
{
  "fetchedAt": 1796361039,
  "extractorVersion": "2",
  "verifiedAt": null
}

Request body

12 properties · 2 required · 6 $defs
propertytypedescriptionconstraints
model*enumModel ID. Native support for text, image, and video input, alongside tool use and thinking content blocks. `MiniMax-M4` and `MiniMax-M3.1-Flash` always think and support tunable thinking depth via `output_config.effort`.MiniMax-M4 | MiniMax-M3.1-Flash | MiniMax-M3
messages*Message[]Conversation history. Supports text, image, video, tool use, tool result, and thinking content blocks.
systemstring | object[]Set the role and behavior of the model.
streambooleanWhether to use streaming output, defaults to `false`. When set to `true`, the response will be returned in chunksdefault: false
max_tokensintegerSpecifies the upper limit for generated content length (in tokens). - `MiniMax-M4`: recommended value 131072 (128K), maximum 262144 (256K). - `MiniMax-M3.1-Flash`, `MiniMax-M3`: recommended value 131072 (128K), maximum 524288 (512K).n ≥ 1 · format: int64
temperaturenumberFixed at 1; any value passed has no effect.format: double · default: 1
top_pnumberFixed at 0.95; any value passed has no effect. If passed, the value must be within (0, 1].format: double · default: 0.95
toolsTool[]Tool definitions for Anthropic-compatible tool use.
tool_choiceToolChoiceTool selection strategy. Only `auto` is supported; the model decides whether to call tools.
thinkingobjectControls thinking behavior. The default depends on the model, so no schema-level default is declared. - `MiniMax-M4`, `MiniMax-M3.1-Flash`: always thinks. If `type` is sent it must be `adaptive`; `disabled` returns HTTP 400. Use `output_config.effort` to tune …
output_configobjectOutput configuration. Use `effort` to tune thinking depth for `MiniMax-M4` and `MiniMax-M3.1-Flash`; `MiniMax-M3` does not support tuning thinking depth.
metadataobjectRequest metadata. user_id is recommended for end-user-level aggregation, rate limiting, and billing analysis.

Types

6 $defs

CacheControlobject

Prompt cache marker. Not supported by MiniMax-M3, MiniMax-M3.1-Flash, or MiniMax-M4.

type*enumPrompt cache marker.ephemeral

MediaSourceobject

Media source for image or video blocks.

type*enumMedia source type.base64 | url
media_typestringRequired for base64 input, for example image/png or video/mp4.
datastringBase64-encoded media bytes.
urlstringPublic URL. Videos can also use a Files API reference in the form `mm_file://{file_id}`. To obtain a `file_id`, first upload the video via the [Upload File](/api-reference/file-management-upload) API.
detailenumUnderstanding detail level. Defaults to default.low | default | high · default: "default"
fpsnumberVideo frame sampling rate. Defaults to 2. Range [0.2, 5]. - Higher values: more sensitive to scene changes, but higher token cost and slower response. - Lower values: lower token cost and faster response, but less sensitive to scene changes.0.2 ≤ n ≤ 5 · default: 2
max_long_side_pixelintegerLongest-side pixel limit for the image or video frames.n ≥ 1

Messageobject

role*enumRole of the message sender, using alternating user / assistant messages.user | assistant | user_system | group | sample_message_user | sample_message_ai
content*string | RequestContentBlock[]Message content. Supports text, image, video, tool use, tool result, and thinking content blocks.

RequestContentBlockobject

Content block accepted in request messages. Supports text, image, video, and tool blocks. thinking is only used when echoing a prior assistant turn back to the model.

type*enumContent block type: - text: Text content - image: Image input - video: Video input - tool_use: Echoed assistant tool call from a previous turn - tool_result: Tool execution result - thinking: Echoed assistant thinking from a previous turn - mid_conv_system: Sy…text | image | video | tool_use | tool_result | thinking · +1 more
textstringText content when type=text.
sourceMediaSourceImage or video source when type=image or type=video.
idstringTool call ID when echoing type=tool_use.
namestringTool name when echoing type=tool_use.
inputobjectTool input when echoing type=tool_use.
tool_use_idstringID of the matching tool_use block when type=tool_result.
contentstring | RequestContentBlock[]Tool execution result, either a string or an array of text/image content blocks.
thinkingstringEchoed assistant thinking content when type=thinking.
signaturestringSignature for echoed thinking content. Return unchanged in later turns.
cache_controlCacheControlPrompt cache marker. Not supported by MiniMax-M3, MiniMax-M3.1-Flash, or MiniMax-M4.

Toolobject

Tool definitions for Anthropic-compatible tool use.

name*stringTool name.
descriptionstringTool description.
input_schema*objectTool input parameters JSON Schema.
cache_controlCacheControlPrompt cache marker. Not supported by MiniMax-M3, MiniMax-M3.1-Flash, or MiniMax-M4.

ToolChoiceobject

Tool selection strategy. Only `auto` is supported; the model decides whether to call tools.

type*enumTool choice type.auto

Validate a payload

before you spend tokens
shell
$ curl -X POST https://modelschemas.com/v1/validate \
    -d '{"provider":"minimax","endpointId":"anthropic/v1/messages","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}