nano-banana-pro-zh
使用 Nano Banana Pro (Gemini 3 Pro Image) 生成/编辑图像。用于图像创建或修改请求,支持文生图和图生图;支持 1K/2K/4K 分辨率;可使用 --input-image 参数编辑现有图像。
Skill by L-LesterYu
Chalk Labs
Need help deploying nano-banana-pro-zh?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/l-lesteryu-nano-banana-pro-zh
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/nano-banana-pro-zh
What's inside
- Skill name
nano-banana-pro-zh- Description
- 使用 Nano Banana Pro (Gemini 3 Pro Image) 生成/编辑图像。用于图像创建或修改请求,支持文生图和图生图;支持 1K/2K/4K 分辨率;可使用 --input-image 参数编辑现有图像。
- License
- MIT
- Instructions
- 127 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (4)
- origin.json · .clawhub/
- SKILL.md
- _meta.json
- generate_image.py · scripts/
SKILL.md (first lines)
# Nano Banana Pro 图像生成与编辑
使用 Google 的 Nano Banana Pro API (Gemini 3 Pro Image) 生成新图像或编辑现有图像。
## 使用方法
使用绝对路径运行脚本(请勿先 cd 到技能目录):
**生成新图像:**
```bash
uv run ~/.codex/skills/nano-banana-pro-zh/scripts/generate_image.py --prompt "你的图像描述" --filename "输出文件名.png" [--resolution 1K|2K|4K] [--api-key KEY]
```
**编辑现有图像:**
```bash
uv run ~/.codex/skills/nano-banana-pro-zh/scripts/generate_image.py --prompt "编辑指令" --filename "输出文件名.png" --input-image "输入图像路径.png" [--resolution 1K|2K|4K] [--api-key KEY]
```
**重要提示:** 始终从用户当前工作目录运行,以便图像保存在用户工作位置,而不是技能目录中。
## 默认工作流(草稿 → 迭代 → 最终)
目标:快速迭代,在提示词正确之前不要浪费时间生成 4K 图像。
- 草稿 (1K):快速反馈循环
- `uv run ~/.codex/skills/nano-banana-pro-zh/scripts/generate_image.py --prompt "<草稿提示词>" --filename "yyyy-mm-dd-hh-mm-ss-draft.png" --resolution 1K`
- 迭代:以小幅差异调整提示词;每次运行保持文件名更新
- 如果是编辑:每次迭代使用相同的 `--input-image` 直到满意为止
- 最终 (4K):仅在提示词确定后使用
- `uv run ~/.codex/skills/nano-banana-pro-zh/scripts/generate_image.py --prompt "<最终提示词>" --filename "yyyy-mm-dd-hh-mm-ss-final.png" --resolution 4K`
## 分辨率选项
Gemini 3 Pro Image API 支持三种分辨率(K 必须大写):
- **1K**(默认)- 约 1024px 分辨率
- **2K** - 约 2048px 分辨率
- **4K** - 约 4096px 分辨率
将用户请求映射到 API 参数:
- 未提及分辨率 → `1K`
- "低分辨率"、"1080"、"1080p"、"1K" → `1K`
- "2K"、"2048"、"普通"、"中等分辨率" → `2K`
- "高分辨率"、"高清"、"hi-res"、"4K"、"超清" → `4K`
## API 密钥
脚本按以下顺序检查 API 密钥:
1. `--api-key` 参数(如果用户在聊天中提供了密钥)
2. `GEMINI_API_KEY` 环境变量
如果两者都不可用,脚本将退出并显示错误消息。
## 预检与常见故障(快速修复)
- 预检:
- `command -v uv`(必须存在)
- `test -n \"$GEMINI_API_KEY\"`(或传递 `--api-key`)
- 如果是编辑:`test -f "path/to/input.png"`
- 常见故障:
- `错误:未提供 API 密钥。` → 设置 `GEMINI_API_KEY` 或传递 `--api-key`
- `加载输入图像时出错:` → 路径错误或文件不可读;验证 `--input-image` 指向真实图像
- "配额/权限/403" 类 API 错误 → 密钥错误、无访问权限或配额超限;尝试使用不同的密钥/账户
## 文件名生成
使用以下模式生成文件名:`yyyy-mm-dd-hh-mm-ss-name.png`
**格式:** `{时间戳}-{描述性名称}.png`
- 时间戳:当前日期/时间,格式为 `yyyy-mm-dd-hh-mm-ss`(24小时制)
- 名称:带连字符的描述性小写文本
- 保持描述部分简洁(通常 1-5 个词)
- 使用用户提示或对话中的上下文
- 如果不清楚,使用随机标识符(例如 `x9k2`、`a7b3`)
示例:
- 提示 "宁静的日式花园" → `2025-11-23-14-23-05-japanese-garden.png`
- 提示 "山上的日落" → `2025-11-23-15-30-12-sunset-mountains.png`
- 提示 "创建一个机器人图像" → `2025-11-23-16-45-33-robot.png`
- 上下文不明确 → `2025-11-23-17-12-48-x9k2.png`
## 图像编辑
当用户想要修改现有图像时:
1. 检查他们是否提供了图像路径或引用了当前目录中的图像
2. 使用 `--input-image` 参数和图像路径
3. 提示词应包含编辑指令(例如 "让天空更戏剧化"、"移除人物"、"改为卡通风格")
4. 常见编辑任务:添加/移除元素、改变风格、调整颜色、模糊背景等
## 提示词处理
**生成:** 将用户的图像描述原样传递给 `--prompt`。仅在明显不足时进行修改。
**编辑:** 在 `--prompt` 中传递编辑指令(例如 "在天空中添加彩虹"、"让它看起来像水彩画")
在这两种情况下都要保留用户的创意意图。
## 提示词模板(高成功率)
当用户表达模糊或编辑需要精确时使用模板。
- 生成模板:
- "创建图像:<主体>。风格:<风格>。构图:<镜头/拍摄>。光线:<光线>。背景:<背景>。调色板:<调色板>。避免:<列表>。"
- 编辑模板(保留其他所有内容):
- "仅更改:<单个更改>。完全保持:主体、构图/裁剪、姿势、光线、调色板、背景、文本和整体风格。不要添加新对象。如果存在文本,保持不变。"
## 输出
- 将 PNG 保存到当前目录(如果文件名包含目录,则保存到指定路径)
- 脚本输出生成图像的完整路径
- **不要读回图像** - 只需通知用户保存的路径
## 示例
**生成新图像:**
```bash
uv run ~/.codex/skills/nano-banana-pro-zh/scripts/generate_image.py --prompt "一个带有樱花的宁静日式花园" --filename "2025-11-23-14-23-05-japanese-garden.png" --resolution 4KFrom L-LesterYu/OpenClaw-hot-skills-zh, MIT.
More from L-LesterYu/OpenClaw-hot-skills-zh
- 0.512score
admapix-zh
L-LesterYu
广告创意素材搜索助手。通过 api.admapix.com 搜索竞品广告素材。触发关键词:找素材、搜广告、广告视频、创意素材、竞品广告、ad creative、search ads、find creatives、competitor ads、ad spy。
SkillDFreshness: D★ 57Claude Code +9 - 0.512score
frontend-design-zh
L-LesterYu
使用 React、Tailwind CSS 和 shadcn/ui 创建独特、生产级的静态网站——无需设计稿。从纯文本需求生成大胆、令人难忘的设计,具备反AI套路美学、移动优先响应式模式和单文件打包功能。适用于构建落地页、营销网站、作品集、仪表盘或任何静态Web界面。支持 Vite(纯静态)和…
SkillDFreshness: D★ 57Claude Code +9 - 0.512score
imap-smtp-email-zh
L-LesterYu
通过 IMAP/SMTP 收发邮件。检查新邮件/未读邮件、获取内容、搜索邮箱、标记已读/未读、发送带附件的邮件。支持多账号。兼容 Gmail、Outlook、163.com、vip.163.com、126.com、vip.126.com、188.com、vip.188.com 及任何标准 IMAP/SMTP 服务器。
SkillDFreshness: D★ 57Claude Code +9 - 0.511score
nano-banana-pro-prompts-recommend-skill
L-LesterYu
从 10,000+ Nano Banana Pro 图像生成提示词中推荐合适的提示词,基于用户需求进行推荐。 针对 Nano Banana Pro (Gemini) 优化,但提示词同样适用于 Nano Banana 2、Seedream 5.0、 GPT Image…
SkillDFreshness: D★ 57Claude Code +9 - 0.508score
model-usage
L-LesterYu
使用 CodexBar CLI 本地成本使用情况来汇总 Codex 或 Claude 的按模型使用情况,包括当前(最新)模型或完整的模型细分。当被要求提供 codexbar 的模型级别使用/成本数据,或需要从 codexbar cost JSON 获取可脚本化的按模型摘要时触发。
SkillDFreshness: D★ 57Claude Code +9 - 0.507score
edgeone-clawscan-zh
L-LesterYu
由腾讯朱雀实验室 A.I.G (AI-Infra-Guard) 驱动的 OpenClaw 全面安全扫描技能。当用户要求对当前 OpenClaw 环境进行安全体检或安全扫描时使用,例如 `开始安全体检`、`做一次安全体检`、`开始安全扫描`、`全面安全检查` 或 `检查 OpenClaw…
SkillDFreshness: D★ 57Claude Code +9 - 0.507score
markdown-converter-zh
L-LesterYu
使用 markitdown 将文档和文件转换为 Markdown 格式。支持转换 PDF、Word (.docx)、PowerPoint (.pptx)、Excel (.xlsx, .xls)、HTML、CSV、JSON、XML、图片(带 EXIF/OCR)、音频(带转录)、ZIP 压缩包、YouTube…
SkillDFreshness: D★ 57Claude Code +9 - 0.507score
clawhub-zh
L-LesterYu
使用 ClawHub CLI 从 clawhub.com 搜索、安装、更新和发布智能体技能。当您需要即时获取新技能、将已安装的技能同步到最新版本或特定版本,或发布新技能或更新技能文件夹时使用此技能。配合 npm 安装的 clawhub CLI 使用。
SkillDFreshness: D★ 57Claude Code +9 - 0.507score
automation-workflows-zh
L-LesterYu
设计和实施自动化工作流程,节省时间并实现独立创业者的规模化运营。适用于识别需要自动化的重复任务、跨工具构建工作流程、设置触发器和操作,或优化现有自动化流程。涵盖自动化机会识别、工作流程设计、工具选择(Zapier、Make、n8n)、测试和维护。触发词:"automate"、"automation"、"workflo…
SkillDFreshness: D★ 57Claude Code +9 - 0.507score
freeride-zh
L-LesterYu
管理 OpenRouter 的免费 AI 模型为 OpenClaw 提供服务。自动按质量排名模型、配置限流故障切换、更新 openclaw.json 配置。当用户提到免费 AI、OpenRouter、模型切换、限流或想降低 AI 成本时使用此技能。
SkillDFreshness: D★ 57Claude Code +9 - 0.506score
clawddocs-zh
L-LesterYu
Clawdbot 文档专家,具备决策树导航、搜索脚本、文档获取、版本跟踪和所有 Clawdbot 功能的配置片段
SkillDFreshness: D★ 57Claude Code +9 - 0.506score
baidu-search-zh
L-LesterYu
使用百度 AI 搜索引擎进行网页搜索。适用于实时信息查询、文档检索或研究主题。
SkillDFreshness: D★ 57Claude Code +9
Signals
- Stars
- 57
- Forks
- 9
- Open issues
- 0
- Last commit (this folder)
- Mar 5, 2026 (7 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from L-LesterYu
- 0.512score
frontend-design-zh
L-LesterYu
使用 React、Tailwind CSS 和 shadcn/ui 创建独特、生产级的静态网站——无需设计稿。从纯文本需求生成大胆、令人难忘的设计,具备反AI套路美学、移动优先响应式模式和单文件打包功能。适用于构建落地页、营销网站、作品集、仪表盘或任何静态Web界面。支持 Vite(纯静态)和…
SkillDFreshness: D★ 57Claude Code +9 - 0.512score
admapix-zh
L-LesterYu
广告创意素材搜索助手。通过 api.admapix.com 搜索竞品广告素材。触发关键词:找素材、搜广告、广告视频、创意素材、竞品广告、ad creative、search ads、find creatives、competitor ads、ad spy。
SkillDFreshness: D★ 57Claude Code +9 - 0.512score
imap-smtp-email-zh
L-LesterYu
通过 IMAP/SMTP 收发邮件。检查新邮件/未读邮件、获取内容、搜索邮箱、标记已读/未读、发送带附件的邮件。支持多账号。兼容 Gmail、Outlook、163.com、vip.163.com、126.com、vip.126.com、188.com、vip.188.com 及任何标准 IMAP/SMTP 服务器。
SkillDFreshness: D★ 57Claude Code +9 - 0.511score
nano-banana-pro-prompts-recommend-skill
L-LesterYu
从 10,000+ Nano Banana Pro 图像生成提示词中推荐合适的提示词,基于用户需求进行推荐。 针对 Nano Banana Pro (Gemini) 优化,但提示词同样适用于 Nano Banana 2、Seedream 5.0、 GPT Image…
SkillDFreshness: D★ 57Claude Code +9 - 0.508score
model-usage
L-LesterYu
使用 CodexBar CLI 本地成本使用情况来汇总 Codex 或 Claude 的按模型使用情况,包括当前(最新)模型或完整的模型细分。当被要求提供 codexbar 的模型级别使用/成本数据,或需要从 codexbar cost JSON 获取可脚本化的按模型摘要时触发。
SkillDFreshness: D★ 57Claude Code +9 - 0.507score
clawhub-zh
L-LesterYu
使用 ClawHub CLI 从 clawhub.com 搜索、安装、更新和发布智能体技能。当您需要即时获取新技能、将已安装的技能同步到最新版本或特定版本,或发布新技能或更新技能文件夹时使用此技能。配合 npm 安装的 clawhub CLI 使用。
SkillDFreshness: D★ 57Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get nano-banana-pro-zh running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
nano-banana-pro-zh skill. Agent Mart. https://agentmart.dev/skills/l-lesteryu-nano-banana-pro-zh (last updated 2026-10-24)