GET
/v1/schemas/xiaomi/chat/v1/responses
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above. generated Source trace5aa307fb7ab2f67c2cce954fff6bb36f5a59ce999a104649ace1e44aaf2ded1a{
"fetchedAt": 1792559508,
"extractorVersion": "1",
"verifiedAt": null
} |
Request body
11 properties · 2 required · 0 $defs| property | type | description | constraints |
|---|---|---|---|
| input* | string | object | object | object[] | Text, image, audio, video inputs to the model, used to generate a response. | |
| model* | enum | Model ID used to generate the response. Available options: mimo-v2.6-flash , mimo-v2.6-pro , mimo-v2.6-pro-ultraspeed | mimo-v2.6-flash | mimo-v2.6-pro | mimo-v2.6-pro-ultraspeed |
| instructions | string | A system (or developer) message inserted into the model's context. | |
| max_output_tokens | integer | An upper bound for the number of tokens that can be generated for a response, including visible output tokens and reasoning tokens. mimo-v2.6-flash : default 131072 mimo-v2.6-pro : default 131072 mimo-v2.6-pro-ultraspeed : default 131072 Required range: [1, 13… | |
| stream | boolean | If set to true, the model response data will be streamed to the client as it is generated using server-sent events. | |
| reasoning | object | Configuration options for reasoning models. Note: During the multi-turn tool calls process in thinking mode, the model returns the reasoning content alongside the tool calls field. To continue the conversation, it is recommended to keep all previous reasoning … | |
| temperature | number | What sampling temperature to use, between 0 and 1.5. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. We generally recommend altering this or top_p but not both. In thinking mode,… | |
| text | object | Configuration options for a text response from the model. Can be plain text or structured JSON data. | |
| tool_choice | enum | Controls how the model calls tools. Note: When a value other than auto is passed to tool_choice , the backend will remove this field by default, and the model response behavior will still be equivalent to the auto mode (this logic is subject to future adjustme… | auto |
| tools | object | object | object[] | An array of tools the model may call while generating a response. You can specify which tool to use by setting the tool_choice parameter. Note: During the multi-turn tool calls process in thinking mode, the model returns the reasoning content alongside the too… | |
| top_p | number | An alternative to sampling with temperature, called nucleus sampling. We generally recommend altering this or temperature but not both. In thinking mode, the mimo-v2.6-flash , mimo-v2.6-pro , mimo-v2.6-pro-ultraspeed models do not support customizing the top_p… |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"xiaomi","endpointId":"v1/responses","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}