qwen3 中文文档 下载 App

Qwen3-VL 多模态模型家族 — 从视觉理解到与世界互动

Qwen3-VL 是什么

Qwen3-VL 是 Qwen 家族中的多模态视觉-语言模型(Vision-Language Model)系列。与纯文本的 Qwen3 不同,Qwen3-VL 可以同时接收文本、图像、视频作为输入,输出文本回复。

2025 年 9 月 Qwen 团队发布了 Qwen3-VL 系列,定位是「明察、深思、广行」——视觉理解更精准、推理更深入、能与 AI Agent 结合做视觉动作。

可用规格

目前 Qwen3-VL 只在阿里云百炼云端 API 提供,暂无开源权重:

模型输入输出上下文特点
qwen3-vl-plus文本 + 图像 + 视频文本256K旗舰视觉能力
qwen3-vl-flash文本 + 图像(视频有限)文本128K低延迟,成本更低

核心能力

图像理解

Qwen3-VL-Plus 的图像理解能力包括:

视频理解

这是 Qwen3-VL 的强项:

空间关系

理解物体在图片中的空间位置、相对关系:

Agent 结合

Qwen3-VL 的视觉能力可以和 Agent 结合:

云端 API 调用示例

DashScope SDK

import os
import dashscope
from dashscope import MultiModalConversation

dashscope.api_key = os.getenv("DASHSCOPE_API_KEY")

# 图像理解
messages = [
    {
        "role": "user",
        "content": [
            {"image": "https://example.com/chart.png"},
            {"text": "分析这张图表的数据趋势。"}
        ]
    }
]

response = MultiModalConversation.call(
    model="qwen3-vl-plus",
    messages=messages,
    result_format="message"
)

if response.status_code == 200:
    print(response.output.choices[0].message.content[0]["text"])

OpenAI 兼容格式

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_DASHSCOPE_API_KEY",
    base_url="https://dashscope.aliyuncs.com/compatible-mode/v1"
)

response = client.chat.completions.create(
    model="qwen3-vl-plus",
    messages=[
        {
            "role": "user",
            "content": [
                {"type": "text", "text": "图片里有什么动物?"},
                {"type": "image_url", "image_url": {
                    "url": "https://example.com/animal.jpg"
                }}
            ]
        }
    ]
)

print(response.choices[0].message.content)

本地图片(base64)

import base64

with open("local_image.jpg", "rb") as f:
    img_b64 = base64.b64encode(f.read()).decode("utf-8")

response = client.chat.completions.create(
    model="qwen3-vl-plus",
    messages=[
        {
            "role": "user",
            "content": [
                {"type": "text", "text": "描述这张图片。"},
                {"type": "image_url", "image_url": {
                    "url": f"data:image/jpeg;base64,{img_b64}"
                }}
            ]
        }
    ]
)

视频理解

messages = [
    {
        "role": "user",
        "content": [
            {"video": "https://example.com/video.mp4"},
            {"text": "描述这个视频的内容和主要动作。"}
        ]
    }
]

response = MultiModalConversation.call(
    model="qwen3-vl-plus",
    messages=messages
)

思考模式在 VL 中的表现

qwen3-vl-plus 同样支持思考模式:

response = MultiModalConversation.call(
    model="qwen3-vl-plus",
    messages=messages,
    enable_thinking=True
)

对于需要复杂视觉推理的任务(如找图片中隐藏的物体、判断空间关系),开启思考模式能显著提升准确率。

与 GPT-4o / Gemini 的对比

方面Qwen3-VL-PlusGPT-4oGemini 2.5 Pro
图像理解强强强
视频理解支持支持支持
空间推理强中中
中文 OCR优秀良好良好
价格较低较高较高
开源暂无闭源闭源
国内访问高速受限受限

Qwen3-VL-Plus 在中文理解和国内访问速度上有优势。

限制

相关阅读