DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Video Gen — DeepSeek Harness 插件(DSH Plugin)
← Plugins

dsh-video-gen

Video Gen

为 DeepSeek Harness 带来文生视频和图生视频生成功能 — DashScope Wanx、Volcengine/Doubao Seedance、Google Veo、OpenAI Sora 和兼容中继。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add dsh-video-gen@0.2.4
README兼容性版本

兼容性与来源证明

Video Gen 以 dsh-video-gen 发布,当前版本为 0.2.4。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
npm
Registry 更新时间
2026/9/20

版本

0.2.4stable
2026/9/12
0.2.3stable
2026/9/12
0.2.2stable
2026/9/12
查看其余 2 个版本收起版本
0.2.1stable
2026/8/29
0.2.0stable
2026/8/27

相关插件

正在加载相关插件…

最新版
0.2.4
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
190.5 kB
文件数
14
Surface
web
许可证
MIT
发布源
npm
GitHub
★ 1
周下载
177
安全扫描
✓ v0.2.4 扫描通过
最近提交
2026/8/29
查看源码 ↗项目主页 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录

README

🎬 dsh-video-gen

Bring text-to-video and image-to-video generation to DeepSeek Harness — supports Aliyun Wanx, Volcengine/Doubao Seedance, Google Veo, OpenAI Sora, and compatible relays.

dsh-video-gen cover

English | 简体中文


💡 What Does It Solve?

dsh-video-gen is an open-source video generation plugin built for DeepSeek Harness (DSH).

DeepSeek Harness already enables agents to call various tools to complete tasks. This plugin adds native text-to-video and image-to-video generation:

  • ✅ Multi-provider support: Aliyun DashScope (Wanx), Volcengine/Doubao Seedance, Google Veo, OpenAI Sora, and compatible relays
  • ✅ Two tools: generate_video (text-to-video) and animate_image (image-to-video)
  • ✅ In-conversation playback: Generated videos are displayed directly in the conversation flow
  • ✅ Auto-save to workspace: Videos are saved to the agent's workspace for later use
  • ✅ Video gallery: A session tab that collects every generated video — search, filter, preview, download, delete
  • ✅ Web settings UI: Configure API keys, endpoints, and models visually in DSH Settings

🚀 Quick Start

1. Install the Plugin

Run in your DeepSeek Harness project root:

# Recommended: install from local directory
pnpm dsh plugin --profile web add ./dsh-video-gen

# Or install from npm (after publishing)
pnpm dsh plugin --profile web add dsh-video-gen@latest

2. Configure API Key

