STARDUSTLC666/dsh-voice4

dsh-voice

DSH 语音双件套插件:提供基于 edge-tts 协议的零成本微软神经语音合成(TTS)、OpenAI 兼容的 ASR 语音转文字,以及音色列表工具。

AI 分析

核心用途是为 Agent 赋予语音输入与输出能力。适合需要进行语音对话、文字转语音或语音听写的交互任务。TTS 零配置可用,ASR 需配置兼容 OpenAI 的 API 密钥。

套件
dsh-voice
版本
0.3.3
授權
MIT
最近更新
2026年9月12日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:STARDUSTLC666/dsh-voice

配置

voice_tts 零配置可用;voice_stt 需要 ASR 密钥:

- id: voice
  name: 'dsh-voice'
  config:
    asrEngine: groq                       # groq | openai | custom
    asrModel: whisper-large-v3-turbo      # groq 的 whisper 模型
    # asrApiKey: gsk_...                  # 推荐改用环境变量 DSH_VOICE_ASR_KEY
    ttsVoice: zh-CN-XiaoxiaoNeural        # 默认音色
    # proxyUrl: http://127.0.0.1:7890     # ASR 接口需要特殊代理时启用