跳到正文

TouhouLittleMaid MIMO TTS

作者:ximeng_y

一个将小米MiMo文本转语音(预设语音和语音克隆)集成到东方小女仆AI聊天中的模组。

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

TLM MiMo TTS

License: MIT

A mod that integrates Xiaomi MiMo text-to-speech (preset voices & voice cloning) into the AI chat of Touhou Little Maid maids.

Features

  • Preset voices: Built-in MiMo preset voices (e.g. 冰糖), fetched dynamically from the available voices of the model cluster
  • Voice cloning: Place reference audio into a fixed server directory to use cloned voices; each clone voice can have a description (style instruction)
  • Language following: When a maid has no explicit language setting, the spoken language follows the game language (e.g. Chinese UI → Chinese voice)
  • MP3 output: Synthesis results are delivered as MP3, avoiding failures on long texts caused by the Minecraft network packet size limit
  • Permission safety: Site configuration, clone voice refresh and description edits are limited to singleplayer / LAN host / OP level 2+; synthesis requests are made server-side and the API key never leaves the server

Requirements

Platform Minecraft Loader Touhou Little Maid Java
NeoForge (main branch) 1.21.1 NeoForge 21.1.x 1.5.3+ 21
Forge (forge-1.20.1 branch) 1.20.1 Forge 47.4.10+ 1.5.3+ 17

Installation

  1. Install the matching loader and Touhou Little Maid 1.5.3+ for your platform (the Forge version requires the jar built from the forge-1.20.1 branch)
  2. Download the jar and put it into the mods/ folder
  3. Launch the game and add a MiMo TTS site in the maid AI settings (URL & API key)

Usage

Configure the site

Maid AI chat settings → TTS site → Add / Edit the MiMo site:

  • URL: MiMo Chat Completions endpoint URL
  • API Key: Stored only in the server-side config file, never sent to clients or logs; apply for one on the Xiaomi MiMo Open Platform

Add clone voices

  1. Put reference audio (.mp3 / .wav, no larger than 10MB after Base64) into config/touhou_little_maid/mimo-clone/ on the server
  2. Click “Refresh Clone Voices” on the site editor page
  3. Optionally fill in a description (style instruction) for each voice; it is saved as a same-name .txt under mimo-clone/descriptions/ on the server
  4. Select the voice on the maid chat page and it will speak

License

Licensed under the MIT license.

常见问题

TouhouLittleMaid MIMO TTS 支持哪些 Minecraft 版本?

TouhouLittleMaid MIMO TTS 支持 Minecraft Java 版 1.20.1–1.21.1,共 2 个版本,可用的加载器:Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。

TouhouLittleMaid MIMO TTS 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

ximeng_y 的其他作品

查看全部 →