MiMo V2.5 Proは、複雑なソフトウェアエンジニアリング、エージェント型の作業、長期的なエージェントタスク向けの、Xiaomiで最も高性能なオープンウェイトモデルです。以下は過去の連携方法を示す例であり、現在の利用可否を示すものではありません。使用前にアカウントのモデル一覧を確認してください。
curl "https://api.mixroute.ai/v1/chat/completions" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "mimo-v2.5-pro", "messages": [ {"role": "user", "content": "Review this repository migration plan and identify the largest operational risk."} ], "max_tokens": 256}'
from openai import OpenAIclient = OpenAI(api_key="YOUR_API_KEY", base_url="https://api.mixroute.ai/v1")response = client.chat.completions.create( model="mimo-v2.5-pro", messages=[{"role": "user", "content": "Review this repository migration plan and identify the largest operational risk."}], max_tokens=256,)print(response.choices[0].message.content)