dsh-video-remix
Manifest validTurn a script into a narrated explainer video: text-card slides by default (fast and exact for tutorials) or AI-generated footage per segment (needs AGNES_API_KEY); 14 online neural Chinese voices plu
视频创作(dsh-video-remix)
把文案变成带配音的讲解视频。一套能力,两种形态。
| 形态 | 位置 | 给谁用 |
|---|---|---|
| DSH 插件 | 仓库根目录 | DeepSeek Harness:注册 render_video / list_voices / voice_samples |
| 通用 skill | skills/video-remix/ | 任何 agent:analyze / render / samples / voices 四个 CLI 命令 |
插件本身不含生成逻辑,它只是把 skill 暴露成工具 —— 一套实现,两处受益,修 bug 和加音色都只做一遍。
两种画面
| 模式 | 速度 | 适用 |
|---|---|---|
| cards(默认) | 10 段约 1 分钟 | 教程、说明、命令演示 —— 文字一字不差 |
| ai | 每段几分钟 | 宣传片、创意短片 —— 真实画面,但慢且要 AGNES_API_KEY |
教程类建议 cards,因为 AI 生成会把命令和步骤画糊。
DSH 插件用法
render_video(
title="90秒讲清楚这个插件",
voice={ engine: "edge", name: "zh-CN-YunxiNeural" },
segments=[
{ title: "视频之眼", sub: "让纯文本 AI 看懂视频", narration: "这个插件能让纯文本的 AI 看懂视频。" },
...
]
)
list_voices() // 看看有哪些声音
voice_samples() // 为每个音色生成一段同样的话,供人试听挑选
skill 用法
cd skills/video-remix && npm install # 首次需要装 Edge TTS 依赖
node scripts/remix.mjs voices # 列音色
node scripts/remix.mjs samples --out 音色试听 # 生成全部音色试听包
node scripts/remix.mjs analyze 参考视频.mp4 --interval 2 # 抽帧 + 转写
node scripts/remix.mjs render script.json # 渲染
analyze 产出可读材料(带时间码的拼图 + 逐句台词),文案由模型写,落在 script.json 里 —— 每次生成都可检查、可微调。
音色
在线(14 个中文,神经语音) —— 需要联网:
| 音色 | 说明 |
|---|---|
zh-CN-YunxiNeural | ★ 云希,男声,自然百搭(默认) |
zh-CN-XiaoyiNeural | ★ 晓伊,女声,偏年轻 |
zh-CN-YunxiaNeural | ★ 云夏,男声,少年感 |
zh-HK-WanLungNeural | ★ 雲龍,粤语男声 |
| 其余 | 晓晓、云扬、云健、东北小北、陕西小妮、粤语/台湾各音色 |
本地离线(3 个,Windows) —— 慧慧(女)、瑶瑶(女)、康康(男)。老式合成,机械感明显,但不联网。
跑 voice_samples 会把 17 个音色都用同一段话念一遍,听感比名字可靠。
依赖
| 依赖 | 说明 |
|---|---|
| Node ≥ 18 | |
| ffmpeg | 探测顺序:FFMPEG_PATH → 本 skill bin/ → 从 skill 与 cwd 向上找 _tools/... → PATH |
@andresaya/edge-tts | 在线音色。skills/video-remix 下执行 npm install 安装(不进 git) |
| Windows | 仅离线音色需要;其他平台用在线音色 |
AGNES_API_KEY | 仅 visual="ai" 需要 |
与 dsh-video-eyes 的关系
| dsh-video-eyes | dsh-video-remix | |
|---|---|---|
| 干什么 | 看懂视频(抽帧、时间码、转写、识图) | 做视频(配音、卡片、合成) |
| 工具名 | read_video / read_video_transcript | render_video / list_voices / voice_samples |
| 冲突 | 无 | 无 |
两者互补,可以串联:read_video 分析参考片 → 模型写稿 → render_video 产出新片。
都不占用 vision_ 前缀 —— dsh-vision-router 会接管该前缀下的所有工具并在视觉模式关闭时隐藏它们,所以两个插件都刻意避开。
Comments
Loading…
Similar plugins
by Jstn-1g
Consent-bound one-turn voice preview for DSH Web with a credential-free local synthetic demo, optional Qwen Audio, exact Session isolation, and explicit transcript-to-draft handoff without automatic s
★ 1
↓ 316/wk
MIT
TypeScript
Sep 5, 2026
dsh plugin --profile web add dsh-live-voiceby nsswkj
Turns a streaming assistant reply into short blips, one per character at a configurable minimum spacing, for the reply text only, and keeps sounding when the window is minimized, covered, or in a back
★ 0
MIT
JavaScript
Oct 11, 2026
dsh plugin --profile web add dsh-typewriter-blipby loyalchiiina
DSH 对话语音/音效播报插件:每个 turn 结束自动提醒,出错播失败提示;内置 20 个音效(提醒 10 + 大自然 10)零配置开箱即用,也可用火山「声音复刻」克隆自己的音色。
★ 2
MIT
JavaScript
Oct 25, 2026
dsh plugin --profile web add dsh-voice-alertby supersyh-sss
Voice assistant for dsh web: say the wake phrase (e.g. "小鲸") to activate hands-free dictation — what you say is transcribed and typed into the chat box automatically. Supports spoken edit commands (se
★ 3
↓ 217/wk
MIT
JavaScript
Sep 2, 2026
dsh plugin --profile web add dsh-voice-assistantby zmm863-commits
AI image and video studio as a floating DSH panel, so creation runs alongside the conversation instead of replacing it: text-to-image, image-to-image and multi-image composition at 1K-4K across eight
★ 25
↓ 649/wk
NOASSERTION
TypeScript
Oct 4, 2026
dsh plugin --profile web add dsh-agnes-studioby lijiawei255
Speaks a short status line when DSH changes state — turn done, turn error, job done, job failed, goal complete, goal blocked, an approval waiting, or the agent needs your answer — using eight pre-reco
★ 0
JavaScript
Oct 8, 2026
dsh plugin --profile web add dsh-status-chime