nano-banana-blockrun
Nano Banana by BlockRun - Generate images using Google's Nano Banana via x402 micropayments. Use when the user asks to generate, create, draw, or make images. Pay-per-request via USDC on Base, no API keys needed.
Best use case
nano-banana-blockrun is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Nano Banana by BlockRun - Generate images using Google's Nano Banana via x402 micropayments. Use when the user asks to generate, create, draw, or make images. Pay-per-request via USDC on Base, no API keys needed.
Teams using nano-banana-blockrun should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/nano-banana-blockrun/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How nano-banana-blockrun Compares
| Feature / Agent | nano-banana-blockrun | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Nano Banana by BlockRun - Generate images using Google's Nano Banana via x402 micropayments. Use when the user asks to generate, create, draw, or make images. Pay-per-request via USDC on Base, no API keys needed.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Nano Banana by BlockRun
Generate images using Google's Nano Banana model via BlockRun's x402 API.
Pay-per-request with USDC on Base - no API keys needed.
## Setup (one-time)
1. Install the SDK:
```bash
pip install blockrun-llm
```
2. Get USDC on Base network:
- Bridge from Ethereum: https://bridge.base.org
- Or buy directly on Coinbase and withdraw to Base
- You need ~$1-5 USDC to start generating images
3. Set your wallet private key:
```bash
# Copy .env.example to .env and add your key
cp .env.example .env
# Or export directly
export BLOCKRUN_WALLET_KEY=0x...
```
**Network:** Base (Chain ID: 8453)
**Payment:** USDC only
## Generate an Image
```python
from blockrun_llm import ImageClient
client = ImageClient()
result = client.generate("a cute cat wearing a space helmet")
print(result.data[0].url)
```
Or use the script:
```bash
python scripts/generate.py "a cute cat wearing a space helmet"
# Save to a specific directory
python scripts/generate.py "a cute cat" "google/nano-banana" "/path/to/save"
# Or use OUTPUT_DIR environment variable
OUTPUT_DIR=/path/to/save python scripts/generate.py "a cute cat"
```
## Available Models
| Model | Price | Resolution |
|-------|-------|------------|
| `google/nano-banana` | ~$0.05 | 1024x1024 |
| `google/nano-banana-pro` | ~$0.10 | up to 4K |
| `openai/dall-e-3` | ~$0.04-0.12 | 1024x1024 to 1792x1024 |
## How It Works
1. Your request goes to BlockRun API (https://blockrun.ai)
2. BlockRun returns HTTP 402 Payment Required
3. SDK signs USDC payment locally (key never leaves your machine)
4. Only the signature is sent to server
5. Image is generated and returned
No API keys, no subscriptions - just crypto micropayments.
## Security
**Your private key NEVER leaves your machine.**
The SDK uses EIP-712 typed data signing locally. Only the signature is transmitted.
Same security as signing any MetaMask transaction.
## Links
- [BlockRun](https://blockrun.ai)
- [x402 Protocol](https://x402.org)
- [PyPI Package](https://pypi.org/project/blockrun-llm/)Related Skills
nano-pdf
Use `nano-pdf` to apply edits to a specific page in a PDF using a natural-language instruction.
Nano Banana Pro (Gemini 3 Pro Image)
Use the bundled script to generate or edit images.
nanobanana-ppt-skills
AI-powered PPT generation with document analysis and styled images
blockrun
Use when user needs capabilities Claude lacks (image generation, real-time X/Twitter data) or explicitly requests external models ("blockrun", "use grok", "use gpt", "dall-e", "deepseek")
nano-image-generator
Generate images using Nano Banana Pro (Gemini 3 Pro Preview). Use when creating app icons, logos, UI graphics, marketing banners, social media images, illustrations, diagrams, or any visual assets. Supports reference images for style transfer and character consistency. Triggers include phrases like 'generate an image', 'create a graphic', 'make an icon', 'design a logo', 'create a banner', 'same style as', 'keep the style', or any request needing visual content.
nano-banana
Generate images with Google Gemini native image models via inference.sh CLI. Models: Gemini 3 Pro Image, Gemini 2.5 Flash Image. Capabilities: text-to-image, image editing, multi-image input. Triggers: nano banana, gemini image, gemini 3 pro image, gemini 2.5 flash image, google image generation, native image generation, gemini native image
nano-banana-2
Generate images with Google Gemini 3.1 Flash Image Preview (Nano Banana 2) via inference.sh CLI. Capabilities: text-to-image, image editing, multi-image input (up to 14 images), Google Search grounding. Triggers: nano banana 2, nanobanana 2, gemini 3.1 flash image, gemini 3 1 flash image preview, google image generation
nano-banana-builder
Build full-stack web applications powered by Google Gemini's Nano Banana & Nano Banana Pro image generation APIs. Use when creating Next.js image generators, editors, galleries, or any web app that integrates gemini-2.5-flash-image or gemini-3-pro-image-preview models. Covers React components, server actions, API routes, storage, rate limiting, and production deployment patterns.
nanoclaw-repl
Operate and extend NanoClaw v2, ECC's zero-dependency session-aware REPL built on claude -p.
Nanostores — Tiny State Manager
You are an expert in Nanostores, the tiny (< 1KB) state manager for framework-agnostic JavaScript. You help developers manage application state with atoms, maps, computed stores, and async data fetching — working identically across React, Vue, Svelte, Solid, Angular, and vanilla JS with lazy subscriptions that only activate when the store is actually used in a component.
Nano Banana - AI Image Generation
Generate and edit images using Google's Gemini 3 Pro Image model (`gemini-3-pro-image-preview`, nicknamed "Nano Banana Pro" 🍌).
nanoGPT - Minimalist GPT Training
## Quick start