Generate, edit, or transform images with Gemini Nano Banana using bundled Python scripts (Flash or Pro) including aspect ratio, resolution, image-to-image edits, logo overlays, and reference images. Use when users request image generation, image edits, image-to-image transformations, logo placement, or specific aspect ratios or resolutions.
Use this skill to turn a user prompt (and optional images) into Gemini image generation calls via the bundled Python scripts.
gemini-2.5-flash-image (CLI value flash).9:16.1 (max 3).1K, but only apply it for the Pro model.1K|2K|4K), switch to Pro (gemini-3-pro-image-preview).--size when using Pro.1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9.1K, 2K, 4K.Run:
python scripts/generate_image.py \
--prompt "<user prompt>" \
--aspect 9:16 \
--count 1 \
--model flash \
--out-dir outputs
Only add flags when the user asks for them. The script reads GEMINI_API_KEY from the environment.
Use when the user supplies a base image to edit or transform.
Run:
python scripts/edit_image.py \
--input /path/to/base.png \
--prompt "<edit instructions>" \
--reference /path/to/ref1.png \
--reference https://example.com/ref2.png \
--aspect 9:16 \
--count 1 \
--model flash \
--out-dir outputs
Use when the user wants to place a logo onto a base image.
Run:
python scripts/logo_overlay.py \
--base /path/to/base.png \
--logo /path/to/logo.png \
--aspect 9:16 \
--count 1 \
--model pro \
--out-dir outputs
User: "Generate a portrait of a dancer in a foggy forest." Claude:
python scripts/generate_image.py --prompt "Generate a portrait of a dancer in a foggy forest."User: "Make a 2K 16:9 cinematic still of a neon city, give me 3 options." Claude:
python scripts/generate_image.py --prompt "Make a 2K 16:9 cinematic still of a neon city" --aspect 16:9 --size 2K --count 3 --model proUser: "Edit this image to remove the background and make it studio white." (with one image) Claude:
python scripts/edit_image.py --input /path/to/image.png --prompt "Remove the background and make it studio white."User: "Put this logo on the shirt in the photo." (with base + logo images) Claude:
python scripts/logo_overlay.py --base /path/to/photo.png --logo /path/to/logo.pnggoogle-genai and retry.scripts/requirements.txt (install with pip install -r scripts/requirements.txt).outputs/ directory using timestamped names.references/prompt-guide.md.references/logo-overlay.md.references/image-editing.md.references/watermarking.md.npx skills add feed-mob/gemini-image-generator下载完整 Skill 目录,包含 SKILL.md 及所有相关文件
Generate or edit images via Gemini 3 Pro Image (Nano Banana Pro).
Batch-generate images via OpenAI Images API. Random prompt sampler + `index.html` gallery.
Generate spectrograms and feature-panel visualizations from audio with the songsee CLI.
Extract frames or short clips from videos using ffmpeg.
Search GIF providers with CLI/TUI, download results, and extract stills/sheets.
Category:media-generate