鱼皮AI导航
鱼皮AI导航
  • 主页
  • 社区
  • AI工具
  • AI知识库
  • AI提示词
  • MCP
  • Skills
  • AI学习资源
  • AI资讯
  • GitHub开源
登录/注册

dsh-audiogen

面向 DeepSeek Harness Web 的 AI 音频插件 —— 多厂商 TTS、音乐、音效与音色设计,含侧边栏面板、模型对比、资源库与 Agent 工具。

语音音频
访问 GitHub
文档README

🎧 dsh-audiogen

AI audio generation for DeepSeek Harness (DSH) — turn your DSH web GUI into an audio studio: text-to-speech, music, sound effects and voice design, from the sidebar panel or straight from the Agent.

English | 简体中文

Main panel

✨ Features

  • Four generation modes: text-to-speech, music, sound effects, and voice design
  • Multi-vendor channels in one place: OpenAI-compatible TTS, MiniMax, ElevenLabs, Stability AI, or any custom OpenAI-compatible / generic POST endpoint
  • Per-channel model & voice catalogs with one-click discovery, display aliases, capability categories, and per-model advanced fields (duration, seed, steps, cfg_scale, loop, prompt influence, and ElevenLabs SFX output format split into format/sample rate/bitrate, combined host-side into the single output_format, …)
  • Model comparison: run the same prompt across 2–4 models at once with per-model parameter overrides — results are grouped side by side
  • Prompt enhancement: rewrite a rough idea into a ready-to-generate description with an LLM (pick any model from Settings → Models; falls back to the agent default model)
  • History with one-click restore: prompt, config, model set and the original audio come back into the panel — no regeneration, no extra cost
  • Resource library: auto-save generated audio (or opt in per run), organized by type — voices / music / SFX / TTS — with search, tags, rename, category moves, and full provenance (channel, model, voice id, prompt, params snapshot). Reuse a voice or music bed instead of regenerating
  • Agent tools: generate_audio and search_audio_library, manage_audio_voices (vendor voice browsing/deletion + prompt-based voice recommendation + role voice casting), plus bundled session skills — the Agent can generate and find audio on demand
  • Role voice casting: assign a primary voice (+ backups) to each character of a novel/game — manage_audio_voices action=cast takes character profiles (JSON array/object or a text description structured first) and applies deterministic hard filters (gender/age/use_case strict; accent is a preference relaxed only when the strict pool is empty) per character; the Agent picks voices globally (no primary reuse across lead/major roles) and action=save_cast validates membership, auto-fills backups, flags reuse and persists the plan to ~/.dsh/dsh-audiogen/cast-selections.json; then TTS with the chosen voice_id (or design a custom voice first via generate_audio(mode=voice_design))
  • Panel voice management: a «音色» entry in the studio's left mode row (next to TTS/music/SFX/voice-design) — browse/filter vendor voices (language/keyword/source + official ElevenLabs shared-voice filters), ask the agent default model to recommend voices for a natural-language requirement (e.g. «清亮甜美的少女音»), preview, delete account-owned voices (confirmed) and backfill the chosen voice_id into the TTS form; every AI recommendation is recorded automatically (last 50, shared by panel and Agent) so you can revisit requirements/channels/reasons and reuse a voice later
  • Keys stay local: API keys live in the local DSH settings document and generation is proxied by the local host; the browser and the Agent never touch plaintext credentials

📸 Screenshots

Generation panelResource library
GenerationLibrary
Library — full provenance drawerChannels settings
Library detailSettings
Channel editor (model catalog & auto capabilities)LLM models (Settings → Models)
Channel editorModels page

📦 Installation

The plugin is published on npm. DSH host (Node ≥ 20) required.

▼
bash
复制代码
dsh plugin --profile web add dsh-audiogen

Local development install:

▼
bash
复制代码
dsh plugin --profile web add /path/to/dsh-audiogen

Restart dsh web after install — the sidebar will show the AI Audio entry.

🚀 Quick start

  1. Open Settings → Plugins → AI Audio
  2. Add a channel: pick a preset provider (+ Add provider) or a custom endpoint (+ Add custom provider)
  3. Fill in the API URL, API key, and the model/voice catalog (use Fetch available models to import them)
  4. Save, then open the AI Audio sidebar panel:
    • choose a mode (Speech / Music / Sound effects / Voice design)
    • type your text or prompt (optional: ✨ Enhance prompt)
    • pick a model — or tick Model comparison for 2–4 models at once
    • press Start generation and play the results, download them, or add them to the resource library

