Skip to main content
Model ID

API Usage

You can interact with the MiniMax-M2.1 model through various programming languages and methods. Below are examples showing how to use the model’s API.

API Examples

Generate a model response using the chat endpoint of MiniMax-M2.1.

Shell

example for function call

Python