重要前提
安装AI Skills的关键前提是:必须科学上网,且开启TUN模式,这一点至关重要,直接决定安装能否顺利完成,在此郑重提醒三遍:科学上网,科学上网,科学上网。查看完整安装教程 →
generate-image by laurigates/claude-plugins
npx skills add https://github.com/laurigates/claude-plugins --skill generate-image使用 Google 的 Nano Banana Pro(Gemini 3 Pro Image)模型生成图像。
1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9) - 默认: 广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
16:91K, 2K, 4K) - 默认: 2K验证 API 密钥是否已设置:
echo "API Key: ${GOOGLE_API_KEY:+SET}${GEMINI_API_KEY:+SET}"
如果未设置,请从以下网址获取: https://aistudio.google.com/apikey
/generate-image "日落时美丽的山景"
/generate-image "白色背景的产品照片" --aspect 1:1 --resolution 4K
/generate-image "肖像照片" --aspect 3:4
/generate-image "电影场景" --aspect 21:9
/generate-image "相似风格" --reference existing_image.png
解析参数:
构建命令:
uv run python .claude/scripts/nano_banana_pro.py \
"{{arg:1}}" \
--aspect {{aspect|default:"16:9"}} \
--resolution {{resolution|default:"2K"}} \
{{reference_flags}}
执行生成:
uv run python .claude/scripts/nano_banana_pro.py "PROMPT" --aspect RATIO --resolution SIZE
报告结果:
默认输出: ./generated/image_YYYYMMDD_HHMMSS.png
使用 --output 自定义输出:
/generate-image "场景" --output custom_name.png
参考图像有助于保持一致性:
使用参考图像时,请描述其关系:
每次生成最多使用 5 个参考图像。
| 用例 | 宽高比 |
|---|---|
| 正方形/Instagram | 1:1 |
| 纵向 | 3:4, 9:16 |
| 横向 | 16:9 |
| 超宽屏 | 21:9 |
| 照片 | 3:2, 4:3 |
| 用例 | 分辨率 |
|---|---|
| 预览 | 1K |
| 标准 | 2K |
| 高质量 | 4K |
GOOGLE_API_KEY 或 GEMINI_API_KEY每周安装量
56
仓库
GitHub 星标数
23
首次出现
2026年2月9日
安全审计
安装于
github-copilot56
codex56
kimi-cli56
amp56
cline56
gemini-cli56
Generate images using Google's Nano Banana Pro (Gemini 3 Pro Image) model.
1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9) - default: 16:91K, 2K, 4K) - default: 2KVerify API key is set:
echo "API Key: ${GOOGLE_API_KEY:+SET}${GEMINI_API_KEY:+SET}"
If not set, get one from: https://aistudio.google.com/apikey
/generate-image "A beautiful mountain landscape at sunset"
/generate-image "Product photo on white background" --aspect 1:1 --resolution 4K
/generate-image "Portrait photo" --aspect 3:4
/generate-image "Cinematic scene" --aspect 21:9
/generate-image "Similar style" --reference existing_image.png
Parse arguments :
Build command :
uv run python .claude/scripts/nano_banana_pro.py
"{{arg:1}}"
--aspect {{aspect|default:"16:9"}}
--resolution {{resolution|default:"2K"}}
{{reference_flags}}
Execute generation :
uv run python .claude/scripts/nano_banana_pro.py "PROMPT" --aspect RATIO --resolution SIZE
Report results :
Default output: ./generated/image_YYYYMMDD_HHMMSS.png
Custom output with --output:
/generate-image "Scene" --output custom_name.png
Reference images help maintain consistency:
When using references, describe the relationship:
Maximum 5 reference images per generation.
| Use Case | Ratio |
|---|---|
| Square/Instagram | 1:1 |
| Portrait | 3:4, 9:16 |
| Landscape | 16:9 |
| Ultrawide | 21:9 |
| Photo | 3:2, 4:3 |
| Use Case | Resolution |
|---|---|
| Preview | 1K |
| Standard | 2K |
| High quality | 4K |
GOOGLE_API_KEY or GEMINI_API_KEYWeekly Installs
56
Repository
GitHub Stars
23
First Seen
Feb 9, 2026
Security Audits
Gen Agent Trust HubFailSocketPassSnykPass
Installed on
github-copilot56
codex56
kimi-cli56
amp56
cline56
gemini-cli56
超能力技能使用指南:AI助手技能调用优先级与工作流程详解
55,300 周安装
Crypto Agent Trading 技能:自动化加密货币交易智能体开发指南
337 周安装
OpenAI图像生成脚本:批量生成DALL-E 3/GPT图像,支持多模型参数与自动图库
338 周安装
Cloudflare Workers AI 完整指南:2025 模型更新、性能优化与常见问题解决方案
338 周安装
SolidJS 最佳实践与模式指南:解决状态耦合与UI卡顿问题
341 周安装
小红书内容转换器:一键将通用文章转为小红书爆款笔记格式 | AI写作助手
341 周安装
Cloudflare Queues 完全指南:2025最新特性、快速入门与API详解
339 周安装