AI Provider for MiniMax
AI Provider for MiniMax
Description
This plugin integrates MiniMax as an AI provider for the WordPress AI Client. It enables access to MiniMax’s high-performance AI models through the OpenAI-compatible API.
This plugin is an independent, third-party integration and is not affiliated with, endorsed by, or sponsored by MiniMax. “MiniMax” is the name of the third-party service this plugin connects to.
Features:
- Seamless integration with the WordPress AI Client plugin
- Dynamic model discovery from the MiniMax API
- Support for text generation with all MiniMax-M2 and M1 series models including highspeed variants
- Secure API key management via WordPress settings or environment variable
Supported Models (fallback list):
MiniMax-M2.7, MiniMax-M2.7 Highspeed, MiniMax-M2.5, MiniMax-M2.5 Highspeed, MiniMax-M2.1, MiniMax-M2.1 Highspeed, MiniMax-M2, MiniMax-M1, MiniMax-Text-01
When an API key is configured, the live model list is fetched directly from the MiniMax API.
Requirements:
- WordPress AI Client plugin (or WordPress 7.0+ with built-in AI Client)
- A MiniMax account and API key
API Key Configuration:
Set your MiniMax API key in one of two ways:
- WordPress AI Client settings — go to the WordPress AI Client configuration page and enter your MiniMax API key there
MINIMAX_API_KEYenvironment variable on your server (takes priority over the database setting)
External Services
This plugin connects to the MiniMax API (https://api.minimax.io/v1) to provide AI text generation.
What the service does: MiniMax is a third-party AI platform that provides large language model APIs. This plugin uses it to retrieve available models and send text generation requests.
What data is sent and when:
- Your MiniMax API key is sent via the
Authorizationheader on every request. - When a WordPress feature triggers AI text generation, the text prompt or conversation is sent to
https://api.minimax.io/v1. - When the model list is refreshed (once per hour, cached via WordPress transients), a request is sent to
https://api.minimax.io/v1/modelswith your API key.
No data is sent until you enter an API key and a WordPress feature triggers a request.
This service is provided by MiniMax: Terms of Service, Privacy Policy.
Installation
As a WordPress Plugin
- Download the plugin zip file
- Go to Plugins > Add New > Upload Plugin in your WordPress admin
- Upload the zip and click Install Now
- Ensure the WordPress AI Client plugin is installed and activated
- Activate AI Provider for MiniMax
- Enter your MiniMax API key via the WordPress AI Client settings
- Optionally go to Settings > MiniMax to configure the default model and generation parameters
Manual Installation
- Upload the
alamin-ai-provider-for-minimaxfolder to/wp-content/plugins/ - Follow steps 4–6 above
As a Composer Package
composer require mralaminahamed/alamin-ai-provider-for-minimax
Faq
MiniMax is an AI company that provides high-performance language models, including the MiniMax-M2 series known for their coding and text generation capabilities. Learn more at minimax.io.
Yes. This plugin is a provider add-on for the WordPress AI Client. Install and activate that plugin first.
Sign up at minimax.io and generate an API key from your account dashboard.
Your API key is stored by the WordPress AI Client plugin in the WordPress options table. For higher security, set the MINIMAX_API_KEY environment variable on your server instead — this bypasses the database entirely.
Reviews
Changelog
1.2.1
- Fixed connector showing as “Connected” before any API key is entered — provider availability now correctly checks for a configured API key
1.2.0
- Added provider logo displayed on the WordPress Connectors page
- Fixed false “no valid connector” warning on the AI admin page when API key is set via the Connectors page
- Expanded test suite from 33 to 44 tests covering all model IDs, highspeed variants, provider logo path, and settings edge cases
1.1.0
- Updated fallback model list to include all current MiniMax text generation models: M2.7, M2.7 Highspeed, M2.5, M2.5 Highspeed, M2.1, M2.1 Highspeed, M2, M1, and Text-01
- Added Domain Path header field to plugin file
- Improved plugin file header field ordering and alignment per WordPress.org standard
- Added file-level PHPDoc block to plugin bootstrap file
- Updated tested up to WordPress 7.0
1.0.0
- Initial release
- MiniMax provider registration with WordPress AI Client
- Dynamic model discovery
- Settings page for API key and default model configuration
- Support for
MINIMAX_API_KEYenvironment variable