← 返回 Skills 市场
139
总下载
0
收藏
0
当前安装
5
版本数
在 OpenClaw 中安装
/install nano-banana2
功能描述
使用 nano-banana2 接口生成图片(文生图/图生图)。当用户提到"生成图片""图生图""海报图""封面图",或明确要求比例(如 16:9、9:16)与清晰度(1K/2K/4K)时使用。调用接口 imgEditNB2,参数含 prompt(必填)、urls(可选)、aspectRatio(可选)、imag...
安全使用建议
This skill appears to do exactly what it claims (call a single image-generation API). Before installing: 1) Verify you trust the external provider/domain (https://agent.mathmind.cn / kexiangai.com) because your API key will be sent there. 2) Prefer providing X_API_KEY via a session environment variable rather than writing it to ~/.config/nano-banana2/.env unless you explicitly opt in. 3) Note the long call time (up to 10 minutes) and single-call-per-dialog policy. 4) Be aware the registry metadata omitted the required X_API_KEY — ensure you can supply that credential. If you need the provider's privacy/terms reviewed, check kexiangai.com or contact the provider before use.
功能分析
Type: OpenClaw Skill
Name: nano-banana2
Version: 1.0.4
The skill is a well-structured wrapper for an image generation API (agent.mathmind.cn). It follows security best practices by using Python for safe JSON payload construction in scripts/generate.sh, implementing secure credential storage with restricted file permissions (600) in scripts/set_key.sh, and providing explicit instructions in SKILL.md to mask API keys and prevent redundant network calls.
能力评估
Purpose & Capability
The skill's name/description (image generation) matches the actual behavior (calls imgEditNB2 at agent.mathmind.cn). It reasonably requires an API key and CLI tools (curl, python3). Minor inconsistency: the registry metadata listed no required env vars/primary credential, but SKILL.md and scripts clearly require X_API_KEY; this is likely a metadata oversight but worth noting.
Instruction Scope
Runtime instructions and scripts stay within the stated purpose: collecting prompt/urls/ratio/size, validating/normalizing inputs, and making a single POST to the declared endpoint. The skill documents explicit limits (single call per dialog, no automatic retries, 10-minute timeout) and only reads a local key file when the user explicitly opts in (--use-local-key).
Install Mechanism
No install spec (instruction-only) and included scripts are small, readable shell and python snippets. Nothing is downloaded from arbitrary URLs or written to unexpected system locations beyond the optional ~/.config/nano-banana2/.env file.
Credentials
The skill requests a single API credential (X_API_KEY), which is proportional for calling a third-party image API. It offers optional local persistence (~/.config/nano-banana2/.env) only when the user consents. Again, the only mismatch is that registry metadata did not declare this env/primary credential while SKILL.md does.
Persistence & Privilege
always:false and no elevated privileges. The only persistence is optional local key storage under the user's home directory with proper file permissions (scripts set 600). The skill does not modify other skills or system-wide configs.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install nano-banana2 - 安装完成后,直接呼叫该 Skill 的名称或使用
/nano-banana2触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.4
nano-banana2 1.0.4 Changelog
- No file changes detected in this release.
- Behavior and documentation remain the same as previous version 1.0.1.
- No updates to workflow, error handling, parameters, or compatibility.
- No new features, bug fixes, or security adjustments in this version.
v1.0.3
nano-banana2 v1.0.3
- 增加“兼容性”字段,明确要求 curl 和 python3 并需设置 X_API_KEY 环境变量或显式 --use-local-key 才可本地读取 key
- 新增“运行依赖与环境变量”说明,详细列出依赖的工具与环境变量优先级
- 补充本地密钥读取可能用到的基础命令(如 grep、cut、tr、tail)
- 其余核心流程与参数校验要求保持一致
- 仅文档内容更新,无功能代码变更
v1.0.2
nano-banana2 1.0.2
- No functional changes; this is a metadata-only release.
- No code or documentation files were modified.
- Version updated for tracking or administrative purposes.
v1.0.1
修订版
v1.0.0
nano-banana2 1.0.0 – Stable image generation skill with strict parameter validation and API call controls.
- Initial release: enables text-to-image and image-to-image generation via nano-banana2 API, supporting prompt, reference URLs, custom aspect ratios, and image size (1K/2K/4K).
- Enforces critical security and usability rules: parameter validation before API call, API key masking, strict single-call per request flow, and fallback handling for invalid input.
- Robust error handling: auto-recovery for common input mistakes, clear user guidance for key issues, retries, and quota/limit conditions.
- Prevents repeated or unintended API calls; requires explicit user consent for retries or parameter changes.
- Includes automatic API key management, command-line integration scripts, and structured result output.
元数据
常见问题
nano-banana2 是什么?
使用 nano-banana2 接口生成图片(文生图/图生图)。当用户提到"生成图片""图生图""海报图""封面图",或明确要求比例(如 16:9、9:16)与清晰度(1K/2K/4K)时使用。调用接口 imgEditNB2,参数含 prompt(必填)、urls(可选)、aspectRatio(可选)、imag... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 139 次。
如何安装 nano-banana2?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install nano-banana2」即可一键安装,无需额外配置。
nano-banana2 是免费的吗?
是的,nano-banana2 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
nano-banana2 支持哪些平台?
nano-banana2 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 nano-banana2?
由 cmhan(@runninghcm)开发并维护,当前版本 v1.0.4。
推荐 Skills