mcpField
N
nano-banana

nano-banana

github.com/magentoshクリエイティブ・メディア447 回インストール12 週間前に更新
リポジトリ

nano-banana について

`belt` コマンドラインから Google Gemini の画像モデルを使い、画像を生成・編集するスキルです。プロンプトによる生成、入力画像、出力オプションの指定に対応します。

主な機能

  1. 01プロンプトから画像を生成
  2. 02入力画像を使って編集
  3. 03画像数とアスペクト比を指定
  4. 04出力形式と解像度を設定
  5. 05Google Search のグラウンディングを有効化

活用シーン

  1. 01テキスト指示からイラストを作成
  2. 02既存画像を編集
  3. 03指定した比率で画像を生成

インストール

コマンドをコピーしてターミナルで実行します。

$npx skills add https://github.com/magentosh/superpowers --skill nano-banana

インストール後、Claude Code で/nano-bananaを入力して読み込まれたか確認します。

詳細

belt CLI スキルをインストール: npx skills add belt-sh/cli

Nano Banana - Gemini ネイティブ画像生成

inference.sh CLI を使用して、Google Gemini のネイティブ画像モデルで画像を生成します。

Nano Banana

クイックスタート

inference.sh CLI(belt)が必要です。インストール方法

belt login

belt app run google/gemini-3-pro-image-preview --input '{"prompt": "a banana in space, photorealistic"}'

モデル

モデルアプリ ID速度品質
Gemini 3 Pro Imagegoogle/gemini-3-pro-image-preview遅い最高
Gemini 2.5 Flash Imagegoogle/gemini-2-5-flash-image速い非常に高い

Gemini 画像アプリを検索

belt app search "gemini image"

例

基本的なテキストから画像への生成
belt app run google/gemini-3-pro-image-preview --input '{
  "prompt": "A futuristic cityscape at sunset with flying cars"
}'
複数の画像
belt app run google/gemini-2-5-flash-image --input '{
  "prompt": "Minimalist logo design for a coffee shop",
  "num_images": 4
}'
カスタムのアスペクト比
belt app run google/gemini-3-pro-image-preview --input '{
  "prompt": "Panoramic mountain landscape with northern lights",
  "aspect_ratio": "16:9"
}'
画像編集(入力画像あり)
belt app run google/gemini-2-5-flash-image --input '{
  "prompt": "Add a rainbow in the sky",
  "images": ["https://example.com/landscape.jpg"]
}'
高解像度(4K)
belt app run google/gemini-3-pro-image-preview --input '{
  "prompt": "Detailed illustration of a medieval castle",
  "resolution": "4K"
}'
Google 検索によるグラウンディング
belt app run google/gemini-3-pro-image-preview --input '{
  "prompt": "Current weather in Tokyo visualized as an artistic scene",
  "enable_google_search": true
}'

入力オプション

パラメーター型説明
promptstring必須。 生成または変更する内容
imagesarray編集用の入力画像(最大 14 枚)
num_imagesinteger生成する画像の枚数
aspect_ratiostring出力比率:「1:1」、「16:9」、「9:16」、「4:3」、「3:4」、「auto」
resolutionstring「1K」、「2K」、「4K」(Gemini 3 Pro のみ)
output_formatstring画像の出力形式
enable_google_searchbooleanリアルタイム情報のグラウンディングを有効化

プロンプトのヒント

スタイル:フォトリアリスティック、イラスト、水彩画、油絵、デジタルアート、アニメ、3D レンダリング

構図:クローズアップ、ワイドショット、空撮、マクロ、ポートレート、風景

照明:自然光、スタジオ照明、ゴールデンアワー、ドラマチックな影、ネオン

詳細:質感、色、ムード、雰囲気について具体的な詳細を追加します

ワークフローの例

# 1. Generate sample input to see all options
belt app sample google/gemini-3-pro-image-preview --save input.json

# 2. Edit the prompt
# 3. Run
belt app run google/gemini-3-pro-image-preview --input input.json

関連スキル

# Full platform skill (all apps)
npx skills add inference-sh/skills@infsh-cli

# All image generation models
npx skills add inference-sh/skills@ai-image-generation

# Video generation (for image-to-video)
npx skills add inference-sh/skills@ai-video-generation

すべての画像アプリを見る:belt app list --category image

ドキュメント

コメント