Summary
Nano Banana 2(Google Gemini gemini-3.1-flash-image-preview)を使って画像を生成するスキル。「画像を生成して」「〇〇のイラストを作って」「Nano Bananaで画像を作って」「グラレコ風の画像を生成して」などのリクエストで使用する。プロンプトを受け取りpythonスクリプトを実行、タイムスタンプ付きPNGを images/generated/ に出力する。
hukusuke1007/agent-skills · Archived
Nano Banana 2(Google Gemini gemini-3.1-flash-image-preview)を使って画像を生成するスキル。「画像を生成して」「〇〇のイラストを作って」「Nano Bananaで画像を作って」「グラレコ風の画像を生成して」などのリクエストで使用する。プロンプトを受け取りpythonスクリプトを実行、タイムスタンプ付きPNGを images/generated/ に出力する。
npx skills add hukusuke1007/agent-skills --skill nano-banana-image-gen
Nano Banana 2(Google Gemini gemini-3.1-flash-image-preview)を使って画像を生成するスキル。「画像を生成して」「〇〇のイラストを作って」「Nano Bananaで画像を作って」「グラレコ風の画像を生成して」などのリクエストで使用する。プロンプトを受け取りpythonスクリプトを実行、タイムスタンプ付きPNGを images/generated/ に出力する。
This repository is archived — consider an actively maintained alternative.
Implement Feature-First architecture with Riverpod state management and Flutter Hooks in Flutte…
41 installsNext.js + Better Auth + PostgreSQL を Docker で構築し、Cloud Run へデプロイするスキル。ローカル…
13 installsAI事業者ガイドライン(経済産業省・総務省、第1.2版、2026年3月31日)に基づいて、AIに関する取り組…
12 installsRelated neighbors and high-traction skills in the same topics — useful to compare before installing.
Helps users discover and install agent skills when they ask questions like "how do I do X", "fi…
3.3M installsBrowser automation CLI for AI agents. Use when the user needs to interact with websites, includ…
810.4K installsReview UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "chec…
617.3K installsBuild, deploy, evaluate, optimize, fine-tune, and manage Microsoft Foundry agents, models, and …
576.5K installsPrepare azd-based Azure projects for deployment: generates azure.yaml, infrastructure (Bicep/Te…
568.3K installsOther skills from hukusuke1007/agent-skills.
npx skills add hukusuke1007/agent-skills
Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.
main
Parsed from SKILL.md frontmatter.
Files included with this skill beyond the listing page.
SKILL.md
2,464 B
SUMMARY.md
461 B
--image 引数を付けるテキストのみ:
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"
プロジェクトルートの .env に以下の環境変数を設定する:
GEMINI_API_KEY=your_api_key_here
GENERATED_IMAGE_OUTPUT_PATH=images/generated
セキュリティ: .env をプロジェクトルートに置く場合は、settings.json の denyRead に .env を追加してAIが読み込めないよう設定すること。
// .claude/settings.json
{
"permissions": {
"deny": ["Read(.env)", "Read(.env.*)"]
}
}
| 変数名 | 説明 |
|---|---|
GEMINIAPIKEY |
Google Gemini APIキー(必須) |
GENERATEDIMAGEOUTPUT_PATH |
出力先ディレクトリ(デフォルト: images/generated) |
YYYYMMDD_HHMMSS.pngimages/generated/初回エラー時は以下でインストール:
pip install google-genai pillow python-dotenv