スキル一覧に戻る
dennisonbertram

nano-banana

by dennisonbertram

Claude Code skills for AI-powered image and video generation (Gemini + Kling)

0🍴 0📅 2026年1月23日
GitHubで見るManusで実行

SKILL.md


name: nano-banana description: Generate images using Google's Nano-Banana (Gemini 2.5 Flash Image) model. Use when the user asks to generate, create, or make an image, picture, or illustration. allowed-tools: Read, Bash

Nano-Banana Image Generation

Generate images using Google's Gemini Image models.

IMPORTANT: Enhance User Prompts

Before generating, always enhance the user's prompt using the techniques in PROMPTING.md.

Quick Enhancement Formula

[Subject] + [Style] + [Lighting] + [Composition] + [Quality]

Example Enhancement

  • User says: "a cat"
  • Enhanced: "A fluffy orange tabby cat with bright green eyes, photorealistic, soft natural window lighting, shallow depth of field, rule of thirds composition"

For detailed prompting techniques, templates, and style keywords, see PROMPTING.md.

Quick Start

~/.claude/skills/nano-banana/scripts/generate.sh "your prompt here"

Options

OptionDescriptionDefault
--output PATHSave to specific file~/Pictures/nano-banana/<timestamp>.png
--size SIZEResolution: 1K, 2K, 4K1K
--aspect RATIOAspect ratio1:1
--flashUse Flash model (faster, lower quality)Pro

Aspect Ratios

1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3

Resolutions

  • 1K - Standard (default, fast)
  • 2K - High resolution (requires Pro model)
  • 4K - Maximum resolution (requires Pro model)

Interpreting User Requests

Parse the user's request and map to script options:

User saysScript call
"Generate a cat"generate.sh "a cat"
"Create a 4K image of mountains"generate.sh "mountains" --size 4K
"Make a landscape wallpaper"generate.sh "landscape" --aspect 16:9
"High quality portrait of a robot"generate.sh "portrait of a robot" --pro --aspect 3:4
"Generate a sunset, save to desktop"generate.sh "a sunset" --output ~/Desktop/sunset.png
"4K widescreen cyberpunk city"generate.sh "cyberpunk city" --size 4K --aspect 16:9

Keywords to watch for:

  • Resolution: "4K", "high res", "high resolution", "2K", "large" → use --size
  • Quality: "high quality", "detailed", "professional" → use --pro
  • Orientation: "landscape", "widescreen", "wallpaper" → --aspect 16:9
  • Orientation: "portrait", "vertical", "phone wallpaper" → --aspect 9:16
  • Save location: "save to", "put it in", "output to" → --output

Behavior

  • Runs in background (won't block Claude)
  • Sends macOS notification when complete
  • Auto-opens the image when done
  • Images saved to ~/Pictures/nano-banana/ by default

Troubleshooting

Check the error log:

cat ~/.claude/skills/nano-banana/last-error.log

Verify API key:

security find-generic-password -a "$USER" -s "GEMINI_API_KEY" -w | head -c 10

スコア

総合スコア

50/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です