Loading...
Loading...
通过 MiniMax MCP 进行图像理解,适用于 OpenClaw 平台。如果你是 Claude Code 用户,请忽略此技能。
npx skill4agent add cat-xierluo/legal-skills minimax-image-understand重要提示:本技能适用于 OpenClaw 平台。如果你使用的是 Claude Code,请忽略此技能。
| 依赖 | 安装方式 |
|---|---|
| Python 3.10+ | macOS: |
| 包名 | 用途 | 安装命令 |
|---|---|---|
| MCP 客户端库 | |
pip install mcp.env.example.envcd ~/.openclaw/skills/minimax-image-understand/scripts
source .env
python3 image_understand.py <图片路径或URL> [提示词]import sys
import os
sys.path.insert(0, "~/.openclaw/skills/minimax-image-understand/scripts")
os.environ["MINIMAX_API_KEY"] = "your-key" # 或从 .env 加载
from image_understand import understand_image
result = await understand_image("image.jpg", "描述这张图片")~/.openclaw/media/inbound/{uuid}.jpg.envscripts/MINIMAX_API_KEY=your-api-key