For Token Plan users, no coding is required to unlock MiniMax multimodal capabilities in your AI agent: video generation, speech synthesis, music creation, coding, and more. You can call these capabilities directly in assistants like OpenClaw and Claude Code. If you still prefer direct API integration, see the API Documentation.Documentation Index
Fetch the complete documentation index at: https://platform.minimax.io/docs/llms.txt
Use this file to discover all available pages before exploring further.
Install and configure the CLI
- Install via an agent
- Manual install
Copy the prompt below to your AI agent (OpenClaw, Claude Code, Cursor, MaxClaw, AutoClaw, KimiClaw, TRAE, OpenCode, etc.). It will guide you through installing the CLI, signing in, and adding the SKILL:
Use the CLI
- Call via an agent
- Manual commands
Text
Video
Music
Speech
Image
Use minimax to write a 4-line poem about AIVideo
Generate a video: at sunset, a cat sits by the window looking into the distanceMusic
Generate an upbeat jazz song about a summer beachSpeech
Read in a gentle female voice: Welcome to MiniMax Token Plan. After subscribing, your AI agent can generate video, music, speech, and images with full multimodal capability.Image
Generate a cyberpunk city night scene in 16:9Generated files are saved in minimax-output/ under your current directory. If you’re using an agent, it’s recommended to have it display the generated media directly in its output.CLI Dashboard
Run mmx in your terminal to open the CLI panel and quickly discover the main commands, flags, and usage info.

- resources: available resource types
- flags: supported options for commands
- usage: remaining quota and usage overview
- help: entry points for documentation
Capability overview
MMX-CLI provides a single command-line entry point across text, image, video, speech, music, vision understanding, and web search:| Capability | Basic command | Description |
|---|---|---|
| Text | mmx text chat | multi-turn chat, streaming output, system prompts, JSON output |
| Image | mmx image generate | text-to-image, aspect ratio controls, batch generation |
| Video | mmx video generate | async generation, task status, downloading |
| Speech | mmx speech synthesize | text-to-speech (TTS), multiple voices, streaming |
| Music | mmx music generate | text-to-music, with-lyrics and instrumental modes |
| Vision | mmx vision describe | image understanding from local files, URLs, or file IDs |
| Search | mmx search query | built-in web search |
More operations commands
More operations commands
| Command | Purpose | Typical example |
|---|---|---|
mmx auth status / refresh / logout | Show login identity / refresh credentials / log out | mmx auth status |
mmx config show / set | View or change configuration (region, default model, etc.) | mmx config set --key region --value global |
mmx quota | View Token Plan usage and remaining quota | mmx quota |
mmx update / mmx update latest | Check for updates / upgrade to the latest version | mmx update latest |
Usage by modality
For modality-specific Token Plan quotas, see: Token Plan PricingFAQ
Where do I get an API Key?
- Overseas (default): Subscribe to Token Plan on platform.minimax.io → API Key for the overseas service
- Mainland China: Subscribe to Token Plan on platform.minimaxi.com → API Key for the mainland China service
Still getting 401 after login?
mmx auth login usually auto-detects the service region from the API Key. If you still get 401, region detection likely failed — set it manually:
mmx auth status to confirm the active region matches the platform you purchased from.