🎛 Modes supported by each vendor

ModeMiniMaxElevenLabsStability AIOpenAI-compatible / custom
TTS✅ (8 voices)✅ (voices + streams)—✅
Music✅ (music-3.0 / music-2.6 / music-cover)✅ (music_v2)✅ (stable-audio-*)✅ (generic POST)
Sound effects—✅ (eleven_text_to_sound_v2, loop / prompt influence / output format as codec+sample rate+bitrate → output_format)✅ (stable-audio-* — same text-to-audio protocol; auto-detected in both Music and SFX)✅ (generic POST)
Voice design✅ (/v1/voice_design)✅ (/v1/text-to-voice/design)——

🤖 Agent usage

ToolPurpose
generate_audioSubmit a TTS / music / SFX / voice-design task; waits for completion and returns same-origin audio URLs. Optional enhance_prompt, save_to_library, per-vendor params.
manage_audio_voicesBrowse/filter the vendor voice libraries (MiniMax, ElevenLabs) with language/keyword/source filters; recommend top-k voices for a natural-language requirement (action=recommend, uses the agent default model, ids validated against the pool); role casting (action=cast prepares per-character filtered candidate pools from character profiles; action=save_cast validates + persists the plan); delete account-owned voices (official/shared/system voices are read-only and refused). Then use the returned voice_id with generate_audio (mode=tts).
search_audio_librarySearch the local resource library (type / category / keyword) and reuse an existing voice, music bed or effect.

Typical session commands (skills bundled with the plugin):

▼
text
复制代码
/audio:tts Read this sentence with a warm voice /audio:music Generate a 30-second lo-fi background track /audio:sfx Create a sci-fi UI cue /audio:design Craft a warm retro synth voice

🔐 Security & data notes

  • API keys are stored in the local DSH settings document; requests are proxied by the local host (/api/dsh-audiogen/*, loopback-only routes)
  • Generation consumes your upstream provider quota; audio content is produced by the upstream model
  • History & library persist under ~/.dsh/dsh-audiogen/
  • Prompt enhancement calls the LLM model you choose (default: agent default model) — no extra API key

🛠 Development

▼
bash
复制代码
pnpm install pnpm run typecheck pnpm run build # outputs lib/ (host + client bundles)

📄 License

Apache-2.0

语音音频

快捷安装

复制到终端去安装插件

dshplugin--profilewebaddgithub:shimingming520/dsh-audiogen

温馨提示

装插件等于在本机跑第三方代码,权限与你相同,能读文件、用凭据、访问网络,工具审批管不到。请只装可信来源,并尽量锁定 commit。

站长:程序员鱼皮 老鱼简历 商务合作 增值电信业务经营许可证
2026 鱼皮AI导航 | 沪ICP备19026706号-6
站长:程序员鱼皮 老鱼简历 商务合作 增值电信业务经营许可证
2026 鱼皮AI导航 | 沪ICP备19026706号-6
🔥热门工具
朱雀AI检测朱雀AI检测
朱雀AI检测助手朱雀AI检测助手
LovartLovart
老鱼简历老鱼简历
WritePass官网WritePass官网
面多多面多多
CursorCursor
星月写作星月写作
零感AI零感AI
墨得问题墨得问题
dsh 插件推荐
dsh-tool-lipsync
DSH 免费对口型口语视频生成插件,支持 3000+ 声音和 500+ 语言。
dsh-plugins#dsh-ding-sound
DSH 对话结束提示音:内置网络热梗原声(你干嘛哎呦、鸡你太美、神鹰哥等),设置面板可试听/切换/随机,支持自定义音频目录。
dsh-voice-assistant
dsh web 语音助手:说出唤醒词(如「小鲸」)即可免手听写,说话内容自动转成文字填入输入框;支持口述编辑指令(发送、清空、换行、停止朗读),并可用中文朗读 AI 回复。语音识别基于 sherpa-onnx WASM 在浏览器本地运行,离线可用、无需 API Key。
dsh-voice-control
DSH 网页端语音控制:按住说话将语音转文字输入发送框(可自动发送),用浏览器语音合成朗读助手回复;右键麦克风打开设置面板,支持 Ctrl+M 全局快捷键。
dsh-talk
DeepSeek Harness 的语音输入输出:麦克风语音转文字与文字转语音。