MiniMax (minimax.io). Use this skill for ANY MiniMax request — reading, creating, updating, and deleting data. Whenever a task involves MiniMax, use this skill instead of calling the API directly.
编程
minimax
试用Call the MiniMax text API (MiniMax-M3 through MiniMax-M2) through RunAPI using OpenAI-compatible Chat Completions. Use for MiniMax text chat, streaming, or an existing compatibility client that needs the conditional reference.
它能做什么
Call the MiniMax text API (MiniMax-M3 through MiniMax-M2) through RunAPI using OpenAI-compatible Chat Completions. Use for MiniMax text chat, streaming, or an existing compatibility client that needs the conditional reference.
技能文档
MiniMax on RunAPI
Use OpenAI-compatible Chat Completions at https://runapi.ai/v1 as the primary protocol. Use the separate Hailuo skill for video generation.
Primary protocol recipe
Authenticate
Set OPENAI_API_KEY to a RunAPI API key and OPENAI_BASE_URL to https://runapi.ai/v1.
Send request
from openai import OpenAI
client = OpenAI(api_key="YOUR_RUNAPI_TOKEN", base_url="https://runapi.ai/v1")
response = client.chat.completions.create(
model="MiniMax-M3",
messages=[{"role": "user", "content": "Draft a support response."}],
)
print(response.choices[0].message.content)
print(response.usage)
For long output, set stream=True and
stream_options={"include_usage": True}; consume through [DONE].
Verify result
Require final assistant content, finish_reason, and authoritative usage.
A stream is complete only after its terminal usage chunk and [DONE].
Stop boundaries
Correct a rejected shape once using the structured error. Retry transport once only before any response or Usage and when replay is safe. Record a terminal error and stop without changing model or protocol.
Compatibility protocols
Load compatibility protocols only when an existing client requires Anthropic Messages or Gemini contents.
Supported models
| Model ID | Use when |
|---|---|
MiniMax-M3 | Latest MiniMax text chat |
MiniMax-M2.7 | MiniMax M2.7 compatibility |
MiniMax-M2.7-highspeed | Faster MiniMax M2.7 requests |
MiniMax-M2.5 | MiniMax M2.5 compatibility |
MiniMax-M2.5-highspeed | Faster MiniMax M2.5 requests |
MiniMax-M2.1 | MiniMax M2.1 compatibility |
MiniMax-M2 | MiniMax M2 compatibility |
References
相关技能
Generate video from text, reference media, or first and last frames with MiniMax H3 through RunAPI. Use the RunAPI CLI for one-off generation and an SDK for application integration.
Call the MiMo API (mimo-v2.5-pro and mimo-v2.5) through RunAPI using OpenAI-compatible Chat Completions. Use for MiMo text generation, the verified MiMo image subset, streaming, or an existing compatibility client that needs the conditional reference.
Call the Qwen text API (qwen3-next-80b-a3b-instruct) through RunAPI using the official OpenAI SDK or compatible clients. Use when the user asks for Qwen text...
本地运行的 MiniMax Token Plan 实时配额仪表盘,附带按需触发的推理速率测试。
Help users with Feature Request: Support Response API for MiniMax Provider. Use when a user asks for software-and-data, enhancement, feature, request, suppor...