Install
$ agentstack add skill-happycapy-ai-happycapy-skills-nano-banana-pro ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo 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 No
- ✓ 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.
About
Nano Banana Pro (Gemini 3 Pro Image)
Generate or edit images using Gemini 3 Pro Image via AI Gateway or direct API.
Quick Start
Generate an image:
python3 {baseDir}/scripts/generate_image.py \
--prompt "your image description" \
--filename "output.png" \
--resolution 1K
Usage Examples
Generate Image
python3 {baseDir}/scripts/generate_image.py \
--prompt "a cute cat sitting on a wooden floor" \
--filename "cat.png"
Edit Image (requires GEMINIAPIKEY)
Note: Image editing currently requires direct Gemini API access.
export GEMINI_API_KEY="your-gemini-key"
python3 {baseDir}/scripts/generate_image.py \
--prompt "make it more colorful" \
--filename "cat-colorful.png" \
-i "cat.png"
Multi-image Composition (up to 14 images, requires GEMINIAPIKEY)
python3 {baseDir}/scripts/generate_image.py \
--prompt "combine these into one scene" \
--filename "combined.png" \
-i img1.png -i img2.png -i img3.png
API Key Configuration
The skill automatically detects API keys in this priority order:
AI_GATEWAY_API_KEY(recommended) - Uses AI GatewayGEMINI_API_KEY- Direct Gemini API access--api-keyargument - Manual key override
Recommended: AI Gateway (default)
export AI_GATEWAY_API_KEY="your-gateway-key" # Usually pre-configured
✅ No additional dependencies required ✅ Cost-efficient and unified API management ❌ Image editing not currently supported
Alternative: Direct Gemini API
export GEMINI_API_KEY="your-gemini-key"
✅ Supports image editing and multi-image composition ❌ Requires google-genai package: pip install google-genai
Options
--prompt, -p: Image description (required)--filename, -f: Output filename (required)--resolution, -r: Resolution (1K,2K,4K, default:1K)--input-image, -i: Input image(s) for editing (up to 14, requires GEMINIAPIKEY)--api-key, -k: Manual API key override
Notes
- Resolutions:
1K(default),2K,4K - Use descriptive filenames with timestamps:
2024-12-31-cat.png - The script outputs a
MEDIA:line for OpenClaw integration - AI Gateway mode works with standard Python 3, no extra tools needed
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: happycapy-ai
- Source: happycapy-ai/Happycapy-skills
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.