Task Router Skill
Task Router
使用多模态大模型理解图片内容,生成业务含义描述。支持多种模型:(1) MiniMax VLM (2) OpenAI GPT-4V (3) Claude Vision。用于理解截图、图表、文档照片等,生成精准的文字描述。
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
SkillHub CLI
skillhub install aidescend/minimax-image-understanding打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。
将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。
调用多模态大模型理解图片,生成精准的业务描述。
| 模型 | 环境变量 | 说明 |
|---|---|---|
| MiniMax VLM | MINIMAX_API_KEY, MINIMAX_API_HOST |
默认,推荐用于中文理解 |
| OpenAI | OPENAI_API_KEY |
GPT-4V |
| Anthropic | ANTHROPIC_API_KEY |
Claude Vision |
设置对应模型的环境变量(至少一个):
# MiniMax(默认)
export MINIMAX_API_KEY="your-minimax-key"
export MINIMAX_API_HOST="https://api.minimaxi.com"
# 或 OpenAI
export OPENAI_API_KEY="your-openai-key"
# 或 Anthropic
export ANTHROPIC_API_KEY="your-anthropic-key"
python3 <skill>/scripts/understand_image.py <图片路径> [model] [prompt]
参数:
minimax(默认)、openai、anthropic
# 使用默认(MiniMax)
python3 ~/.openclaw/workspace/skills/minimax-image-understanding/scripts/understand_image.py /path/to/image.png
# 指定模型
python3 ~/.openclaw/workspace/skills/minimax-image-understanding/scripts/understand_image.py /path/to/image.png openai
# 自定义提示词
python3 ~/.openclaw/workspace/skills/minimax-image-understanding/scripts/understand_image.py /path/to/image.png minimax "描述图表中的数据趋势"
直接输出图片的业务含义描述,不再罗列元素位置,聚焦数据内容和业务逻辑。
这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。
# 图片理解 调用多模态大模型理解图片,生成精准的业务描述。 ## 支持的模型 | 模型 | 环境变量 | 说明 | |------|----------|------| | MiniMax VLM | `MINIMAX_API_KEY`, `MINIMAX_API_HOST` | 默认,推荐用于中文理解 | | OpenAI | `OPENAI_API_KEY` | GPT-4V | | Anthropic | `ANTHROPIC_API_KEY` | Claude Vision | ## 使用方法 ### 前提条件 设置对应模型的环境变量(至少一个): ```bash # MiniMax(默认) export MINIMAX_API_KEY="your-minimax-key" export MINIMAX_API_HOST="https://api.minimaxi.com" # 或 OpenAI export OPENAI_API_KEY="your-openai-key" # 或 Anthropic export ANTHROPIC_API_KEY="your-anthropic-key" ``` ### 调用脚本 ```bash python3 <skill>/scripts/understand_image.py <图片路径> [model] [prompt] ``` **参数:** - 图片路径:本地图片文件(PNG、JPG、JPEG、GIF、WebP) - model(可选):`minimax`(默认)、`openai`、`anthropic` - prompt(可选):自定义提示词 ### 示例 ```bash # 使用默认(MiniMax) python3 ~/.openclaw/workspace/skills/minimax-image-understanding/scripts/understand_image.py /path/to/image.png # 指定模型 python3 ~/.openclaw/workspace/skills/minimax-image-understanding/scripts/understand_image.py /path/to/image.png openai # 自定义提示词 python3 ~/.openclaw/workspace/skills/minimax-image-understanding/scripts/understand_image.py /path/to/image.png minimax "描述图表中的数据趋势" ``` ## 输出 直接输出图片的业务含义描述,不再罗列元素位置,聚焦数据内容和业务逻辑。
Task Router
Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay,...
Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.
OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.