AGENT SKILL

nano-banana-pro

Generate or edit images via Gemini 3 Pro Image (Nano Banana Pro).

使用场景图像与多媒体
License 许可
MIT
最近更新
2026-02-15
Stars
★ 0
Forks
1

01 前言 Front Matter

name
nano-banana-pro
homepage
https://ai.google.dev/
metadata
{ "moltbot": { "emoji": "?", "install": [ { "id": "uv-brew", "bins": [ "uv" ], "kind": "brew", "label": "Install uv (brew)", "formula": "uv" } ], "requires": { "env": [ "GEMINI_API_KEY" ], "bins": [ "uv" ] }, "primaryEnv": "GEMINI_API_KEY" } }
description
Generate or edit images via Gemini 3 Pro Image (Nano Banana Pro).

02 资源文件 1

03 SKILL.md 正文

Nano Banana Pro (Gemini 3 Pro Image)

Use the bundled script to generate or edit images.

Generate

uv run {baseDir}/scripts/generate_image.py --prompt "your image description" --filename "output.png" --resolution 1K

Edit (single image)

uv run {baseDir}/scripts/generate_image.py --prompt "edit instructions" --filename "output.png" -i "/path/in.png" --resolution 2K

Multi-image composition (up to 14 images)

uv run {baseDir}/scripts/generate_image.py --prompt "combine these into one scene" --filename "output.png" -i img1.png -i img2.png -i img3.png

API key

  • GEMINI_API_KEY env var
  • Or set skills."nano-banana-pro".apiKey / skills."nano-banana-pro".env.GEMINI_API_KEY in ~/.clawdbot/moltbot.json

Notes

  • Resolutions: 1K (default), 2K, 4K.
  • Use timestamps in filenames: yyyy-mm-dd-hh-mm-ss-name.png.
  • The script prints a MEDIA: line for Moltbot to auto-attach on supported chat providers.
  • Do not read the image back; report the saved path only.

04 同仓库更多 Skills