dsh-nanobananapro
Generate images and videos in DeepSeek Harness through the NanoBananaPro API
synmindai
@synmindai
⬇ 2
★ 0
main
安装
dsh plugin --profile web add github:synmindai/dsh-nanobananapro
需要可复现安装时,可在仓库后追加 #commit 固定提交。
Generate images and videos in DeepSeek Harness through the NanoBananaPro API
该插件未提供要点说明,请参考仓库 README。
ai-agentcordisdeepseekdeepseek-harnessdsh-pluginimage-generation
- 安装并启动 DeepSeek Harness:
npx @deepseek-ai/dsh web - 在终端执行上面的安装命令(CLI 会解析插件并核验来源)
- 用 dsh plugins list 确认已安装,必要时重启 Harness 生效
插件以当前 dsh 进程的权限运行,安装时可能执行代码。请先通读仓库源码与许可证,确认无破坏性命令与越权访问;本站只做索引,不对第三方插件安全性作担保。
| 代码仓库 | github.com/synmindai/dsh-nanobananapro |
| 许可证 | MIT |
| 主要语言 | main |
| 下载量 | 2 |
| GitHub 星标 | 0 |
| 最近推送 | 2026-08-14 |
| 收录日期 | 2026-09-19 |
| 分类 | 工具与能力 |
事实信息来自公开插件目录快照(2026-10-01),介绍文案由本站再加工。
以下为插件仓库 README 全文(原始内容,由公开目录抓取整理)。
# NanoBananaPro for DeepSeek Harness
[](https://www.npmjs.com/package/dsh-nanobananapro)
[](https://github.com/deepseek-ai/deepseek-harness)
[](./LICENSE)
`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`
[中文说明](./README.zh-CN.md)
## Account, API key, and recharge
1. Sign in at .
2. Buy **API credits** at .
3. Create an API key at .
4. Keep the key private. Set it in the environment that launches Harness:
```bash
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:
## Install
```bash
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:
```bash
npx -y @deepseek-ai/dsh plugin --profile web add .
```
## Try it
```text
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.
```
```text
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:
```yaml
- 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
```bash
npm run check
npm test
npm run pack:check
```
The package ships plain JavaScript and does not need an install-time build
script.
数据来源:公开的 DeepSeek Harness 插件目录与各插件 GitHub 仓库。本站为独立第三方目录,与 DeepSeek、幻方(High-Flyer)及插件作者均无隶属或背书关系。