GET
/v1/schemas/nvidia/chat/minimaxai/minimax-m3.1-flash
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above. upstream-spec Source trace9b0d3ae6eeed3f3e832c02ec986ee327d3c94b2db5a5f2f76689e92642b80adc{
"fetchedAt": 1792732849,
"extractorVersion": "1",
"verifiedAt": null
} |
Request body
9 properties · 2 required · 10 $defs| property | type | description | constraints |
|---|---|---|---|
| messages* | NIMLLMChatCompletionMessage[] | A list of messages comprising the conversation so far. | items ≥ 1 |
| model* | string | The model to use. | default: "minimaxai/minimax-m3.1-flash" |
| tools | ChatCompletionTool[] | Optional OpenAI-compatible tool definitions for function calling. | nullable |
| max_tokens | integer | The maximum number of tokens that can be generated. | 1 ≤ n ≤ 65536 · nullable |
| seed | integer | Changing the seed will produce a different response with similar characteristics. Fixing the seed will reproduce the same results if all other parameters are also kept constant. | -9007199254740991 ≤ n ≤ 9007199254740991 · nullable |
| stream | boolean | If set, partial message deltas will be sent, like in ChatGPT. Tokens will be sent as data-only [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format) as they become available, with the stream terminated by a `data: [DONE]` | nullable |
| stream_options | object | Optional OpenAI-compatible stream options, such as `include_usage`. | nullable |
| temperature | number | What sampling temperature to use, between 0 and 2. Higher values make the output more random; lower values make it more focused and deterministic. Recommended for MiniMax-M3.1-Flash: 1.0, with top_p 0.95. | 0 ≤ n ≤ 2 · nullable |
| top_p | number | Nucleus sampling: only the tokens comprising the top_p probability mass are considered. Recommended for MiniMax-M3.1-Flash: 0.95. | 0 < n ≤ 1 · nullable |
Types
10 $defsChatCompletionFunctionobject
| name* | string | Function name. | default: "get_current_weather" |
| description* | string | Function description. | default: "Get the current weather in a gi… |
| parameters* | ChatCompletionFunctionParameters | JSON Schema object describing the function arguments. | default: {"type":"object","properties":{}… |
ChatCompletionFunctionParametersobject
JSON Schema object describing the function arguments.
default: {"type":"object","properties":{}…
ChatCompletionToolobject
| type* | enum | function · default: "function" | |
| function* | ChatCompletionFunction |
ImageURLobject
| url* | string |
NIMLLMChatCompletionMessageobject
| role* | enum | The role of the message's author. | system | assistant | user | tool |
| content* | string | NIMVLMChatCompletionContentPartImage | NIMVLMChatCompletionContentPartVideo | NIMVLMChatCompletionContentPartText[] | The contents of the message. <br>To pass media (only with role=`user`): <br> - Use content parts. Text is passed with `type`=`text`. <br> - Images are passed with `type`=`image_url`; set `image_url.url` to an image URL or a base64 data URI like `data:image/{fo… | nullable |
| name | string | Optional participant or tool name. | nullable |
| tool_call_id | string | Tool call ID that this tool message is responding to. | nullable |
| tool_calls | object[] | Tool calls generated by an assistant message. | nullable |
| reasoning_content | string | Optional preserved reasoning content from a previous assistant turn. | nullable |
NIMVLMChatCompletionContentPartImageobject
| image_url* | ImageURL | ||
| type* | enum | image_url |
NIMVLMChatCompletionContentPartTextobject
| text* | string | ||
| type* | enum | text |
NIMVLMChatCompletionContentPartVideoobject
| video_url* | VideoURL | Video url | |
| start_offset | number | video offset position | 0 ≤ n ≤ 9223372036854776000 · nullable |
| duration | number | video inference duration | 0 ≤ n ≤ 9223372036854776000 · nullable |
| type* | enum | The type of the content part. | video_url |
Roleenum
system | assistant | user | tool
VideoURLobject
| url* | string |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"nvidia","endpointId":"minimaxai/minimax-m3.1-flash","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}