AgentStack
SKILL verified MIT Self-run

Nano Banana Image Gen

skill-hukusuke1007-agent-skills-nano-banana-image-gen · by hukusuke1007

Nano Banana 2(Google Gemini gemini-3.1-flash-image-preview)を使って画像を生成するスキル。「画像を生成して」「〇〇のイラストを作って」「Nano Bananaで画像を作って」「グラレコ風の画像を生成して」などのリクエストで使用する。プロンプトを受け取りpythonスクリプトを実行、タイムスタンプ付きPNGを images/generated/ に出力する。

No reviews yet
0 installs
7 views
0.0% view→install

Install

$ agentstack add skill-hukusuke1007-agent-skills-nano-banana-image-gen

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets Used
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Nano Banana Image Gen? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Nano Banana 画像生成

実行手順

  1. ユーザーのリクエストから画像生成プロンプトを確定する
  2. マルチモーダル指示(フレーム画像など入力画像あり)の場合は --image 引数を付ける
  3. 以下のコマンドを実行する

テキストのみ:

python .claude/skills/nano-banana-image-gen/scripts/nano_banana_gen.py "プロンプトテキスト"

画像+テキスト:

python .claude/skills/nano-banana-image-gen/scripts/nano_banana_gen.py "プロンプトテキスト" --image "画像パス"

画像複数+テキスト:

python .claude/skills/nano-banana-image-gen/scripts/nano_banana_gen.py "プロンプトテキスト" --image "画像1" --image "画像2"
  1. 出力パスを確認してユーザーに報告する

設定

プロジェクトルートの .env に以下の環境変数を設定する:

GEMINI_API_KEY=your_api_key_here
GENERATED_IMAGE_OUTPUT_PATH=images/generated

セキュリティ: .env をプロジェクトルートに置く場合は、settings.jsondenyRead.env を追加してAIが読み込めないよう設定すること。

// .claude/settings.json
{
  "permissions": {
    "deny": ["Read(.env)", "Read(.env.*)"]
  }
}

| 変数名 | 説明 | | ----------------------------- | ---------------------------------------------------- | | GEMINI_API_KEY | Google Gemini APIキー(必須) | | GENERATED_IMAGE_OUTPUT_PATH | 出力先ディレクトリ(デフォルト: images/generated) |

出力

  • ファイル名: YYYYMMDD_HHMMSS.png
  • 保存先: プロジェクトルートの images/generated/

依存パッケージ確認

初回エラー時は以下でインストール:

pip install google-genai pillow python-dotenv

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.