tencent cloud

Tencent Real-Time Communication

DocumentationTencent Real-Time Communication

MiniMax

Download
Focus Mode
Font Size
Last updated: 2026-05-11 17:31:14
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.

Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback