[开源自荐] 没错,军的开源大模型,使用iChat(AI Chat) 调用小米大模型(Xiaomi MiMo)

有图有真相

MiMo.jpg

Settings.jpg

如上图,体验中………………

网页对话:

https://aistudio.xiaomimimo.com/

控制台:

https://platform.xiaomimimo.com/

API URL(OpenAI):

https://api.xiaomimimo.com/v1/chat/completions

API URL(Anthropic):

https://api.xiaomimimo.com/anthropic/v1/messages

Models:

mimo-v2-flash

CURL

OpenAI API 格式示例


curl --location --request POST 'https://api.xiaomimimo.com/v1/chat/completions' \
--header "api-key: $MIMO_API_KEY" \
--header "Content-Type: application/json" \
--data-raw '{
    "model": "mimo-v2-flash",
    "messages": [
        {
            "role": "user",
            "content": "please introduce yourself"
        }
    ],
    "max_completion_tokens": 1024,
    "temperature": 0.8,
    "top_p": 0.95,
    "stream": false,
    "stop": null,
    "frequency_penalty": 0,
    "presence_penalty": 0,
    "thinking": {
        "type": "disabled"
    }
}'

Anthropic API 格式示例

curl --location --request POST 'https://api.xiaomimimo.com/anthropic/v1/messages' \
--header "api-key: $MIMO_API_KEY" \
--header "Content-Type: application/json" \
--data-raw '{
    "model": "mimo-v2-flash",
    "max_tokens": 1024,
    "system": "You are a helpful assistant.",
    "messages": [
        {
            "role": "user",
            "content": [
                {
                    "type": "text",
                    "text": "please introduce yourself"
                }
            ]
        }
    ],
    "top_p": 0.95,
    "stream": false,
    "temperature": 0.8,
    "stop_sequences": null,
    "thinking": {
        "type": "disabled"
    }
}'

连夜添加对 MiMo 的支持,最新版本支持军的开源大模型

iChat 是一款开源的智能聊天工具,支持 MiMo、DeepSeek 、Gemini、Grok、OpenAI、ZenMux、OpenRouter、Cloudflare(AI Gateway)和自定义AI,使用 SwiftUI 开发,macOS 原生 AI 客服端

iChat 介绍:https://ai.ichochy.com

posted @ 2025-12-17 09:17  iChochy  阅读(176)  评论(0)    收藏  举报