跳到主要内容
知仓学习社ZHICANG

nano-banana-pro

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

读凭据严重 0 · 高危 2smallnest/goclaw

它会碰到什么

扫了多少2 个文本文件,8 KB
它会碰到什么读凭据
命中总数2 处
命中统计严重 0 · 高 2 · 中 0 · 低 0
逐条看命中(2 条严重或高危)
  • scripts/generate_image.py:29cred-envread
    return os.environ.get("GOOGLE_API_KEY") or os.environ.get("GEMINI_API_KEY")
  • scripts/generate_image.py:29cred-envread
    return os.environ.get("GOOGLE_API_KEY") or os.environ.get("GEMINI_API_KEY")

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

Nano Banana Pro (Gemini 3 Pro Image)

Use the bundled script to generate or edit images.

Quick Start

Generate an image:

uv run skills/nano-banana-pro/scripts/generate_image.py --prompt "your image description" --filename "output.png" --resolution 1K

Commands

Generate Image

uv run skills/nano-banana-pro/scripts/generate_image.py --prompt "your image description" --filename "output.png" --resolution 1K

Edit Image

uv run skills/nano-banana-pro/scripts/generate_image.py --prompt "edit instructions" --filename "output.png" -i "/path/in.png" --resolution 2K

Multi-Image Composition

Combine up to 14 images:

uv run skills/nano-banana-pro/scripts/generate_image.py --prompt "combine these into one scene" --filename "output.png" -i img1.png -i img2.png -i img3.png

Parameters

  • --prompt: Image description (required)
  • --filename: Output filename (required)
  • --resolution: Image resolution: 1K (default), 2K, 4K
  • -i: Input image path for editing/composition (can be used multiple times)

API Key

Set one of the following environment variables:

  • GOOGLE_API_KEY (preferred)
  • GEMINI_API_KEY

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 auto-attachment on supported chat providers.
  • Do not read the image back; report the saved path only.

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。

它属于哪个仓库

星标★ 602
本站分层T2
该仓技能数23
原文件路径internal/builtin_skills/nano-banana-pro/SKILL.md

同一个仓库里的其他技能

看这个仓库的全部 23 个技能