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 | |
APIKey | String | Yes | |
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. |