Skip to content

Commit 8c807fd

Browse files
faugustdevAugust
authored andcommitted
docs: add MiniMax AI provider to Wave AI modes
1 parent a4447c1 commit 8c807fd

1 file changed

Lines changed: 55 additions & 0 deletions

File tree

docs/docs/waveai-modes.mdx

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ Wave AI now supports provider-based configuration which automatically applies se
3636
- **`openrouter`** - OpenRouter API (automatically configures endpoint and secret name) [[see example](#openrouter)]
3737
- **`nanogpt`** - NanoGPT API (automatically configures endpoint and secret name) [[see example](#nanogpt)]
3838
- **`groq`** - Groq API (automatically configures endpoint and secret name) [[see example](#groq)]
39+
- **`minimax`** - MiniMax AI (OpenAI-compatible API) [[see example](#minimax)]
3940
- **`google`** - Google AI (Gemini) [[see example](#google-ai-gemini)]
4041
- **`azure`** - Azure OpenAI Service (modern API) [[see example](#azure-openai-modern-api)]
4142
- **`azure-legacy`** - Azure OpenAI Service (legacy deployment API) [[see example](#azure-openai-legacy-deployment-api)]
@@ -319,6 +320,60 @@ The provider automatically sets:
319320
For Groq, you must manually specify `ai:capabilities` based on your model's features.
320321
:::
321322

323+
### MiniMax
324+
325+
[MiniMax](https://platform.minimax.io/subscribe/token-plan) provides the MiniMax series of AI models with strong coding, reasoning, and multimodal capabilities. MiniMax uses an OpenAI-compatible API:
326+
327+
```json
328+
{
329+
"minimax-m3": {
330+
"display:name": "MiniMax-M3",
331+
"display:icon": "server",
332+
"ai:apitype": "openai-chat",
333+
"ai:model": "MiniMax-M3",
334+
"ai:endpoint": "https://api.minimax.io/v1/chat/completions",
335+
"ai:apitokensecretname": "MINIMAX_TOKEN",
336+
"ai:capabilities": ["tools", "images", "pdfs"]
337+
}
338+
}
339+
```
340+
341+
Store your MiniMax API token as a secret:
342+
343+
```bash
344+
wsh secret set MINIMAX_TOKEN=your_minimax_api_token
345+
```
346+
347+
Other available MiniMax models include:
348+
349+
```json
350+
{
351+
"minimax-m2.7": {
352+
"display:name": "MiniMax-M2.7",
353+
"display:icon": "server",
354+
"ai:apitype": "openai-chat",
355+
"ai:model": "MiniMax-M2.7",
356+
"ai:endpoint": "https://api.minimax.io/v1/chat/completions",
357+
"ai:apitokensecretname": "MINIMAX_TOKEN",
358+
"ai:capabilities": ["tools", "images", "pdfs"]
359+
}
360+
}
361+
```
362+
363+
```json
364+
{
365+
"minimax-m2.7-highspeed": {
366+
"display:name": "MiniMax-M2.7 Highspeed",
367+
"display:icon": "server",
368+
"ai:apitype": "openai-chat",
369+
"ai:model": "MiniMax-M2.7-highspeed",
370+
"ai:endpoint": "https://api.minimax.io/v1/chat/completions",
371+
"ai:apitokensecretname": "MINIMAX_TOKEN",
372+
"ai:capabilities": ["tools", "images", "pdfs"]
373+
}
374+
}
375+
```
376+
322377
### Google AI (Gemini)
323378

324379
[Google AI](https://ai.google.dev) provides the Gemini family of models. Using the `google` provider simplifies configuration:

0 commit comments

Comments
 (0)