modelscope.cn

minimax-image-understand

通过 MiniMax MCP 进行图像理解,适用于 OpenClaw 平台。如果你是 Claude Code 用户,请忽略此技能。

Installation

$ npx skills add https://modelscope.cn

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from modelscope.cn · top by installs.

npx skills add https://modelscope.cn

Browse all from modelscope.cn

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Skill metadata

Parsed from SKILL.md frontmatter.

Version0.1.0
LicenseMIT
Declared agents claude-code

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,252 B

History

  1. First recorded snapshot · 0 installs

SKILL.md

MiniMax MCP 图像理解

重要提示:本技能适用于 OpenClaw 平台。如果你使用的是 Claude Code,请忽略此技能。

通过 MiniMax MCP 进行图像理解。

触发条件

用户发送图片并要求分析、描述、识别时使用。

依赖

系统依赖

依赖 安装方式
Python 3.10+ macOS:brew install python3<br>Linux: sudo apt-get install python3

Python 包

包名 用途 安装命令
mcp MCP 客户端库 pip install mcp

前置要求

  1. 安装依赖:pip install mcp
  2. 配置环境变量:复制 .env.example.env 并填入 API Key

使用方法

cd ~/.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

Hermes Agent 环境说明

本 skill 在 OpenClaw 环境下可用,在 Hermes Agent 中不可用,原因:

  • MINIMAXAPIKEY 未注入到 Hermes Agent 的 shell 环境变量
  • 系统 Python 为 3.9.6,mcp 包需 Python 3.10+(可用 uv run --python 3.12 --with mcp 绕过)
  • 图像分析在 Hermes 中会失败,需改用文字描述或 OpenClaw 协助读图

配置文件

.env 文件已放在 scripts/ 目录下,格式:

MINIMAX_API_KEY=your-api-key