← 返回 Skills 市场
ZenMux Image Gen (Nano Banana 2)
作者
thinkthinking
· GitHub ↗
· v1.0.0
369
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install zenmux-image-gen
功能描述
Generate images from text prompts using ZenMux API (Vertex AI protocol with Gemini models). Use when: (1) User wants to generate/create images from text desc...
安全使用建议
This skill appears to implement a legitimate ZenMux image-generation client, but exercise caution: (1) the package metadata does not declare the ZENMUX_API_KEY even though both SKILL.md and the script require it — verify the publisher and why metadata is incomplete; (2) the provided script appears truncated in the bundle listing (file output was cut off), so request or review the full script before running — the missing tail could contain unexpected behavior; (3) follow the SKILL.md advice and do not pass API keys on the command line; set ZENMUX_API_KEY in a secure environment variable instead; (4) confirm network endpoints (the script calls only zenmux.ai) and, if you must run it, do so in an isolated environment/container and inspect the full source; (5) if you need higher assurance, ask the publisher for complete source and a signed release or prefer an official client from zenmux.ai.
功能分析
Type: OpenClaw Skill
Name: zenmux-image-gen
Version: 1.0.0
The skill bundle is primarily benign, providing a legitimate tool for image generation via the ZenMux API. The `SKILL.md` contains clear, non-malicious instructions for the AI agent. The `scripts/generate_image.py` script uses safe practices like `argparse` for argument handling, `urllib.request` for API calls, and `os`/`pathlib` for file operations, mitigating common shell injection risks. However, a vulnerability exists in `scripts/generate_image.py` where the user-controlled `--model` argument is directly inserted into the URL path (e.g., `https://zenmux.ai/api/vertex-ai/v1/publishers/{provider}/models/{model_name}:generateContent`). This could allow for URL path traversal (e.g., `google/gemini-model/../../evil-path`) within the `zenmux.ai` domain, potentially leading to malformed requests or attempts to access unintended API endpoints on the ZenMux server. While this is a vulnerability, it does not demonstrate clear intent for data exfiltration, remote code execution, or persistence on the agent's system, thus classifying it as 'suspicious' rather than 'malicious'.
能力评估
Purpose & Capability
The name, description, SKILL.md, and the script all target ZenMux image generation (Vertex AI/Gemini models). That purpose aligns with the code's network calls to https://zenmux.ai/... and the CLI options. However, the registry metadata claims 'Required env vars: none' whereas SKILL.md and the script explicitly require ZENMUX_API_KEY — this mismatch suggests sloppy metadata or incomplete publishing.
Instruction Scope
Runtime instructions and the script stay within the stated purpose: building a request from a prompt (and optional input image), POSTing to the ZenMux Vertex-like endpoint, and saving returned image bytes. The SKILL.md warns not to pass API keys on the command line (good). The SKILL.md and script do not request unrelated system files, other credentials, or external endpoints beyond zenmux.ai.
Install Mechanism
This is an instruction-only skill with no install spec; the included script is executed directly. No download/install steps or third-party package pulls are present in the manifest, which reduces install-time risk.
Credentials
The code and SKILL.md require a ZENMUX_API_KEY (or --api-key) to call the API, which is proportionate to the task. But the registry metadata declares no required env vars — an inconsistent declaration. Additionally, the script provides a --api-key CLI flag even though the SKILL.md explicitly warns against using it (exposure risk via shell history). No other credentials are requested, which is appropriate.
Persistence & Privilege
The skill does not request persistent/always-on presence and does not modify other skills or system config. It runs as a normal user-invokable script and does not escalate privileges in the visible code.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install zenmux-image-gen - 安装完成后,直接呼叫该 Skill 的名称或使用
/zenmux-image-gen触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of zenmux-image-gen skill.
- Generate images from text prompts using the ZenMux API and Google Gemini models.
- Supports aspect ratio and resolution controls, as well as image-to-image editing.
- Provides a command-line script with options for model selection, prompt details, and output customization.
- Requires ZENMUX_API_KEY for secure API access.
- Includes clear setup instructions, prompt tips, error troubleshooting, and batch generation examples.
元数据
常见问题
ZenMux Image Gen (Nano Banana 2) 是什么?
Generate images from text prompts using ZenMux API (Vertex AI protocol with Gemini models). Use when: (1) User wants to generate/create images from text desc... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 369 次。
如何安装 ZenMux Image Gen (Nano Banana 2)?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install zenmux-image-gen」即可一键安装,无需额外配置。
ZenMux Image Gen (Nano Banana 2) 是免费的吗?
是的,ZenMux Image Gen (Nano Banana 2) 完全免费(开源免费),可自由下载、安装和使用。
ZenMux Image Gen (Nano Banana 2) 支持哪些平台?
ZenMux Image Gen (Nano Banana 2) 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 ZenMux Image Gen (Nano Banana 2)?
由 thinkthinking(@thinkthinking)开发并维护,当前版本 v1.0.0。
推荐 Skills