dshbase

插件目录 / Developer / dsh-nanobananapro

dsh-nanobananapro

已验证 · 实测可装 synmindai

✓ 持续维护 基于 4 个官方 DSH 包

查看 GitHub ↗ ← 返回插件目录

0Stars
0Forks
0未关闭 issue
—语言
2026-08-14最近推送
跨平台平台

功能简介

DeepSeek Harness plugin for NanoBananaPro image and video generation

✅
我们的评价
可用 — 实测通过,早期项目

DeepSeek Harness plugin for NanoBananaPro image and video generation 实测能干净安装、正常启动。早期项目,但功能可用。

「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

README

NanoBananaPro for DeepSeek Harness

npm
DeepSeek Harness
License: MIT

dsh-nanobananapro adds native image and video generation to DeepSeek Harness
through the NanoBananaPro public API. It uses a user-owned NanoBananaPro API key;
provider, billing, database, and storage credentials stay on the NanoBananaPro
service.

Tools:

  • nanobananapro_generate_image
  • nanobananapro_generate_video
  • nanobananapro_get_task
  • nanobananapro_get_balance
  • nanobananapro_account_help

中文说明

Account, API key, and recharge

  1. Sign in at https://api.bananapro.site.

  2. Buy API credits at https://api.bananapro.site/api-pricing.

  3. Create an API key at https://api.bananapro.site/api-keys.

  4. Keep the key private. Set it in the environment that launches Harness:

    export NANOBANANAPRO_API_KEY='sk-...'
    
  5. Restart Harness and ask it to call nanobananapro_get_balance.

NanoBananaPro has separate web-playground and API wallets. This plugin consumes
the API wallet, so purchasing ordinary web credits does not fund API calls.
The balance tool returns both values and the correct recharge link.

Official API documentation: https://api.bananapro.site/api-docs

Install

npx -y @deepseek-ai/dsh plugin --profile web add dsh-nanobananapro
npx -y @deepseek-ai/dsh --profile web --dump-config
npx -y @deepseek-ai/dsh web --profile web

The config dump should contain a nanobananapro bundle layer.

To install a cloned checkout instead:

npx -y @deepseek-ai/dsh plugin --profile web add .

Try it

Check my NanoBananaPro API balance. Then create a 16:9, 2K cinematic hero
image of a transparent running shoe on chrome. Wait for the result.
Use NanoBananaPro Veo 3 Fast to create a cinematic 16:9 video of a yellow paper
airplane gliding through a clean blue studio. Wait for the final video link.

Reference media must be reachable through public HTTPS URLs. The plugin does
not upload local files; upload them to a public object store or the product UI
first, then pass the resulting URL.

Safety and billing behavior

  • Paid image and video tools ask for approval by default.
  • The API key is resolved through Harness credentials and is never a model tool
    argument.
  • Every paid submission sends an Idempotency-Key; automatic retries reuse it.
  • Retryable 429 and 5xx responses are retried with bounded backoff.
  • Cancellation aborts requests and foreground polling.
  • 401 errors point to API-key management; 402 errors point to API recharge.
  • If the foreground wait expires, the task is returned with timed_out: true.
    Continue with nanobananapro_get_task; do not submit a duplicate request.

Configuration

Override the bundle in $DSH_HOME/profiles/web/cordis.patch.yml only when
needed:

- id: nanobananapro
  config:
    apiBaseUrl: https://gateway.bananapro.site
    apiKeyEnv: NANOBANANAPRO_API_KEY
    requestTimeoutMs: 30000
    pollIntervalMs: 3000
    imageWaitTimeoutMs: 300000
    videoWaitTimeoutMs: 900000
    maxRetries: 2
    retryDelayMs: 500
    requireApproval: true
    allowLocalHttp: false

Harness config rows are replaced as a whole, so retain every setting when
overriding the row. Disable requireApproval only for a trusted automation with
an intentional spending limit.

Validate

npm run check
npm test
npm run pack:check

The package ships plain JavaScript and does not need an install-time build
script.

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 dsh-nanobananapro」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

Web profile:

dsh plugin --profile web add github:synmindai/dsh-nanobananapro

Headless(CLI)profile:

dsh plugin --profile headless add github:synmindai/dsh-nanobananapro

实测报告

验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。

安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

Developer 里更多

浏览全部 7819 个插件 →