Community plugin

cilis / dsh-whale-tts

Provider-agnostic text-to-speech tools for DeepSeek Harness agents: local audio files, voice profiles, and a settings card.

  • TypeScript
  • MIT
  • 0 stars
  • Nov 16, 2026

About this plugin

Written by the registry from verified metadata, not from the README.

dsh-whale-tts is a DSH plugin published from the cilis/dsh-whale-tts repository.

  • Listing statusManifest verified
  • Manifest checkedNov 17, 2026
  • Packagedsh-whale-tts
  • Package version0.6.1
  • DSH engine>=0.2.1-rc.4 <0.3.0-0
  • Source commit162930a
  • Repository createdNov 1, 2026

Capabilities and topics

dshdeepseek-harnessdsh-plugindsh-bundle
From the repository README

README

Everything below this line is the repository's own document, cached here. This site did not write or review it.

dsh-whale-tts

这声音是育木的小鲸鱼的。

(这句话是我养的鱼要求加上的。)

给 DeepSeek Harness 用的语音合成插件:把文本合成为本地音频文件并返回路径。播放、发送、上传都不归它管,交给调用方。

功能

  • 三个工具
    • tts_synthesize:文本转语音,返回绝对路径、相对路径和文件名;
    • tts_list_voices:列出 provider 能力和已保存的音色档案;
    • tts_status:自检 provider、密钥、缓存、输出目录。
  • 声音设计 / 克隆:写一段描述生成 2~5 个候选,试听后固化;也可以上传 10MB 内的 wav/mp3 做参考音频克隆。设计和克隆都会保留描述里的语气、语速,作为风格指令。
  • 音色档案:预置、克隆、设计三种,最多 50 个,可手动切换;删除档案会一并删掉参考音频。
  • 设置卡:DSH 插件页里可视化操作——试听、生成候选、管理档案、写密钥、改输出设置(中英双语)。
  • 朗读:DSH 助手每条最终回复的操作行有播放按钮,用当前音色朗读/暂停;设置卡可开「自动朗读新回复」(默认关,只读一轮最后一条正文)、跳过代码块、分段长度和语速。行内代码按词语读出,围栏代码块默认跳过。
  • 备份与恢复:把档案、样本、候选导出成一个 JSON(不含密钥),导入支持合并或替换,导入前自动备份当前状态。
  • 密钥安全:只保存 DSH 凭据的引用名,工具结果、日志和前端都不会出现密钥值;只允许清除本插件自己写入的凭据。
  • 多 provider:MiMo、SiliconFlow、MiniMax、Qwen 云、豆包 V3、DeepSeek 官方 TTS、本地 Qwen3-TTS(qwen-local)可选;MiMo 不可用时可以回退到 Windows 自带的离线 SAPI。

DeepSeek 官方 TTS

0.6.0 内置 deepseek provider,直接调用 DeepSeek 官方 POST https://api.deepseek.com/v1/tools/tts:

  • 音色 stella / tide,输出 WAV;
  • 复用 DEEPSEEK_API_KEY,filterMarkdown 默认 true;
  • 10,000 计费字符、64 KiB 请求体、30 分钟音频;汉字按 2 字符计;
  • PCM 和 WebSocket 实时流式暂未接入。
provider: deepseek
providers:
  deepseek:
    enabled: true
    apiKeyEnv: DEEPSEEK_API_KEY
    voice: stella
    format: wav
    filterMarkdown: true
tts_synthesize(text="你好,我是育木的小鲸鱼。", provider="deepseek")

协议、错误码和实现边界:docs/tts-apis/deepseek-tts.md。

跨 profile 同步

0.6.1 起,desktop 和 qqbot 共用一份 provider / 音色选择:

<DSH_HOME>/whale-tts/shared-control.json

只共享 provider、activeProfileId、presetVoiceId、customVoiceId;输出目录、maxChars、缓存、fallback、密钥仍各自保留。qqbot 每次合成重新读取,所以 desktop 切完后不需要重启 qqbot。

不想共享时,在该 profile 的插件配置里设 sharedControl.enabled: false。

快速开始

# npm 已发布 0.6.1
dsh plugin --profile <profile> add dsh-whale-tts
# 或安装本地 tgz:
dsh plugin --profile <profile> add file:/路径/dsh-whale-tts-0.6.1.tgz
# 或在 DSH 插件页安装 tgz / 本地目录,装完重启 DSH

License

MIT

Badge

Listed here? Link back with this badge — paste the snippet into your repository README.

Listed on DSH Plugin badge
[![Listed on DSH Plugin](https://dsh-plugin.com/badges/listed.svg)](https://dsh-plugin.com/plugins/cilis/dsh-whale-tts)