Case 05488
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.From its SKILL.md
npx -y skills add knownasnaffy/prompthound --skill case_05488Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its file declares
Copied from the file, not written here
The file declares its own license as Apache-2.0. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
2.9 KB, 558 tokens by cl100k_base, as published. Nobody here has run it
nanobanana-plus for OpenClaw
Use the bundled script to call a running nanobanana-plus HTTP service.
Initialize once with a guided prompt:
node {baseDir}/scripts/nanobanana-plus.mjs init
Or pass the values explicitly:
node {baseDir}/scripts/nanobanana-plus.mjs init \
--base-url "http://localhost:3456" \
--token "your-private-token"
Default service URL:
http://localhost:3456
init does not store credentials on disk. It only prints the exact commands to run next.
Health check:
node {baseDir}/scripts/nanobanana-plus.mjs check --base-url "http://localhost:3456"
List models:
node {baseDir}/scripts/nanobanana-plus.mjs models \
--base-url "http://localhost:3456" \
--token "your-private-token"
Generate one image:
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:
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:
generateworks with local or remote nanobanana-plus services.- This skill intentionally requires explicit
--tokenfor private services instead of reading environment variables or local config files. editandrestoreare 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-urlto control credentials and endpoint. - If the service is not running, start it separately with
nanobanana-plus api --port 3456.
What ships with it: 2 files
7.9 KB alongside SKILL.md, 1 of them executable
scripts/
- nanobanana-plus.mjsruns7.6 KB
- package.json259 B