[WordPress] 外掛分享: AI Provider for MiniMax

首頁外掛目錄 › AI Provider for MiniMax
WordPress 外掛 AI Provider for MiniMax 的封面圖片
20+
安裝啟用
尚無評分
31 天前
最後更新
問題解決
WordPress 7.0+ PHP 7.4+ v1.3.1 上架:2026-05-10

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.3.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「AI Provider for MiniMax」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

This plugin provides MiniMax integration for the WordPress AI Client. It enables WordPress sites to use MiniMax’s high-performance large language models for text generation, content creation, and other AI capabilities through an OpenAI-compatible API.
This plugin is an independent, third-party integration and is not affiliated with, endorsed by, or sponsored by MiniMax.
Why MiniMax?
MiniMax is an AI company known for its high-performance, cost-effective language models. The MiniMax M2 series delivers frontier-level text generation quality — competitive with top models from OpenAI and Anthropic — while offering attractive pricing for high-volume WordPress use cases.
MiniMax models are particularly strong at:

Long-context tasks — handling large documents, long conversations, and extended content generation
Instruction following — precise, structured output generation suitable for automated pipelines
Multilingual content — strong performance in English, Chinese, and other languages
Creative writing — rich, nuanced prose generation for blogs, marketing copy, and storytelling

Features

MiniMax M2 and M1 series models — including Highspeed variants optimised for faster responses
Automatic model discovery — live model list fetched from the MiniMax API and cached hourly; falls back to a hardcoded list when offline
Full parameter control — temperature, max tokens, top P, presence penalty, frequency penalty, stop sequences, system instruction, and function declarations
Settings page — configure default model and generation parameters without touching code
API key via Connectors — enter your key once in Settings > Connectors; all AI-enabled plugins share it automatically
Environment variable support — MINIMAX_API_KEY for server-level configuration, bypassing the database entirely
OpenAI-compatible API — uses the standard OpenAI API protocol for broad compatibility
Highspeed variants — M2.7 Highspeed, M2.5 Highspeed, and M2.1 Highspeed for latency-sensitive applications

What Can You Do With AI in WordPress?
Once this provider is configured, any WordPress plugin or theme that integrates with the WordPress AI Client can use it:

Block editor (Gutenberg) — AI writing assistance, rephrasing, summarising, and expanding content
WooCommerce — generate product descriptions, SEO meta titles, customer review summaries, and category descriptions
SEO plugins — generate meta descriptions, focus keyphrases, and Open Graph content
Customer support — power AI chatbots and automate FAQ responses
Translation and localisation — translate and adapt content for English, Chinese, and other markets
Content marketing — generate blog post drafts, social media copy, and email newsletters
Image alt text — generate accessible alt attributes for media library images

Supported Models
When an API key is configured, the live model list is fetched from the MiniMax API. The built-in fallback list includes:

MiniMax-M2.7 — latest generation, highest capability
MiniMax-M2.7 Highspeed — M2.7 performance at lower latency
MiniMax-M2.5 — balanced performance and cost
MiniMax-M2.5 Highspeed — M2.5 with faster response times
MiniMax-M2.1 — cost-effective mid-tier model
MiniMax-M2.1 Highspeed — M2.1 with reduced latency
MiniMax-M2 — previous generation, widely supported
MiniMax-M1 — foundation model
MiniMax-Text-01 — specialised text generation model

Requirements

PHP 7.4 or higher
WordPress 7.0 or higher
A MiniMax account and API key

How the WordPress AI Provider System Works
WordPress 7.0 introduced a built-in AI Client SDK. Plugins and themes call a standard API (e.g. “generate text from this prompt”) without knowing which AI provider is active. Provider plugins like this one register themselves with WordPress and handle the actual API calls.
This means:

Install this plugin → MiniMax is registered as an AI provider
Enter your API key in Settings > Connectors
Every AI-enabled plugin on your site can now use MiniMax automatically

You can also install multiple provider plugins and switch between them from the Connectors screen — no re-configuration of individual plugins needed.
Settings
Go to Settings > MiniMax to configure:

Default Model — the model used when no explicit model is requested by a plugin
Temperature — controls output randomness (0.0–2.0, default 0.7)
Max Tokens — maximum tokens in the response (1–200,000, default 4096)
Top P — nucleus sampling threshold (0.0–1.0, default 1.0)
Presence Penalty — penalises repeated topics (-2.0–2.0, default 0.0)
Frequency Penalty — penalises repeated tokens (-2.0–2.0, default 0.0)

For Developers
This plugin follows the official WordPress AI Provider pattern and is fully compatible with any plugin built on the WordPress AI Client SDK.
Supported SupportedOptions: temperature, maxTokens, topP, presencePenalty, frequencyPenalty, stopSequences, systemInstruction, functionDeclarations
Provider ID: minimax
Base URL: https://api.minimax.io/v1
API key resolution order:
1. MINIMAX_API_KEY environment variable
2. WordPress option connectors_ai_minimax_api_key (Settings > Connectors)
3. WordPress option wp_ai_client_credentials['minimax']['api_key'] (legacy)
External Services
This plugin connects to the MiniMax API (https://api.minimax.io/v1) to:

Retrieve the list of available AI models (cached for 1 hour via WordPress transients)
Send text generation requests using your configured model

Service: MiniMax
API endpoint: https://api.minimax.io/v1
When data is sent: When generating AI text or refreshing the model list
Data sent: Your API key (via Authorization header) and the text prompt/conversation
Terms of Service: platform.minimax.io/protocol/terms-of-service
Privacy Policy: platform.minimax.io/protocol/privacy-policy
No data is sent to the MiniMax API until you enter an API key and a WordPress feature triggers a text generation request.

文章
Filter
Mastodon