Request
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
Body Params application/jsonRequired
{
"model": "mimo-v2-pro",
"messages": [
{
"role": "system",
"content": "你是一个乐于解答各种问题的助手,你的任务是为用户提供专业、准确、有见地的建议。"
},
{
"role": "user",
"content": "你好,请介绍一下自己"
}
],
"max_tokens": 4096,
"temperature": 0.7
}
Request Code Samples
curl --location --request POST 'https://api.toiotech.com/v1/chat/completions' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "mimo-v2-pro",
"messages": [
{
"role": "system",
"content": "你是一个乐于解答各种问题的助手,你的任务是为用户提供专业、准确、有见地的建议。"
},
{
"role": "user",
"content": "你好,请介绍一下自己"
}
],
"max_tokens": 4096,
"temperature": 0.7
}'
Responses
application/json {
"id": "ba9c5216db5c40db815e766ba3063492",
"choices": [
{
"finish_reason": "stop",
"index": 0,
"message": {
"content": "你好!很高兴认识你 😊\n\n我是一个AI助手,可以帮你解答各种问题、提供信息和建议。以下是我的一些特点:\n\n**我能做的事情:**\n- 回答各类问题(科学、历史、生活、技术等)\n- 帮助写作和编辑文本\n- 解释复杂概念\n- 提供建议和思路\n- 协助学习和研究\n- 进行对话交流\n\n**我的风格:**\n- 友好、耐心\n- 尽量准确和实用\n- 会根据你的需求调整回答方式\n\n**需要注意的是:**\n- 我的知识有截止日期,可能不了解最新的事件\n- 我无法访问互联网或外部链接\n- 对于重要决策,建议多方核实信息\n\n有什么我可以帮你的吗?无论是学习、工作还是日常生活中的问题,我都很乐意协助你!",
"role": "assistant",
"tool_calls": null,
"reasoning_content": "用户让我介绍一下自己。我应该以友好、清晰的方式介绍我是什么,我的能力,以及我能如何帮助他们。"
}
}
],
"created": 1773892349,
"model": "mimo-v2-pro",
"object": "chat.completion",
"usage": {
"completion_tokens": 207,
"prompt_tokens": 40,
"total_tokens": 247,
"completion_tokens_details": {
"reasoning_tokens": 25
},
"prompt_tokens_details": null
}
}
Modified at 2026-03-19 04:14:31