Install Cursor
- Download and install Cursor from the Cursor website.
- Open Cursor, click the âSettingsâ button in the top-right corner to enter the settings page.
- Click the âSign inâ button to log in to your Cursor account.
Configure MiniMax API
- Click âModelsâ in the left sidebar to open the model configuration page.
- Expand the âAPI Keysâ section and configure the API information:
- Enable âOverride OpenAI Base URLâ;
- Enter the MiniMax base URL (for international users, use
https://api.minimax.io/v1; for users in China, usehttps://api.minimaxi.com/v1)
- Paste the API key obtained from the MiniMax Developer Platform (For users in China, visit MiniMax Developer Platform) into the OpenAI API Key field.
- Click the button on the right side of the âOpenAI API Keyâ field.
- Click the âEnable OpenAI API Keyâ button in the pop-up window to complete verification.
- In the Models section, click the âView All Modelsâ button, and then click the âAdd Custom Modelâ button.
- Enter the model name âMiniMax-M2.5â, then click the âAddâ button.
- Enable the newly added âMiniMax-M2.5â model.
- Select the âMiniMax-M2.5â model in the chat panel and start using âMiniMax-M2.5â for development.