mimocode 免费模型分析结果

Jiema66 2026-06-11 18:16 1

## 第一步
JWT=$(curl -s -X POST 'https://api.xiaomimimo.com/api/free-ai/bootstrap' \
-H 'Content-Type: application/json' \
-d "$(echo -n "{\"client\":\"haha\"}")" | python3 -c "import sys,json;print(json.load(sys.stdin)['jwt'])")

## 第二步
curl -X POST 'https://api.xiaomimimo.com/api/free-ai/openai/chat' \
-H "Authorization: Bearer $JWT" \
-H 'X-Mimo-Source: mimocode-cli-free' \
-H 'Content-Type: application/json' \
-d '{
"model": "mimo-auto",
"messages": [{"role":"user","content":"hello, who are you?"}],
"max_tokens": 128000,
"stream": true,
"temperature": 1.0
}'
最新回复 (1)
  • zephyrcn 06-12 00:37
    2

    感谢佬的分享 冒昧问一下后面怎么利用起来

* 帖子来源Linux.do
返回