Install
openclaw skills install minimax-cliMiniMax AI platform CLI — text, image, video, speech, music, vision, and web search from terminal or AI agents. Use when generating multimedia content (images, TTS, video, music), doing web searches via MiniMax, or interfacing with the MiniMax API directly. Install with: npm install -g mmx-cli
openclaw skills install minimax-cliOfficial CLI for MiniMax AI Platform. Full multimodal platform — text, image, video, speech, music, vision, and search.
npm install -g mmx-cli
# Authenticate (get key from https://platform.minimax.io)
mmx auth login --api-key sk-xxxxx
# Verify
mmx auth status
mmx quota
mmx text chat --message "prompt"
mmx text chat --model MiniMax-M2.7 --message "prompt" --stream
mmx text chat --system "You are a helpful assistant" --message "prompt"
mmx text chat --messages-file ./conversation.json --output json
mmx image "A lobster in space"
mmx image generate --prompt "A cat" --n 3 --aspect-ratio 16:9
mmx image generate --prompt "Logo" --out-dir ./out/
mmx video generate --prompt "Ocean waves at sunset" --async
mmx video generate --prompt "A robot painting" --download robot.mp4
mmx video task get --task-id <id>
mmx video download --file-id <id> --out video.mp4
mmx speech synthesize --text "Hello!" --out hello.mp3
mmx speech synthesize --text "Stream test" --stream | mpv -
mmx speech synthesize --text "Hi" --voice English_magnetic_voiced_man --speed 1.2
mmx speech voices # list all available voices
mmx music generate --prompt "Upbeat pop" --lyrics "[verse] La da dee" --out song.mp3
mmx music generate --prompt "Indie folk" --lyrics-optimizer --out song.mp3
mmx music generate --prompt "Cinematic orchestral" --instrumental --out bgm.mp3
mmx music cover --prompt "Jazz piano" --audio-file original.mp3 --out cover.mp3
mmx vision photo.jpg
mmx vision describe --image https://example.com/img.jpg --prompt "What breed?"
mmx search "MiniMax AI latest news"
mmx search query --q "latest news" --output json
| Feature | Command | Quota |
|---|---|---|
| Text/Chat | mmx text chat | 4,500 req/5hrs |
| Web Search | mmx search | integrated |
| Image Gen | mmx image | 50/day |
Check mmx quota for current usage.
For voice list, async video workflow, and API details see references/api-notes.md.