dsh-mimo-tts: Using Xiaomi MiMo for Speech Output and Voice Input in DeepSeek Harness

Preface

When building agents or having long conversations in DeepSeek Harness (DSH), constantly watching the screen to read replies and typing manually imposes a significant burden over long periods. Built-in browser reading is often disjointed from the interface, while third-party TTS requires separate key configurations and routing. If you want to “listen immediately after a response is done, and speak directly to the input box when you want to talk,” while connecting both synthesis and recognition to the same set of credentials, the community plugin dsh-mimo-tts takes a different approach: both TTS and ASR utilize Xiaomi MiMo’s token-plan endpoints. The key can be shared with the LLM provider via refs: in $DSH_HOME/.credentials.yaml, and data is not uploaded anywhere except when requesting the Xiaomi API.

The following section introduces the positioning, capabilities, installation, and usage of this plugin. Facts are based on the GitHub repository README; the community directory page can be found at SkillHub. This directory site has no official affiliation with DeepSeek or High-Flyer. The philosophy of the DSH ecosystem is “everything is a plugin.”

What is this

dsh-mimo-tts (current package version 0.1.0, MIT) is published by maintainer lengmodkx and categorized under model inference. In short: it provides MiMo Voice for DSH—automatically reading out every completed answer, allowing you to speak via a microphone button in the Composer control bar, switching built-in voices, and performing voice cloning using local short samples.

Synthesis utilizes Xiaomi MiMo TTS and recognition utilizes MiMo ASR, both using token-plan endpoints; keys are sent only to token-plan-cn.xiaomimimo.com. Please note: token-plan keys cannot be used for the public host api.xiaomimimo.com, and vice versa.

Core Features

Auto-read

Every completed answer is queued and played in order. Before reading, code blocks, tables, links, and Markdown structures are stripped; excessively long bodies are truncated (controlled by maxChars by default, see Configuration section) to prevent large blocks of text from becoming minutes of audio.

Click to talk

There is a microphone button in the Composer control row (next to the model selector): click once to start, click again to finish; or it finishes automatically after a pause. The transcribed text is written into the input box, ready to be sent with Enter.

Stop playback

After playback starts, a stop button appears next to the microphone; Esc also stops playback. Stopping clears the sentences in the queue after the current one; opening the microphone also automatically interrupts playback.

Voices and cloning

There are nine built-in MiMo voices: mimo_default, Bingtang (Crystal), Molly, Soda, Baihua (White Birch), Mia, Chloe, Milo, Dean. There is also a cloned voice slot: place a 5–15 second, clean, single-speaker reference audio locally, and select “Cloned voice” in the panel. The reference file is read directly by the host and is not packaged with the plugin; it does not leave the machine except for the reference sample required by the MiMo API request. Cloning adds latency (the README cites an example: a ~10-second sample is ~105 KB, and single-sentence synthesis takes ~3 seconds instead of ~1 second); please only clone voices you have the right to use.

Settings panel

Path: Plugins → MiMo voice, and Settings → Built-in plugins. You can select voices and preview them instantly, toggle auto-read, input test text, re-read the previous answer, and view the queue and status.

Environment and Dependencies

  • DeepSeek Harness 0.2.0-rc.1 or newer (engines.dsh).
  • A Xiaomi MiMo token-plan key, available via either:
  • Environment variable XIAOMI_TOKEN_PLAN_CN_API_KEY
  • refs: in $DSH_HOME/.credentials.yaml (same location as LLM providers)

Installation and Activation

Run the official installation command in the terminal (choose either Web or Desktop profile):

dsh plugin --profile web add dsh-mimo-tts      # or --profile desktop
# restart the host (dsh web / the desktop app)

After installation, you must restart the host (dsh web or the desktop app). The plugin runs under DSH process permissions; it is recommended to review the source code and LICENSE before installation.

Typical Usage

  1. Auto-read: Once enabled in the panel, it remains the default; every completed answer is queued for playback.
  2. Voice input: Click the Composer microphone, speak, and pause or click again to finish; the text enters the input box where you press Enter to send.
  3. Interrupt: Click the red stop button or press Esc.

When cloning a voice, place the mp3 or wav at:

$DSH_HOME/.dsh-mimo-tts/voice-clone.mp3

Select “克隆音色” / “Cloned voice” in the panel.

The panel writes to the configuration file $DSH_HOME/.dsh-mimo-tts/config.json, for example:

{
  "voice": "冰糖",       // any built-in voice, or the clone slot
  "autoRead": true,      // speak every finished answer
  "maxChars": 600,       // clip long answers before speaking
  "format": "mp3"        // mp3 | wav
}

The host web service provides HTTP routes for status, voice list, configuration, synthesis, ASR, queue, and stop under /dsh-mimo-tts; cross-site Origins are rejected by default (403), while loopback, dsh-app://, file://, and calls with no Origin are allowed; if the GUI is hosted on another host, you can append allowed Origins via the environment variable DSH_MIMO_TTS_ORIGINS.

Use Cases and Cautions

Suitable for: Developers and users already using Xiaomi token-plan in DSH who wish to listen to replies, reduce typing, or require multiple voices / local sample cloning.

Cautions:

  • You must distinguish between token-plan and public API hosts; the key type must match.
  • Voice cloning involves additional latency and bandwidth (carrying a reference sample per request).
  • The plugin is not officially produced by DeepSeek; star counts and versions are subject to real-time information on the repository and directory pages (at the time of writing, the GitHub star count was 0).

Conclusion

dsh-mimo-tts integrates MiMo’s reading, recognition, and voice management into the DSH interface and the same set of credentials, making it suitable for Harness users who want to “watch and listen, speak and ask.” For further information:

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye