Back to directory

dsh-gpt-sovits

In a curated listMaintenance: Active

91koukou/dsh-gpt-sovits

GPT-SoVITS text-to-speech for DeepSeek Harness

View on GitHub
$ dsh plugin --profile desktop add github:91koukou/dsh-gpt-sovits

13

stars

2

forks

JavaScript

Language

MIT

License

2026-10-02

Created

2026-10-21

Last push

DeepSeek Harness GUI plugin that reads finalized replies aloud through your own loopback GPT-SoVITS engine — per-reply 🔊 button, queued auto-read, voice presets, no weights or engine bundled.

DSH integration

Native runtime

Author-claimed

Safety audit

Unaudited

Last verified

2026-11-25

License

MIT

01What can it help you accomplish?

  • Turn each finished assistant reply in the DSH Web GUI into speech with your own local voice

    A 🔊 button on every finalized reply plus a speaker toggle that queues auto-read: only the newly arrived, sentence-complete part of a streaming reply is spoken, one sentence after another, and each reply is read once

    DSH desktop and Web users who already run a GPT-SoVITS engine and want replies read aloud without sending text to a cloud service

  • Keep a reusable voice-preset library and tune the synthesis from one settings panel

    Presets made of name + reference audio + reference text + reference language, plus speed, temperature, top-k, top-p, sampling steps and volume — per-sentence parameters take effect from the next sentence, and settings land in `$DSH_HOME/gpt-sovits/`

    People running several trained voices who do not want the model reloaded for every read-aloud

  • Make technical replies sound like a person reading them out loud

    Symbols, units and numbers spoken as words (`cmd.exe` → 「cmd点exe」, `120km/h` → 「120千米每小时」), code blocks skipped, URLs / paths / hashes replaced by 链接 / 路径 / 编号 / 长代码, and pauses inserted by punctuation with the engine's own silence trimmed

    Anyone who listens to replies full of paths, units, tables and hashes instead of reading them

02How to install into DeepSeek Harness

Prerequisites

  • A deployed GPT-SoVITS whose `api_v2.py` actually runs — the plugin never starts the engine for you
  • At least one GPT (`.ckpt`) + SoVITS (`.pth`) weight pair you trained, plus a reference clip that lives on a path the engine's machine can read
  • DSH desktop or Web build; the install command targets the `desktop` profile

Installation steps

  1. 01

    Start the engine yourself from your GPT-SoVITS directory: `runtime\python.exe api_v2.py -a 127.0.0.1 -p 9880 -c GPT_SoVITS/configs/tts_infer.yaml` — the first model load takes roughly 12–30 s

  2. 02

    Add the plugin: `dsh plugin --profile desktop add github:91koukou/dsh-gpt-sovits` (a specific release works too: append `#v0.3.0`)

    $ dsh plugin --profile desktop add github:91koukou/dsh-gpt-sovits

  3. 03

    Refresh the page — the client half is composed into the startup bundle, so a new plugin needs one page load before it appears

  4. 04

    Open 设置 → 语音朗读(GPT-SoVITS), set the engine address (default `http://127.0.0.1:9880`) and at least one voice preset (name, reference audio path, reference text, reference language)

  5. 05

    Fill 参考音频文本 for every preset: leaving it empty makes the engine recognize the reference clip first, so the first synthesis grows from ~1.5 s to ~40 s

Verify the integration

  • `node scripts/selfcheck.mjs` — the offline self-check, 62 items
  • `node scripts/integration.mjs` — 16-item integration test that needs the engine running
  • A 🔊 button appears on each finalized reply and the speaker toggle sits to the left of the composer

Rollback

  • `dsh plugin --profile desktop remove dsh-gpt-sovits` — the README's uninstall command

03DSH integration and capability boundaries

DSH integrationNative runtime

Native DSH GUI plugin: `dsh plugin --profile desktop add` drops a browser half into the Web GUI (a 🔊 action-bar button on every finalized reply and a speaker toggle beside the composer) and a host half that calls your own GPT-SoVITS `api_v2.py` over loopback, with a settings page at 设置 → 语音朗读(GPT-SoVITS).

  • Per-reply read-aloud button

    A click on the 🔊 button in a finalized reply's action bar→Speech for that reply; clicking again stops it, clicking another reply switches to it

    playback is single-channel: starting one reply preempts the one already playing
  • Queued auto-read that survives turns and sessions

    The speaker toggle left of the composer→Only the newly arrived, sentence-complete text of a streaming reply is synthesized and queued; a new turn clears the queue and cancels in-flight synthesis, a conversation switch stops playback, and each reply is read once

    auto-read never interrupts the sentence currently being spokenswitching conversations stops playback instead of continuing in the background
  • Voice presets with per-sentence synthesis parameters

    Preset name, reference audio path, reference text and reference language, plus speed / temperature / top-k / top-p / sampling steps in the settings panel→Every sentence is synthesized with the current values, a default preset can be set, and an unchanged weight pair skips the model switch

    the preset library and all other settings are written to `$DSH_HOME/gpt-sovits/`reference audio paths must be readable by the machine running the engine, not by the browser
  • Spoken-form text normalization

    The reply markdown that is about to be synthesized→Symbols, units and numbers become spoken words, code blocks are skipped whole, URLs / paths / hashes / long identifiers collapse to 链接 / 路径 / 编号 / 长代码, and pauses follow the punctuation

    the unit and symbol lexicons are word lists, so a new unit is one added line rather than new logic
  • Startup memory gate and embedded engine console

    Every DSH launch (free-memory probe) and the console inside 设置 → 语音朗读→Below the red line (4.0 GB by default) the engine is not auto-started while the plugin keeps loading; the status card states the reason and offers a one-click 启动引擎. The console shows stdout/stderr, the launcher decision and generation records

    the engine stays stopped after a low-memory launch until you start it by handthe 0.5 s startup greeting keeps knocking on an idle engine until it answers, which also warms it up