Open the DSH Web UI (default http://localhost:3080):

  1. Go to Settings → Plugins → Video generation
  2. Select a provider (Aliyun / Volcengine / OpenAI / Google)
  3. Fill in the corresponding API key and click Save

Credential environment variable names:

  • Aliyun DashScope: DASHSCOPE_API_KEY
  • Volcengine Ark: ARK_API_KEY
  • OpenAI / Relay: OPENAI_API_KEY
  • Google Gemini: GEMINI_API_KEY

You can also set these environment variables in the shell that starts DSH.

3. Generate Videos

Simply tell the agent:

Generate a 5-second video: a cyberpunk cat running through a rainy neon street at night, camera following.

Or animate an existing image:

Animate this image: the cat slowly blinks and its tail swishes, with rain falling in the background.

The agent will automatically call the generate_video or animate_image tool, generate the video, and display it in the conversation.


📖 Supported Providers

ProviderExample ModelEndpointImage-to-Video
Aliyun DashScopewanx2.1-t2v-turbohttps://dashscope.aliyuncs.com/api/v1✅
Volcengine / Doubaodoubao-seedance-1-0-pro-250528https://ark.cn-beijing.volces.com/api/v3✅
Google Veoveo-3.0-generate-previewhttps://generativelanguage.googleapis.com/v1beta/interactions✅
OpenAI Sorasora-2https://api.openai.com/v1❌

🛠️ Tools

generate_video (text-to-video)

  • prompt (required): Complete video description (subject, action, camera, setting, style)
  • size: Resolution or aspect ratio, e.g. 1280*720 (DashScope) or 16:9 (Seedance/Sora)
  • duration: Clip length in seconds, e.g. 5 or 10 (provider-dependent)

animate_image (image-to-video)

  • prompt (required): Describe the motion and animation to apply to the source image
  • source_path: Absolute or workspace-relative path of a source image file
  • source_attachment_id: Attachment id of an image already in the conversation
  • size: Resolution or aspect ratio
  • duration: Clip length in seconds

🖼️ Video Gallery

Every video the agent generates is automatically collected into the Video Gallery — a native session tab next to the conversation (same UX as the dsh-image-gen gallery):

  • Grid overview with hover-to-play previews, provider/model tags, an image-to-video badge, file size, requested duration, and generation date
  • Search by prompt keywords or model, and filter by provider
  • Lightbox preview: click a card to play full-screen with controls
  • Card & lightbox actions: download the file, copy the prompt, delete from the gallery (chat history is untouched; tombstones prevent re-collection)
  • Durable playback: the gallery does not depend on the in-memory cache. Items re-fetch the video from the workspace file — through the HTTP route's persistence fallback and a co-located marker index — so videos keep playing after the 24-entry LRU eviction and after a DSH host restart (as long as "Save to workspace" is enabled, the default)

📝 How It Works

  1. Async tasks: Video generation is asynchronous (submit → poll → download). The plugin handles polling automatically.
  2. In-memory cache: Generated video bytes are cached in memory and streamed to the client via GET /plugins/dsh-video-gen/video?id=… for immediate playback.
  3. Durable fallback: POST /plugins/dsh-video-gen/video with the attachment reference (videoId + savedTo) re-serves the video from the workspace file when the cache has evicted it or the host restarted. A .dsh-video-gen-index.json marker next to the saved videos authorizes post-restart reads; reads are always confined to that video folder, and the client falls back to the cached route when the file is gone.
  4. Workspace persistence: By default, videos are saved to the agent's workspace under the dsh-video-gen subfolder. The file path is returned in the savedTo field.

⚙️ Configuration

Available in Settings → Plugins → Video generation:

  • Provider: Choose provider (Aliyun / Volcengine / OpenAI / Google)
  • Model: Model name
  • Endpoint / Base URL: API endpoint (with reset button to restore defaults)
  • API Key: Credential (write-only, not echoed)
  • Save to Workspace: Save videos to workspace (default: on)
  • Workspace Folder: Subfolder name (default: dsh-video-gen)
  • Poll Interval: Polling interval in ms (default: 5000)
  • Wait Timeout: Max wait time in ms (default: 600000)

📦 Development & Build

This project is written in pure ES modules (no TypeScript build step). The client code is pre-wrapped in the __ModuleLoader__.load format. src/index.ts mirrors lib/index.js as the public type surface — do not run tsc build, it would overwrite the hand-maintained bundles.

# Syntax check
npm run check

# Type check (src as the public type surface)
npm run typecheck

# Tests (node:test, no extra dependencies)
npm test

# Install to web profile
pnpm dsh plugin --profile web add ./dsh-video-gen

📄 License

MIT © Yang-wudi

Portions of this software are adapted from dsh-image-gen (MIT © dsh-image-gen contributors); see LICENSE.


🙏 Acknowledgments

This project is adapted from dsh-image-gen by shanliuling (MIT): the gallery, settings card, in-conversation result cards, and multi-provider architecture derive from its design and code. Thanks to shanliuling for the excellent groundwork.

相关插件

继续浏览 vision-media 分类下经过校验的插件。

Tool Describe Image@linxin666/dsh-tool-describe-image面向模型的 describe_image 工具,用于 dsh Web GUI:通过在兼容 OpenAI 的端点调用视觉语言模型,为文本模型提供图像理解能力,以描述一张图像(本地路径、http(s) URL 或附件引用)。可热插拔 —Modlens@liustack/modlens面向仅支持文本的 LLM 的插件视觉能力,由免费的 Antigravity CLI 提供支持Deepseek Ivideodeepseek-ivideoiPolloWork HyperFrames Video Studio,以及 27 个可编辑视频模板,以原生 DeepSeek Harness 对话视图呈现。Codexdsh-codexChatGPT OAuth、Codex 模型、搜索、read_image URL 支持,以及适用于 DeepSeek Harness 的 gpt-image-2 生成