返回顶部
n

nanobanana-plus

Use nanobanana-plus over HTTP to generate images with per-call model switching and aspect ratio control. Best for OpenClaw / 小龙虾 users who have a running nanobanana-plus service. Run init for a guided setup, then use: node {baseDir}/scripts/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.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.5.3
安全检测
已通过
156
下载量
0
收藏
概述
安装方式
版本历史

nanobanana-plus

# nanobanana-plus for OpenClaw Use the bundled script to call a running `nanobanana-plus` HTTP service. Initialize once with a guided prompt: ```bash node {baseDir}/scripts/nanobanana-plus.mjs init ``` Or pass the values explicitly: ```bash node {baseDir}/scripts/nanobanana-plus.mjs init \ --base-url "http://localhost:3456" \ --token "your-private-token" ``` Default service URL: ```bash http://localhost:3456 ``` `init` does not store credentials on disk. It only prints the exact commands to run next. Health check: ```bash node {baseDir}/scripts/nanobanana-plus.mjs check --base-url "http://localhost:3456" ``` List models: ```bash node {baseDir}/scripts/nanobanana-plus.mjs models \ --base-url "http://localhost:3456" \ --token "your-private-token" ``` Generate one image: ```bash node {baseDir}/scripts/nanobanana-plus.mjs generate \ --base-url "http://localhost:3456" \ --prompt "一只橘猫坐在雨天窗台上" \ --filename "cat-window.png" \ --aspect-ratio "16:9" \ --token "your-private-token" ``` Generate multiple images: ```bash node {baseDir}/scripts/nanobanana-plus.mjs generate \ --base-url "http://localhost:3456" \ --prompt "cinematic sci-fi alley at night" \ --filename "alley.png" \ --output-count 2 \ --model "gemini-3-pro-image-preview" \ --token "your-private-token" ``` Notes: - `generate` works with local or remote nanobanana-plus services. - This skill intentionally requires explicit `--token` for private services instead of reading environment variables or local config files. - `edit` and `restore` are intentionally omitted from the ClawHub skill so it does not send local file paths or local file contents over HTTP. - The script writes image files locally and prints `MEDIA:` lines so supported chat providers can auto-attach the outputs. - The script no longer reads tokens from environment variables and no longer stores credentials on disk. - Use `init`, `--token`, or `--base-url` to control credentials and endpoint. - If the service is not running, start it separately with `nanobanana-plus api --port 3456`.

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 nanobanana-plus-1776015092 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 nanobanana-plus-1776015092 技能

通过命令行安装

skillhub install nanobanana-plus-1776015092

下载 Zip 包

⬇ 下载 nanobanana-plus v1.5.3

文件大小: 4.85 KB | 发布时间: 2026-4-13 11:10

v1.5.3 最新 2026-4-13 11:10
OpenClaw Skill 改为直调 CLI,无需启动 HTTP 服务

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部