curl --location --request POST 'https://ai.vnet.com/v1/chat/completions' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "Qwen3-VL-8B-Instruct",
"stream": false,
"messages": [
{
"role": "user",
"content": [
{
"type": "image_url",
"image_url": {
"url": "https://view-cache.book118.com/view31/M02/04/21/wKh2G2Vwes-ALXjAAACbCiT5Grc432.png"
}
},
{
"type": "text",
"text": "你是一名专业的图片分析师,擅长解析图片中的内容与文字。 要求: 1.有非文字,则简述图片的内容 2. 图片中没有图像只有文字,则返回`无效图片`"
}
]
}
]
}'{"id":"chatcmpl-9fd4d0defc29917d","object":"chat.completion","created":1776237914,"model":"Qwen3-VL-8B-Instruct","choices":[{"index":0,"message":{"role":"assistant","content":"无效图片","refusal":null,"annotations":null,"audio":null,"function_call":null,"tool_calls":[],"reasoning":null,"reasoning_content":null},"logprobs":null,"finish_reason":"stop","stop_reason":null,"token_ids":null}],"service_tier":null,"system_fingerprint":null,"usage":{"prompt_tokens":931,"total_tokens":934,"completion_tokens":3,"prompt_tokens_details":null},"prompt_logprobs":null,"prompt_token_ids":null,"kv_transfer_params":null}