Generate and edit images using Google's Nano Banana Pro (Gemini 3 Pro Image) API. Use when the user asks to generate, create, edit, modify, change, alter, or update images. Also use when user references an existing image file and asks to modify it in any way (e.g., "modify this image", "change the background", "replace X with Y"). Supports both text-to-image generation and image-to-image editing with configurable resolution (1K default, 2K, or 4K for high resolution). DO NOT read the image file first - use this skill directly with the --input-image parameter.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install morfeo-nano-banana-pro或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install morfeo-nano-banana-pro⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/morfeo-nano-banana-pro/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: nano-banana-pro description: Generate and edit images using Google's Nano Banana Pro (Gemini 3 Pro Image) API. Use when the user asks to generate, create, edit, modify, change, alter, or update images. Also use when user references an existing image file and asks to modify it in any way (e.g., "modify this image", "change the background", "replace X with Y"). Supports both text-to-image generation and image-to-image editing with configurable resolution (1K default, 2K, or 4K for high resolution). DO NOT read the image file first - use this skill directly with the --input-image parameter. ---
Generate new images or edit existing ones using Google's Nano Banana Pro API (Gemini 3 Pro Image).
Google AI Studio (Public Preview):
POST https://generativelanguage.googleapis.com/v1beta/models/gemini-3-pro-image-preview:generateContent?key=${API_KEY}
Vertex AI (Enterprise):
POST https://${REGION}-aiplatform.googleapis.com/v1/projects/${PROJECT_ID}/locations/${REGION}/publishers/google/models/gemini-3-pro-image-preview:predict
gemini-3-pro-image-previewnanobanana-pro-001| Parameter | Values | Description | |-----------|--------|-------------| | aspect_ratio | 1:1, 4:3, 3:4, 16:9, 9:16 | Output aspect ratio | | output_mime_type | image/png, image/jpeg | Output format | | reference_images | Array (max 14) | Reference images for consistency | | reference_type | CHARACTER, STYLE, SUBJECT | How to use reference | | person_generation | ALLOW_ADULT, DONT_ALLOW, FILTER_SENSITIVE | Person generation policy | | image_size | 1K, 2K, 4K | Output resolution |
upscale: trueRun the script using absolute path (do NOT cd to skill directory first):
Generate new image:
uv run ~/.clawdbot/skills/nano-banana-pro/scripts/generate_image.py \
--prompt "your image description" \
--filename "output-name.png" \
[--resolution 1K|2K|4K] \
[--api-key KEY]
Edit existing image:
uv run ~/.clawdbot/skills/nano-banana-pro/scripts/generate_image.py \
--prompt "editing instructions" \
--filename "output-name.png" \
--input-image "path/to/input.png" \
[--resolution 1K|2K|4K]
With reference image (product/style/character consistency):
uv run ~/.clawdbot/skills/nano-banana-pro/scripts/generate_image.py \
--prompt "your description" \
--filename "output-name.png" \
--reference-image "path/to/reference.jpg" \
--reference-type SUBJECT|STYLE|CHARACTER \
[--resolution 1K|2K|4K]
Important: Always run from the user's current working directory so images are saved where the user is working, not in the skill directory.
Map user requests:
1K1K2K4KThe script checks for API key in this order:
--api-key argumentGEMINI_API_KEY environment variableFormat: {timestamp}-{descriptive-name}.png
yyyy-mm-dd-hh-mm-ss (24-hour format)Examples:
2025-11-23-14-23-05-japanese-garden.png2025-11-23-15-30-12-sunset-mountains.png---
You are an expert Prompt Engineer specializing in Nano Banana Pro. Transform basic user ideas and reference images into high-fidelity, descriptive prompts.
When provided with a user idea and reference images, evaluate:
Structure optimized prompts using this hierarchy:
Clear description of "who" or "what" is doing "what."
Specify artistic medium:
Explicitly instruct on how to use uploaded images: > "Retain the product packaging from the reference image as the hero element" > "Apply the warm lighting aesthetic from Reference A"
Lighting:
Composition:
Color Theory:
Text Rendering: Use double quotes for specific text: > "The word 'FUTURE' written in bold, brushed-metal 3D lettering across the center"
When generating images with products as protagonists:
--reference-type SUBJECT to maintain product consistency> "Milkaut Crematto container with blue label and red lid prominently displayed"
> "the product container as co-star product placement" > "product container in sharp focus"
> "positioned next to", "beside", "prominently arranged"
Hyper-realistic commercial food photography with a [PRODUCT NAME] container
prominently displayed next to [FOOD ITEM], [food description],
[setting/background], [lighting style], the [product] as hero element,
8k photorealistic detail
Provide the optimized prompt in English, without additional commentary.
---
uv run ~/.clawdbot/skills/nano-banana-pro/scripts/generate_image.py \
--prompt "Hyper-realistic commercial food photography with a Milkaut Crematto container prominently displayed next to a gourmet double smash burger with perfectly melted cheddar cheese cascading down juicy beef patties, artisan brioche bun, wisps of steam rising, dark moody background with dramatic rim lighting, the cream cheese container as hero product placement, 8k texture detail" \
--filename "2026-01-28-product-burger.png" \
--reference-image "product-photo.jpg" \
--reference-type SUBJECT \
--resolution 2K
...
安装 Nano Banana Pro (Morfeo) 后,可以对 AI 说这些话来触发它
Help me get started with Nano Banana Pro (Morfeo)
Explains what Nano Banana Pro (Morfeo) does, walks through the setup, and runs a quick demo based on your current project
Use Nano Banana Pro (Morfeo) to generate and edit images using Google's Nano Banana Pro (Gemini 3 P...
Invokes Nano Banana Pro (Morfeo) with the right parameters and returns the result directly in the conversation
What can I do with Nano Banana Pro (Morfeo) in my design & creative workflow?
Lists the top use cases for Nano Banana Pro (Morfeo), with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/morfeo-nano-banana-pro/ 目录(个人级,所有项目可用),或 .claude/skills/morfeo-nano-banana-pro/(项目级)。重启 AI 客户端后,用 /morfeo-nano-banana-pro 主动调用,或让 AI 根据上下文自动发现并使用。
Nano Banana Pro (Morfeo) 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Nano Banana Pro (Morfeo) 可免费安装使用。请查阅仓库了解许可证信息。
Generate and edit images using Google's Nano Banana Pro (Gemini 3 Pro Image) API. Use when the user asks to generate, create, edit, modify, change, alter, or update images. Also use when user references an existing image file and asks to modify it in any way (e.g., "modify this image", "change the background", "replace X with Y"). Supports both text-to-image generation and image-to-image editing with configurable resolution (1K default, 2K, or 4K for high resolution). DO NOT read the image file first - use this skill directly with the --input-image parameter.
Automate my design & creative tasks using Nano Banana Pro (Morfeo)
Identifies repetitive steps in your workflow and sets up Nano Banana Pro (Morfeo) to handle them automatically
Nano Banana Pro (Morfeo) 属于「Design & Creative」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。