Welcome to the Mimo2API! This application allows you to easily convert Xiaomi Mimo AI into an OpenAI compatible API. Whether you want to explore deep thinking or enhance your AI projects, this tool is designed for you.
To get started, follow the instructions based on your operating system. You can choose between downloading the precompiled binaries or compiling from source.
You can easily download the precompiled versions of Mimo2API for your system from the Releases page.
curl -LO https://github.com/leookun/mimo2api/releases/latest/download/mimo2api-linux-amd64
chmod +x mimo2api-linux-amd64
./mimo2api-linux-amd64
curl -LO https://github.com/leookun/mimo2api/releases/latest/download/mimo2api-darwin-amd64
chmod +x mimo2api-darwin-amd64
sudo xattr -cr mimo2api-darwin-amd64 # Removes security limitations
./mimo2api-darwin-amd64
curl -LO https://github.com/leookun/mimo2api/releases/latest/download/mimo2api-darwin-arm64
chmod +x mimo2api-darwin-arm64
sudo xattr -cr mimo2api-darwin-arm64 # Removes security limitations
./mimo2api-darwin-arm64
mimo2api-windows-amd64.exe.If you prefer to compile the source code, follow these steps:
git clone https://github.com/leookun/mimo2api.git
cd mimo2api
go build -o mimo2api .
./mimo2api
After successfully installing Mimo2API, you can run it with the following command:
# Default port 8080
./mimo2api
# To specify a different port, use this command
PORT=3000 ./mimo2api
Mimo2API offers various features to enhance your AI integration experience:
For further queries and issues, feel free to check the projectβs issues page for support. Happy coding!