nanobanana-plus

Use nanobanana-plus CLI to generate images with per-call model switching and aspect ratio control. Direct CLI invocation - no server required. Supports: node nanobanana-plus.mjs generate --prompt 'desc' --filename 'out.png' [--aspect-ratio 16:9] [--model gemini-3.1-flash-image-preview]. Also supports check and models.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "nanobanana-plus" with this command: npx skills add webkubor/nanobanana-plus

nanobanana-plus for OpenClaw

Direct CLI invocation - no HTTP server required.

Quick Start

# Set your API key (once)
export NANOBANANA_GEMINI_API_KEY="your_key_here"

# Generate an image
node nanobanana-plus.mjs generate --prompt "a cute cat" --filename cat.png

Commands

Generate Image

node nanobanana-plus.mjs generate \
  --prompt "一只橘猫坐在雨天窗台上" \
  --filename "cat-window.png" \
  --aspect-ratio "16:9"

Options:

FlagDescription
--promptImage description (required)
--filenameOutput file path
--aspect-ratio16:9, 9:16, 1:1, 4:3, 3:4, 21:9
--modelModel name (see below)
--output-countNumber of images (1-8)

List Available Models

node nanobanana-plus.mjs models

Health Check

node nanobanana-plus.mjs check

Models

ModelDescription
gemini-3.1-flash-image-previewNano Banana 2 (default) - fast, quota-efficient
gemini-3-pro-image-previewNano Banana Pro - higher quality
imagen-4.0-ultra-generate-001Imagen 4 Ultra - best realism (requires Pro key)
imagen-4.0-fast-generate-001Imagen 4 Fast - balanced speed/quality (requires Pro key)

Example with specific model:

node nanobanana-plus.mjs generate \
  --prompt "majestic snowy mountain, photorealistic" \
  --filename mountain.png \
  --model "gemini-3-pro-image-preview" \
  --aspect-ratio "16:9"

Environment

The CLI uses these environment variables (set once in your shell):

export NANOBANANA_GEMINI_API_KEY="your_key"  # Recommended
# or
export GEMINI_API_KEY="your_key"  # Fallback

Notes

  • No server needed - CLI generates images directly
  • edit and restore are not supported in CLI mode (use MCP server for these features)
  • Image files are saved locally and printed with MEDIA: prefix for chat providers

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

ZenStudio CLI

⚠️ 品牌升级通知:ZenStudio CLI (zencli) 已正式升级为 WorkRally。 请使用新 Skill: https://clawhub.ai/tencent-adm/workrally 新 CLI: npm install -g workrally 当前 Skill 仍可使用,但新功能将仅在...

Registry SourceRecently Updated
6721Profile unavailable
Coding

Pixshop CLI — AI Image & Video Generation

Pixshop CLI 命令行工具 — AI 图片/视频生成、编辑工具、应用市场、提示词库 / Pixshop CLI — command-line AI image/video generation, editing tools, apps, prompts. Use when user wants to ge...

Registry Source
3720Profile unavailable
General

OpenRouter Image Generation

Generate images using Google Gemini via OpenRouter API. Supports text-to-image and reference-image-guided generation. Use when the user asks to generate, cre...

Registry SourceRecently Updated
6030Profile unavailable
General

MenuVision

Build beautiful HTML photo menus from restaurant URLs, PDFs, or photos using Gemini Vision and AI image generation

Registry SourceRecently Updated
5850Profile unavailable