← 返回 Skills 市场
102
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install minimax-img
功能描述
Use MiniMax image-01 model to generate images from text prompts. Supports high-quality PNG output, downloaded from Hailuo CDN. Install when needed.
安全使用建议
This package largely does what it says (generate images via MiniMax) but there are some red flags to consider before installing: 1) The registry metadata does not list MINIMAX_API_KEY even though the script requires it — confirm you trust the source before handing over an API key. 2) The included script also supports TTS (text-to-speech) which is not advertised in the README/SKILL.md; if you don't want TTS functionality present, avoid installing. 3) The script uses tempfile.mktemp (insecure) to create temporary files; run it in a sandbox or review/patch the code to use tempfile.mkstemp or NamedTemporaryFile to avoid race conditions. 4) The script performs outbound network calls and downloads images from CDN URLs returned by the API — ensure your environment allows such egress and that the key you provide has limited permissions. If you plan to use this skill, verify the MINIMAX_API_KEY's scope, confirm the publisher is trustworthy, and consider running the script in an isolated environment first.
功能分析
Type: OpenClaw Skill
Name: minimax-img
Version: 1.0.0
The skill is a legitimate integration for the MiniMax AI platform, providing image generation and text-to-speech capabilities via the `scripts/minimax_media.py` script. It correctly handles API authentication through environment variables and uses standard libraries like `requests` for API communication. While it uses the deprecated `tempfile.mktemp()` function (a minor security vulnerability), there is no evidence of malicious intent, data exfiltration, or prompt injection.
能力评估
Purpose & Capability
The skill description and SKILL.md advertise image generation via MiniMax image-01, which the script implements. However, the shipped script (scripts/minimax_media.py) also implements text-to-speech (TTS) functionality (speech-2.8-hd) that is not advertised in the README or description — scope creep. Also the registry metadata lists no required environment variables while SKILL.md and the script require MINIMAX_API_KEY (and optionally MINIMAX_BASE_URL). These mismatches suggest the package metadata is incomplete or not aligned with the code.
Instruction Scope
Runtime instructions are simple (run python scripts/minimax_media.py image "prompt"). The script performs HTTP requests to the MiniMax API and downloads images from returned URLs (CDN). It writes files to /tmp-like locations using tempfile.mktemp, which is insecure (race condition) and may lead to predictable temporary filenames. Aside from network I/O and writing temp files, the instructions do not ask the agent to read unrelated files or other environment variables. Still, the undocumented TTS command expands the agent's behavior surface beyond what the SKILL.md focuses on.
Install Mechanism
There is no install spec; this is instruction-only with an included script. That minimizes install-time risk (no arbitrary downloads or archive extraction). The script depends on the 'requests' Python package but does not attempt to install it automatically; that is a normal runtime dependency. No external install URLs or archive extraction are present.
Credentials
The script requires a single API credential (MINIMAX_API_KEY) to call the MiniMax API, which is proportional to its purpose. However, the registry metadata claims 'Required env vars: none' while SKILL.md and the code explicitly require MINIMAX_API_KEY and support MINIMAX_BASE_URL — this mismatch is concerning because the declared privileges do not match actual runtime needs. Requesting the API key is expected, but the omission from registry metadata reduces transparency.
Persistence & Privilege
The skill does not request always: true and is user-invocable only. It does not modify other skills or system-wide configuration. It runs on demand and does not request persistent system presence.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install minimax-img - 安装完成后,直接呼叫该 Skill 的名称或使用
/minimax-img触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release
元数据
常见问题
minimax-img 是什么?
Use MiniMax image-01 model to generate images from text prompts. Supports high-quality PNG output, downloaded from Hailuo CDN. Install when needed. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 102 次。
如何安装 minimax-img?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install minimax-img」即可一键安装,无需额外配置。
minimax-img 是免费的吗?
是的,minimax-img 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
minimax-img 支持哪些平台?
minimax-img 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 minimax-img?
由 jlin53882(@jlin53882)开发并维护,当前版本 v1.0.0。
推荐 Skills