• 製品
  • 価格
  • リソース
  • サポート
このページは現在英語版のみで提供されており、日本語版も近日中に提供される予定です。ご利用いただきありがとうございます。
Feedback

MiniMax

MiniMax is a leading Chinese AI company offering models optimized for Chinese-language dialogue and creative content generation. Its models support the OpenAI-compatible protocol, making integration straightforward. A natural choice for applications targeting Chinese-speaking users with competitive pricing.

Usage

To use MiniMax as the LLM engine, pass the following JSON in the LLMConfig field of the StartAIConversation API:
// json — LLMConfig
{
"LLMType": "openai",
"Model": "MiniMax-M2.7",
"APIKey": "<your_minimax_api_key>",
"APIUrl": "https://api.minimax.chat/v1/text/chatcompletion_v2",
"Streaming": true,
"SystemPrompt": "You are a helpful assistant.",
"History": 5,
"MetaInfo": {}
}
For full Conversational AI configuration (STT, TTS, interruption handling, VAD, etc.), see the TRTC Conversational AI API Reference.

Parameter reference

Field
Type
Required
Description
LLMType
String
Yes
Fixed value: "openai".
Model
String
Yes
Model: MiniMax-M2.7, MiniMax-M2.5 etc. See MiniMax Models.
APIKey
String
Yes
Your MiniMax API key. Obtain from MiniMax Platform.
APIUrl
String
Yes
MiniMax chat completions endpoint.
Streaming
Boolean
No
Enable streaming. Default: true.
SystemPrompt
String
No
System instruction.
History
Integer
No
Context rounds. Default: 0.
MetaInfo
Object
No
Custom parameters in request body.
For more details on MiniMax models and API, see the MiniMax documentation.