dsh-seedance2
Generate images and Seedance videos in DeepSeek Harness through the Seedance 2 AI API
synmindai
@synmindai
⬇ 1
★ 0
main
安装
dsh plugin --profile web add github:synmindai/dsh-seedance2
需要可复现安装时,可在仓库后追加 #commit 固定提交。
Generate images and Seedance videos in DeepSeek Harness through the Seedance 2 AI API
该插件未提供要点说明,请参考仓库 README。
ai-agentcordisdeepseekdeepseek-harnessdsh-pluginimage-generation
- 安装并启动 DeepSeek Harness:
npx @deepseek-ai/dsh web - 在终端执行上面的安装命令(CLI 会解析插件并核验来源)
- 用 dsh plugins list 确认已安装,必要时重启 Harness 生效
插件以当前 dsh 进程的权限运行,安装时可能执行代码。请先通读仓库源码与许可证,确认无破坏性命令与越权访问;本站只做索引,不对第三方插件安全性作担保。
| 代码仓库 | github.com/synmindai/dsh-seedance2 |
| 许可证 | MIT |
| 主要语言 | main |
| 下载量 | 1 |
| GitHub 星标 | 0 |
| 最近推送 | 2026-08-14 |
| 收录日期 | 2026-09-19 |
| 分类 | 工具与能力 |
事实信息来自公开插件目录快照(2026-10-01),介绍文案由本站再加工。
以下为插件仓库 README 全文(原始内容,由公开目录抓取整理)。
# Seedance 2 for DeepSeek Harness
[](https://www.npmjs.com/package/dsh-seedance2)
[](https://github.com/deepseek-ai/deepseek-harness)
[](./LICENSE)
`dsh-seedance2` adds image and video generation to DeepSeek Harness through the
Seedance 2 AI public API. The same plugin can create images with Nano Banana Pro,
Nano Banana 2 Lite, or GPT Image 2 and create videos with Seedance 2 or
Seedance 2.5.
Tools:
- `seedance2_generate_image`
- `seedance2_generate_video`
- `seedance2_get_task`
- `seedance2_account_help`
[中文说明](./README.zh-CN.md)
## Account, credits, and API key
1. Sign up or sign in at .
2. Buy credits at .
3. Create and manage an API key at .
4. Set the key only in the environment that launches Harness:
```bash
export SEEDANCE2_PUBLIC_API_KEY='sk-...'
```
5. Restart Harness.
Use the public key created on the API page. Internal provider credentials such
as `SEEDANCE_API_KEY` are not accepted by the public API.
Official API documentation and current model parameters:
## Install
```bash
npx -y @deepseek-ai/dsh plugin --profile web add dsh-seedance2
npx -y @deepseek-ai/dsh --profile web --dump-config
npx -y @deepseek-ai/dsh web --profile web
```
The config dump should contain a `seedance2` bundle layer.
To install a cloned checkout instead:
```bash
npx -y @deepseek-ai/dsh plugin --profile web add .
```
## Try it
```text
Use Seedance 2 AI Nano Banana Pro to generate a 1:1, 2K premium packaging
mockup on a clean studio floor. Wait for the final image.
```
```text
Use Seedance 2 Pro to turn this public HTTPS opening image into a five-second
720p 16:9 video. Use a slow dolly shot, generate audio, and wait for the result.
```
```text
Use Seedance 2.5 media-to-video with these public HTTPS reference images and
video. State the role of each reference inside the prompt and wait for output.
```
Reference assets must be public HTTPS URLs. For best Seedance results, describe
the subject, action, scene, camera movement, visual style, constraints, and the
role of every supplied asset in the prompt.
## Safety and billing behavior
- Paid image and video tools ask for approval by default.
- The API key is resolved through Harness credentials and never exposed as a
model argument.
- Every paid request carries an `Idempotency-Key`; automatic retries reuse it.
- Retryable `429` and `5xx` responses use bounded backoff.
- Cancellation aborts requests and foreground polling.
- Failed tasks surface `credits_refunded` from the API.
- If foreground waiting times out, continue the original task with
`seedance2_get_task`; do not pay for a duplicate submission.
- Authentication and insufficient-credit errors return the official key or
recharge page.
## Configuration
Defaults are production-ready. Override only when necessary:
```yaml
- id: seedance2
config:
apiBaseUrl: https://www.seedance2ai.io
apiKeyEnv: SEEDANCE2_PUBLIC_API_KEY
requestTimeoutMs: 30000
pollIntervalMs: 3000
imageWaitTimeoutMs: 300000
videoWaitTimeoutMs: 900000
maxRetries: 2
retryDelayMs: 500
requireApproval: true
allowLocalHttp: false
```
Put this row in `$DSH_HOME/profiles/web/cordis.patch.yml`. Harness replaces the
whole config row, so keep every setting. Disable approval only for a trusted,
deliberately budgeted automation.
## Validate
```bash
npm run check
npm test
npm run pack:check
```
The package ships plain JavaScript and needs no install-time build script.
数据来源:公开的 DeepSeek Harness 插件目录与各插件 GitHub 仓库。本站为独立第三方目录,与 DeepSeek、幻方(High-Flyer)及插件作者均无隶属或背书关系。