A comprehensive Claude Code skill for building with the NanoBananas.AI API. Covers image generation, video generation, pricing, authentication, and includes ready-to-use code examples.
This is an Agent Skill for Claude Code that teaches Claude how to use the NanoBananas.AI API. Once installed, you can ask Claude to help you integrate NanoBananas image and video generation into your projects.
# Add as a Claude Code plugin
claude plugin add github:ailingqu/nanobananas-api-guideOr manually copy SKILL.md to your project:
mkdir -p .claude/skills/nanobananas-api-guide
cp SKILL.md .claude/skills/nanobananas-api-guide/After installation, use it in Claude Code:
/nanobananas-api-guide How do I generate an image with Python?
/nanobananas-api-guide What are the video generation pricing options?
/nanobananas-api-guide Help me set up async image generation in Node.js
Or just ask naturally — Claude will automatically activate the skill when relevant:
"Help me integrate NanoBananas API into my app"
- Authentication — API key setup and subscription requirements
- Image Generation — 5 models, sync & async APIs, img2img, aspect ratios, resolutions
- Video Generation — Veo 3.1, Sora 2, Seedance 1.0/1.5/2.0 Pro with full parameter reference
- Code Examples — Python, Node.js, cURL for every use case
- Pricing — Complete credit costs for all models and subscription plans
- Error Handling — Status codes, rate limits, troubleshooting
| Model ID | Name | Credits (1k/2k/4k) |
|---|---|---|
gemini-2.5-flash-image-preview |
Nano Banana | 10 / 15 / - |
gemini-3.1-pro-image-preview |
Nano Banana 2 | 25 / 35 / 60 |
gemini-3-pro-image-preview |
Nano Banana Pro | 30 / 50 / 80 |
gemini-3-pro-image-preview-vip |
Nano Banana Pro VIP | 40 / 60 / 90 |
sora_image |
GPT-4o | 10 / - / - |
| Model | Duration | Credits |
|---|---|---|
| Veo 3.1 Fast | 8s | 150 |
| Seedance 1.0 Pro | 5-10s | 30-200 |
| Seedance 1.5 Pro | 5-12s | 120-360 |
| Seedance 2.0 Pro | 15s | 1200 |
| Sora 2 | 10-15s | 160-900 |
- NanoBananas.AI — Main website
- API Documentation — Interactive API docs
- Pricing Plans — Subscription & credit packages
- API Keys — Manage your API keys
MIT