スキル一覧に戻る
aiskillstore

nano-banana-blockrun

by aiskillstore

nano-banana-blockrunは、other分野における実用的なスキルです。複雑な課題への対応力を強化し、業務効率と成果の質を改善します。

102🍴 3📅 2026年1月23日
GitHubで見るManusで実行

SKILL.md


name: nano-banana-blockrun 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." allowed-tools: Read, Bash(python:), Bash(python3:), Bash(pip:), Bash(pip3:)

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:

    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:

    # 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

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:

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

ModelPriceResolution
google/nano-banana~$0.051024x1024
google/nano-banana-pro~$0.10up to 4K
openai/dall-e-3~$0.04-0.121024x1024 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.

スコア

総合スコア

60/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

+5
最近の活動

3ヶ月以内に更新

+5
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

+5

レビュー

💬

レビュー機能は近日公開予定です