04Who is it for? When not to use it?

Good for

  • DSH desktop and Web users who already run a GPT-SoVITS engine and want replies read aloud without sending text to a cloud service
  • People running several trained voices who do not want the model reloaded for every read-aloud
  • Anyone who listens to replies full of paths, units, tables and hashes instead of reading them

Not for

  • Nothing is bundled: the repo ships no model weights, reference audio or audio samples and will not start the engine, so a working GPT-SoVITS install with a trained GPT + SoVITS pair and a reference clip is a hard prerequisite
  • The documented engine launcher is Windows (`runtime\python.exe`) and the README's platform badge reads Windows | DSH desktop; the plugin itself runs in the DSH desktop or Web GUI
  • Only voices you have the rights to: the README forbids cloning or imitating public figures and other people's voices without authorization, puts the compliance burden on the user, and suggests disclosing AI-generated speech when you share it

05Compatibility, maintenance and safety notes

  • Nothing is bundled: the repo ships no model weights, reference audio or audio samples and will not start the engine, so a working GPT-SoVITS install with a trained GPT + SoVITS pair and a reference clip is a hard prerequisite
  • Speech never leaves the machine — the plugin talks to your own engine at `http://127.0.0.1:9880` by default, all routes reject non-loopback sources and write endpoints also check same-origin — but that engine has to be running, and the first model load takes roughly 12–30 s
  • The documented engine launcher is Windows (`runtime\python.exe`) and the README's platform badge reads Windows | DSH desktop; the plugin itself runs in the DSH desktop or Web GUI
  • Only voices you have the rights to: the README forbids cloning or imitating public figures and other people's voices without authorization, puts the compliance burden on the user, and suggests disclosing AI-generated speech when you share it
2026-10-022026-10-21v0.3.3

MIT (stated in the README) · last push 2026-10-21, latest release v0.3.3 published 2026-10-21; the README states the code was written by DeepSeek (`deepseek-flash`) inside DSH sessions and the voice weights were trained by the author, and that the project is an unaffiliated third-party community plugin

06Frequently asked questions

How do I install dsh-gpt-sovits into DeepSeek Harness?

Run `dsh plugin --profile desktop add github:91koukou/dsh-gpt-sovits`, then refresh the page: the client half is composed into the startup bundle, so a newly installed plugin only appears after one page load. Pin a release by appending `#v0.3.0` to the same command.

Does the plugin start GPT-SoVITS for me?

No. You start the engine: `runtime\python.exe api_v2.py -a 127.0.0.1 -p 9880 -c GPT_SoVITS/configs/tts_infer.yaml`, then wait roughly 12–30 s for the first model load. The plugin only speaks — and if free memory at DSH launch is under the red line (4.0 GB by default) it deliberately does not auto-start the engine, explains why in the status card and offers a one-click start.

Why is the first synthesis so slow, and how do I speed it up?

Fill 参考音频文本 for the preset: an empty reference text makes the engine recognize the reference clip first, turning a ~1.5 s first synthesis into ~40 s. Use 3–10 s of clean speech with no background music at a path the engine's machine can read, and lower sampling steps from 32 to 16 — the README calls that the most effective speed-up.

Where do my settings and the generated audio go?

Settings are persisted under `$DSH_HOME/gpt-sovits/`. Audio is not written to disk per sentence — it is served from memory with caps on both clip count and bytes, and files left by older versions are reclaimed on upgrade. All plugin routes reject non-loopback sources, and write endpoints also verify same-origin.

How do I remove it, and is anything left behind?

`dsh plugin --profile desktop remove dsh-gpt-sovits`. The repository ships no model weights, reference audio or samples, so there is nothing of that kind to clean up; your GPT-SoVITS install, trained weights and reference clips are yours and stay where they are.

08Data and sources

  • Author-claimedgithub.com90ec8470efd4…

    给 **DeepSeek Harness**(DSH)Web GUI 接入 **GPT-SoVITS** 语音合成:每条助手回复一键朗读、自动朗读开关、音色预设与设置面板。用你自己本地部署的引擎和音色,**完全离线、不经云端**。

  • Author-claimedgithub.com90ec8470efd4…

    dsh plugin --profile desktop add github:91koukou/dsh-gpt-sovits

  • Author-claimedgithub.com90ec8470efd4…

    | **设置面板** | 设置 → 语音朗读(GPT-SoVITS)。含运行状况、**内嵌引擎控制台**(stdout/stderr + 启动器判定 + 生成记录)、引擎地址、音色、语速、采样步数、音量、试听。保存即生效 |

This page is generated from the project’s public documentation, repository metadata and a structured parse of DSH Plugins; last verified on 2026-11-25. Found an error? Submit a correction.

🏆

Best DeepSeek Harness Plugins

Twelve plugins worth installing first — picked from the whole catalog, across every category.

DSH Plugins is an independent community directory of DeepSeek Harness plugins. Not affiliated with or endorsed by DeepSeek. Third-party plugins are not security-audited — review the source before installing.

New DeepSeek Harness plugins, weekly. No spam.