> nano-banana-pro
Generate or edit images via Gemini 3 Pro Image (Nano Banana Pro) with AI Gateway support.
curl "https://skillshub.wtf/happycapy-ai/Happycapy-skills/nano-banana-pro?format=md"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 GEMINI_API_KEY)
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 GEMINI_API_KEY)
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 GEMINI_API_KEY)--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
> related_skills --same-repo
> youtube-music
Search and play music tracks on YouTube Music through MCP integration. Use when user wants to search for songs, play music, or discover tracks on YouTube Music platform.
> xiaohongshu-recruiter
用于在小红书上发布高质量的 AI 相关岗位招聘帖子。包含自动生成极客风格的招聘封面图和详情图,并提供自动化发布脚本。当用户需要发布招聘信息、寻找 Agent 设计师或其他 AI 领域人才时使用。
> writing-clearly-and-concisely
Use when writing prose humans will read—documentation, commit messages, error messages, explanations, reports, or UI text. Applies Strunk's timeless rules for clearer, stronger, more professional writing.
> world-class-carousel
Generate world-class Instagram carousel content on any topic. Produces 7-10 publication-ready slides (1080x1350) with AI-generated visuals, precise typography, Instagram music recommendations, optimized captions, and hashtags. Uses Aristotelian first-principles framework with 7 content archetypes, 6 hook patterns, a mandatory Bullshit Test quality gate, and a comprehensive design system. Fully generalized -- works for ANY topic. Triggers: instagram carousel, create carousel, carousel post, make