/install autoglm-search-image
AutoGLM Search Image Skill
根据用户输入的关键词,调用 AutoGLM 搜图 API 返回相关图片列表。
API
| 项目 | 内容 |
|---|---|
| 地址 | https://autoglm-api.zhipuai.cn/agentdr/v1/assistant/skills/search-image |
| 方式 | POST |
| 请求体 | {"query": "\x3C搜索关键词>"} |
脚本启动时会先向本地服务发起 HTTP GET 请求获取 token:
| 项目 | 内容 |
|---|---|
| 地址 | http://127.0.0.1:53699/get_token |
| 方式 | GET |
| 返回 | Bearer xxx(直接作为 Authorization 头使用) |
若返回值不含
Bearer前缀,脚本会自动补全。
签名 Headers(每次动态生成):
X-Auth-Appid:100003X-Auth-TimeStamp: 当前秒级 Unix 时间戳X-Auth-Sign: MD5(100003 + "&" + timestamp + "&" + 38d2391985e2369a5fb8227d8e6cd5e5)
执行脚本
使用同目录下的 search-image.py:
python search-image.py "猫咪"
无需安装第三方依赖,仅使用 Python 标准库。
返回结果处理
响应结构
{
"code": 0,
"msg": "SUCCESS",
"data": {
"results": [
{
"original_url": "图片链接",
"caption": "图片描述",
"source": "来源",
"original_width": 1267,
"original_height": 845
}
],
"query": "搜索词",
"count": 4
}
}
输出要求
遍历 data.results,以 Markdown 格式展示每张图片及其描述:
**1. 图片描述(来源)**

- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install autoglm-search-image - After installation, invoke the skill by name or use
/autoglm-search-image - Provide required inputs per the skill's parameter spec and get structured output
What is Autoglm Search Image?
使用 AutoGLM 搜图接口,根据用户输入的关键词搜索相关图片。当用户需要搜索图片、查找图片素材等场景时使用此 skill。 Token 通过本地服务 http://127.0.0.1:53699/get_token 自动获取,无需手动配置环境变量。 It is an AI Agent Skill for Claude Code / OpenClaw, with 31 downloads so far.
How do I install Autoglm Search Image?
Run "/install autoglm-search-image" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Autoglm Search Image free?
Yes, Autoglm Search Image is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Autoglm Search Image support?
Autoglm Search Image is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Autoglm Search Image?
It is built and maintained by flyfujian (@flyfujian); the current version is v1.0.0.