跳至内容

GLM-4V-Flash

模型 ID z-ai/glm-4v-flash
这是智谱 AI 免费视觉模型,无需付费即可使用。

模型信息

属性
上下文长度16,000 tokens
最大输出1,000 tokens
输入价格$0 / 1M tokens
输出价格$0 / 1M tokens
供应商Z.Ai (智谱)
状态免费
类型视觉理解

描述

GLM-4V-Flash 提供图像理解和多语言支持能力。

使用示例

curl https://open.bigmodel.cn/api/paas/v4/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "glm-4v-flash",
    "messages": [
      {"role": "user", "content": [
        {"type": "text", "text": "描述这张图片"},
        {"type": "image_url", "image_url": {"url": "https://example.com/image.jpg"}}
      ]}
    ]
  }'

相关链接