crashdakid

🌟 mimo2api - Simple API for Mimo AI Integration

πŸš€ Getting Started

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.

Download Mimo2API

πŸ“₯ Download & Install

To get started, follow the instructions based on your operating system. You can choose between downloading the precompiled binaries or compiling from source.

πŸ–₯️ Option 1: Download Precompiled Binaries

You can easily download the precompiled versions of Mimo2API for your system from the Releases page.

Linux:

  1. Open your terminal.
  2. Run the following commands:
    curl -LO https://github.com/leookun/mimo2api/releases/latest/download/mimo2api-linux-amd64
    chmod +x mimo2api-linux-amd64
    ./mimo2api-linux-amd64
    

macOS (Intel):

  1. Open your terminal.
  2. Run the following commands:
    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
    

macOS (Apple Silicon):

  1. Open your terminal.
  2. Run the following commands:
    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
    

Windows:

  1. Visit the Releases page and download mimo2api-windows-amd64.exe.
  2. Double click to run it, or you can execute it from the command line.

βš™οΈ Option 2: Compile from Source

If you prefer to compile the source code, follow these steps:

  1. Open your terminal or command prompt.
  2. Run the following commands:
    git clone https://github.com/leookun/mimo2api.git
    cd mimo2api
    go build -o mimo2api .
    ./mimo2api
    

⚑ How to Run 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

πŸ“Š Features

Mimo2API offers various features to enhance your AI integration experience:

πŸ“ Usage Tips

For further queries and issues, feel free to check the project’s issues page for support. Happy coding!