mi-gpt
🏠 将小爱音箱接入 ChatGPT 和豆包,改造成你的专属语音助手。
A tool that upgrades Xiaomi Xiao Ai smart speakers to use ChatGPT or other AI models, enabling richer conversations, a custom persona, long-term memory, and a swappable voice, runs via Docker or Node.js.
MiGPT is a tool that connects Xiaomi smart speakers (known in China as Xiao Ai speakers) to AI language models, turning them into more capable voice assistants. The default Xiao Ai assistant is relatively limited in what it can answer. By running MiGPT alongside your speaker, you can route questions through a large language model like ChatGPT or other compatible APIs, getting much richer and more conversational responses back through the speaker's voice.
The project is no longer actively maintained, as noted prominently at the top of the README. The author has also released a related successor called Open-XiaoAI for users of the Xiao Ai speaker Pro model, which offers additional features like custom wake words and continuous conversation. MiGPT remains available for reference and use as-is.
Beyond basic AI question answering, MiGPT supports a few other features. You can give the speaker a custom persona so it responds in a particular character or conversational style. It also supports long-term memory of past conversations, meaning it can recall earlier exchanges over time rather than treating each session as a fresh start. The voice used for responses can be customized by connecting a third-party text-to-speech service, with support for a voice style from a Chinese AI assistant called Doubao as one documented option.
Setup requires a Xiaomi account, a compatible Xiao Ai speaker, and an API key for an AI service like OpenAI. You configure the connection in a small configuration file and then run MiGPT either through Docker or Node.js. The Docker path is simpler and does not require any coding knowledge. The Node.js path is intended for developers who want to integrate MiGPT into their own applications as a library.
The repository is primarily in Chinese, with the README, documentation files, and community materials all written for a Chinese-speaking audience familiar with Xiaomi's home device ecosystem.
Where it fits
- Route your Xiao Ai speaker's questions through ChatGPT to get smarter, more conversational answers
- Give your Xiaomi speaker a custom personality that responds in a specific character or conversational style
- Enable your speaker to remember past conversations over time rather than starting fresh each session
- Connect a third-party text-to-speech service to change the voice used for AI responses