dsh-voice

给 AI 加上声音:带情绪的语音合成(有 ChatTTS 用 ChatTTS,否则回退 edge-tts)和唱歌模式,生成 mp3 并可用 ffplay 本机播放。需本机安装 Python 3.10+ 与 edge-tts(ChatTTS 及其模型缓存可选)、ffmpeg/ffplay,并把 cordis.patch.yml 里的 pythonPath/ffmpegPath/ffplayPath 改成你自己的安装路径。

插件介绍

给 AI 加上声音:带情绪的语音合成(有 ChatTTS 用 ChatTTS,否则回退 edge-tts)和唱歌模式,生成 mp3 并可用 ffplay 本机播放。需本机安装 Python 3.10+ 与 edge-tts(ChatTTS 及其模型缓存可选)、ffmpeg/ffplay,并把 cordis.patch.yml 里的 pythonPath/ffmpegPath/ffplayPath 改成你自己的安装路径。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:LIU118117/dsh-voice

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。