阿里云
Qwen3-VL-Rerank
阿里通义千问 3.0 多模态重排模型,支持图文检索结果重排
模型类型多模态重排模型 (Rerank)
输入文本 + 图像
用途多模态搜索/检索结果重排
定价与规格
💰 定价
输入¥1.8 / M tokens
文本输入¥0.7 / M tokens
图像输入¥1.8 / M tokens
⚙️ 规格
模型类型多模态重排模型 (Rerank)
输入文本 + 图像
用途多模态搜索/检索结果重排
输出相关性分数与排序
API 调用示例
Python
import requests
api_key = "your-api-key"
url = "https://api.xairouter.com/api/v1/services/rerank/text-rerank/text-rerank"
payload = {
"model": "qwen3-vl-rerank",
"input": {
"query": "什么是文本排序模型",
"documents": [
{"text": "文本排序模型广泛用于搜索引擎和推荐系统中,它们根据文本相关性对候选文本进行排序"},
{"image": "https://img.alicdn.com/imgextra/i3/O1CN01rdstgY1uiZWt8gqSL_!!6000000006071-0-tps-1970-356.jpg"},
{"video": "https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20250107/lbcemt/new+video.mp4"},
],
},
"parameters": {
"return_documents": True,
"top_n": 2,
"fps": 1.0,
},
}
resp = requests.post(
url,
headers={
"Authorization": f"Bearer {api_key}",
"Content-Type": "application/json",
},
json=payload,
timeout=60,
)
resp.raise_for_status()
print(resp.json())cURL
curl --location 'https://api.xairouter.com/api/v1/services/rerank/text-rerank/text-rerank' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data '{
"model": "qwen3-vl-rerank",
"input": {
"query": "什么是文本排序模型",
"documents": [
{"text": "文本排序模型广泛用于搜索引擎和推荐系统中,它们根据文本相关性对候选文本进行排序"},
{"image": "https://img.alicdn.com/imgextra/i3/O1CN01rdstgY1uiZWt8gqSL_!!6000000006071-0-tps-1970-356.jpg"},
{"video": "https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20250107/lbcemt/new+video.mp4"}
]
},
"parameters": {
"return_documents": true,
"top_n": 2,
"fps": 1.0
}
}'