nanobanana-skill
仓库创建 2025年7月18日最近提交 5 小时前SkillHot 收录 20 天前
▸ 精选理由
方便在本地用 Gemini 快速生成或编辑图片,适合设计与原型场景。
▸ 风险提示
需要配置 GEMINI_API_KEY 并会调用外部 API,存在密钥与数据外传风险。
这个 Skill 做什么
通过 nanobanana 调用 Google Gemini API 生成与编辑图像。
用 nanobanana 接入 Google Gemini API 来生成或编辑图片,能从空白提示生成图像,也能做局部修图和风格化处理。适合想用 AI 快速打草图、产出素材或对现有图片做智能编辑时使用。需要配置 GEMINI_API_KEY 并安装相应的 Python 依赖,优点是把 Gemini 能力直接接入本地工具链。
▸ 展开 SKILL.md 英文原文
Generate or edit images using Google Gemini API via nanobanana. Triggers: "nanobanana", "generate image", "create image", "edit image", "AI drawing", "图片生成", "AI绘图", "图片编辑", "生成图片".
1.6k
Stars
242
Forks
12
仓库内 Skill
+33
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/feiskyer/claude-code-settings/main/plugins/nanobanana-skill/skills/nanobanana-skill/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/feiskyer/claude-code-settings/main/plugins/nanobanana-skill/skills/nanobanana-skill/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# Nanobanana Image Generation Skill Generate or edit images using Google Gemini API through the nanobanana tool. ## Requirements 1. **GEMINI_API_KEY**: Must be configured in `~/.nanobanana.env` or `export GEMINI_API_KEY=<your-api-key>` 2. **Python3 with dependent packages installed**: google-genai, Pillow, python-dotenv. They could be installed via `python3 -m pip install -r ./requirements.txt` if not installed yet. 3. **Executable**: `./nanobanana.py` ## Instructions ### For image generation 1. Ask the user for: - What they want to create (the prompt) - Desired aspect ratio/size (optional, defaults to 9:16 portrait) - Output filename (optional, auto-generates UUID if not spec
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有