baokui

glm-v-model

AI Agentv1.0.1
By baokuiUpdated 2026-05-112 versions · latest released 2026-03-10@clawhub_baokui/glm-v-model
Task AutomationTool Use#图像

According to AlphaMoat, as of 2026-09, glm-v-model has 2,540 downloads and 3 stars — ranked #4,066 of 5,078 AI skills overall, and #823 of 969 in AI Agent.

Installs
440
Downloads
2.5K
Stars
3
Overall Rank
#4,066
Top 81% overall · Top 85% in AI Agent
PlatformInstallsDownloadsStarsComments
ClawHub ↗371.3K1-
SkillHub ↗4402.5K3—

Platforms count differently and update at different times.

What this skill does

It describes images, extracts text, interprets charts and compares images submitted as data or URLs. A Zhipu API key and client are required. Confirm actual video and model support and the scope of material before uploading.

Profile published 2026-10-27

What you can do with it

  • Prepare multimodal analysis requests

When to use it

  • When analyzing images or video through Zhipu APIs

Example prompts

Generated from the skill’s documentation as examples; not results of actual runs.

Compare these authorized images and extract chart text, clearly marking uncertainty.

Monthly Trend

Downloads2.5K
7321.7K2.7K2026-03 · Downloads 8662026-05 · Downloads 1.5K2026-06 · Downloads 1.6K2026-07 · Downloads 1.9K2026-08 · Downloads 2.1K2026-09 · Downloads 2.5K26-0326-09
Stars3
1232026-03 · Stars 12026-05 · Stars 22026-06 · Stars 22026-07 · Stars 32026-08 · Stars 32026-09 · Stars 326-0326-09

The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change.

MonthDownloadsMoMStars
2026-092.5K—3
2026-082.1K+11.0%3
2026-071.9K+13.2%3
2026-061.6K+7.5%2
2026-051.5K—2
2026-03866—1

SKILL.md (original)

The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 2026-10-23.

3.5 KB · ClawHub v1.0.1
---
name: glm-v-model
description: |
  智谱 GLM-4V/4.6V 视觉模型调用技能。用于图像/视频理解、多模态对话、图表分析等任务。
  当用户提到:图片理解、图像识别、视觉模型、GLM-4V、GLM-4.6V、多模态分析、看图说话、图表分析、视频理解时使用此技能。
---

# GLM 视觉模型调用

本技能提供调用智谱 AI 的 GLM-4V 和 GLM-4.6V 视觉模型的能力,支持图像理解、视频分析、图表解读等功能。
Show all (125 lines)

## 支持的模型

| 模型 | 说明 | 特点 |
|------|------|------|
| glm-4v | GLM-4 视觉模型 | 基础视觉理解 |
| glm-4.6v | GLM-4.6V 视觉模型 | 更强的视觉理解能力,支持更长上下文 |

## 快速使用

### 基本图像理解

```python
from zai import ZhipuAiClient
import base64

client = ZhipuAiClient(api_key="YOUR_API_KEY")

# 读取本地图片并转为 base64
with open("image.jpg", "rb") as f:
    img_base = base64.b64encode(f.read()).decode("utf-8")

response = client.chat.completions.create(
    model="glm-4.6v",
    messages=[{
        "role": "user",
        "content": [
            {"type": "image_url", "image_url": {"url": f"data:image/jpeg;base64,{img_base}"}},
            {"type": "text", "content": "描述这张图片"}
        ]
    }],
    thinking={"type": "enabled"}
)
print(response.choices[0].message.content)
```

### 使用图片URL

```python
response = client.chat.completions.create(
    model="glm-4.6v",
    messages=[{
        "role": "user",
        "content": [
            {"type": "image_url", "image_url": {"url": "https://example.com/image.jpg"}},
            {"type": "text", "content": "这张图片里有什么?"}
        ]
    }]
)
```

### 多图理解

```python
response = client.chat.completions.create(
    model="glm-4.6v",
    messages=[{
        "role": "user",
        "content": [
            {"type": "image_url", "image_url": {"url": "图片1 base64 或 URL"}},
            {"type": "image_url", "image_url": {"url": "图片2 base64 或 URL"}},
            {"type": "text", "content": "比较这两张图片的异同"}
        ]
    }]
)
```

### 视频理解(GLM-4.6V)

```python
# 支持理解视频内容
response = client.chat.completions.create(
    model="glm-4.6v",
    messages=[{
        "role": "user",
        "content": [
            {"type": "video_url", "video_url": {"url": "视频URL"}},
            {"type": "text", "content": "描述这个视频的内容"}
        ]
    }]
)
```

## 使用脚本

项目中已包含脚本 `script/infer_glmv.py`,可直接调用:

```python
import sys
sys.path.append('/Users/guobaokui/.openclaw/workspace_multmodal/skills/glm-v-model/script')
from infer_glmv import glm_v

# 使用方式
# glm_v(['image.jpg'], '描述图片', 'glm-4.6v')
```

## 常用场景

| 场景 | Prompt 示例 |
|------|-------------|
| 图片描述 | "详细描述这张图片的内容" |
| 图表分析 | "分析这张图表数据" |
| 文字识别(OCR) | "提取图片中的文字" |
| 物体识别 | "图片中有哪些物体" |
| 场景理解 | "这是什么地方" |
| 多图对比 | "比较这两张图片的异同" |
| 视频理解 | "总结这个视频的内容" |

## 注意事项

1. **API Key**: 需要智谱 AI 的 API Key,可从 https://open.bigmodel.cn 获取
2. **图片格式**: 支持 JPEG、PNG、WebP 等常见格式
3. **图片大小**: 单张图片建议不超过 10MB
4. **thinking**: 可启用深度思考模式 `thinking={"type": "enabled"}`
5. **计费**: 按 token 计费,图片会转换为 token 消耗

Popular in AI Agent

More from baokui

Data month: 2026-09 · Downloads, stars and installs are aggregated monthly from public skill registries (ClawHub, SkillHub). See methodology.