Authorization: Bearer ********************{
"model": "qwen3-vl-235b-a22b-instruct",
"messages": [
{
"role": "user",
"content": [
{
"type": "image_url",
"image_url": {
"url": "https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20241108/ctdzex/biaozhun.jpg"
}
},
{
"type": "text",
"text": "请仅输出图像中的文本内容。"
}
]
}
],
"max_tokens": 4096,
"temperature": 0.7
}curl --location --request POST 'https://api.mixrouter.com/v1/chat/completions' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "qwen3-vl-235b-a22b-instruct",
"messages": [
{
"role": "user",
"content": [
{
"type": "image_url",
"image_url": {
"url": "https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20241108/ctdzex/biaozhun.jpg"
}
},
{
"type": "text",
"text": "请仅输出图像中的文本内容。"
}
]
}
],
"max_tokens": 4096,
"temperature": 0.7
}'{
"choices": [
{
"message": {
"content": "读者对象\n\n如果你是Linux环境下的系统管理员,那么学会编写shell脚本将让你受益匪浅。本书并未细述安装Linux系统的每个步骤,但只要系统已安装好Linux并能运行起来,你就可以开始考虑如何让一些日常的系统管理任务实现自动化。这时shell脚本编程就能发挥作用了,这也正是本书的作用所在。本书将演示如何使用shell脚本来自动处理系统管理任务,包括从监测系统统计数据和数据文件到为你的老板生成报表。\n\n如果你是家用Linux爱好者,同样能从本书中获益。现今,用户很容易在诸多部件堆积而成的图形环境中迷失。大多数桌面Linux发行版都尽量向一般用户隐藏系统的内部细节。但有时你确实需要知道内部发生了什么。本书将告诉你如何启动Linux命令行以及接下来要做什么。通常,如果是执行一些简单任务(比如文件管理),在命令行下操作要比在华丽的图形界面下方便得多。在命令行下有大量的命令可供使用,本书将会展示如何使用它们。",
"reasoning_content": "",
"role": "assistant"
},
"finish_reason": "stop",
"index": 0,
"logprobs": null
}
],
"object": "chat.completion",
"usage": {
"prompt_tokens": 1005,
"completion_tokens": 214,
"total_tokens": 1219,
"prompt_tokens_details": {
"image_tokens": 989,
"text_tokens": 16
},
"completion_tokens_details": {
"text_tokens": 214
}
},
"created": 1767064779,
"system_fingerprint": null,
"model": "qwen3-vl-235b-a22b-instruct",
"id": "chatcmpl-5f8e4b75-9b56-906e-9ee4-5901e5ed0efa"
}