Skip to content
Skill

nano-banana-blockrun

by majiayu000

AI Summary

Generate images using Google's Nano Banana model via BlockRun's x402 API. Pay-per-request with USDC on Base - no API keys needed. 2. Get USDC on Base network:

Install

Copy this and paste it into Claude Code, Cursor, or any AI assistant:

I want to install the "nano-banana-blockrun" skill in my project.

Please run this command in my terminal:
# Install skill into your project (2 files)
mkdir -p .claude/skills/nano-banana-blockrun && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/nano-banana-blockrun/SKILL.md "https://raw.githubusercontent.com/majiayu000/claude-skill-registry/main/skills/data/nano-banana-blockrun/SKILL.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/nano-banana-blockrun/metadata.json "https://raw.githubusercontent.com/majiayu000/claude-skill-registry/main/skills/data/nano-banana-blockrun/metadata.json"

Then restart Claude Code (or reload the window in Cursor) so the skill is picked up.

Description

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.

How It Works

• Your request goes to BlockRun API (https://blockrun.ai) • BlockRun returns HTTP 402 Payment Required • SDK signs USDC payment locally (key never leaves your machine) • Only the signature is sent to server • Image is generated and returned No API keys, no subscriptions - just crypto micropayments.

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)

• Install the SDK: `bash pip install blockrun-llm ` • 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 • 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"

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted Today
Active
Adoption100+ stars on GitHub
428 ★ · Growing
DocsREADME + description
Well-documented

GitHub Signals

Stars428
Forks72
Issues0
UpdatedToday
View on GitHub
MIT License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Claude Code