MiniMax-cli
MiniMax-cli is a powerful command-line interface that provides seamless terminal access to the MiniMax AI API, enabling developers to interact directly with advanced language, vision, and audio generation models. It comes equipped with robust features such as streaming chat completions, text-to-speech synthesis, video generation, and secure API key management. By eliminating the need for custom wrapper scripts, the tool significantly accelerates local development workflows, offers real-time debugging capabilities, and supports standard Unix piping for seamless integration with other terminal utilities. This makes it highly effective for rapid API prototyping, building automated content generation pipelines, and incorporating multimodal AI capabilities directly into shell scripts or CI/CD environments.
Latest Releases
All releases- feat: align agent setup with MiniMax M3.1 Flash Preview by @Qu-Ming-1 in https://github.com/MiniMax-AI/cli/pull/272
Full Changelog: https://github.com/MiniMax-AI/cli/compare/v1.0.26...v1.0.27
- Add speech-to-text with
mmx speech transcribeandsdk.speech.transcribe, powered byasr-1.0. Supports language hints, JSON and detailed transcripts, sentence/word timestamps, SRT/WebVTT subtitles, and streamed text. (#262) - Improve agent detection for the Codex desktop app and embedded runtimes. (#252, #253)
- Show seconds in the quota reset countdown. (#255)
- Correctly classify search input and output content-filter errors. (#256)
- Include the README in the npm package. (#250)
Try speech-to-text
``
bashmmx speech transcribe --file meeting.mp3mmx speech transcribe --file meeting.mp3 --language zhmmx speech transcribe --file meeting.mp3 --response-format srt --out meeting.srt`
For detailed timestamps and speaker information, use --response-format verbose_json --output json. When piping streamed text, use --stream --output text.
Upgrade
`bashnpm install -g [email protected] --version``What's Changed
- fix: include README in npm package by @SaladDay in https://github.com/MiniMax-AI/cli/pull/250
- fix: detect Codex runtime in desktop app by @SaladDay in https://github.com/MiniMax-AI/cli/pull/252
- fix: detect embedded agent runtimes by @SaladDay in https://github.com/MiniMax-AI/cli/pull/253
- fix(quota): show seconds in reset countdown by @SaladDay in https://github.com/MiniMax-AI/cli/pull/255
- fix(search): map output sensitivity to content filter exit code by @renaissance04 in https://github.com/MiniMax-AI/cli/pull/256
- feat: add mmx speech transcribe for speech-to-text (asr-1.0) by @Wzdhehe in https://github.com/MiniMax-AI/cli/pull/262
New Contributors
- @renaissance04 made their first contribution in https://github.com/MiniMax-AI/cli/pull/256
- @Wzdhehe made their first contribution in https://github.com/MiniMax-AI/cli/pull/262
Full Changelog: https://github.com/MiniMax-AI/cli/compare/v1.0.25...v1.0.26
- feat: install missing agents during setup by @SaladDay in https://github.com/MiniMax-AI/cli/pull/247
Full Changelog: https://github.com/MiniMax-AI/cli/compare/v1.0.24...v1.0.25
- fix: support stdin-backed file options on Windows by @shaoohh in https://github.com/MiniMax-AI/cli/pull/208
- refactor: share file upload operation by @victor0602 in https://github.com/MiniMax-AI/cli/pull/229
- feat: add coding agent setup command by @SaladDay in https://github.com/MiniMax-AI/cli/pull/241
- feat(quota): visually separate reset countdown and show window interval by @SaladDay in https://github.com/MiniMax-AI/cli/pull/243
- ci: use MiniMax-M3 for PR reviews by @SaladDay in https://github.com/MiniMax-AI/cli/pull/244
- fix: select quota endpoint by credential by @victor0602 in https://github.com/MiniMax-AI/cli/pull/232
- fix(quota): normalize ambiguous usage count semantics by @SaladDay in https://github.com/MiniMax-AI/cli/pull/245
- fix: honor configured quota output format by @SaladDay in https://github.com/MiniMax-AI/cli/pull/246
- feat: add coding agent setup command by @SaladDay in https://github.com/MiniMax-AI/cli/pull/242
- @SaladDay made their first contribution in https://github.com/MiniMax-AI/cli/pull/241
Full Changelog: https://github.com/MiniMax-AI/cli/compare/v1.0.23...v1.0.24
- fix: support stdin-backed file options on Windows by @shaoohh in https://github.com/MiniMax-AI/cli/pull/208
- refactor: share file upload operation by @victor0602 in https://github.com/MiniMax-AI/cli/pull/229
- feat: add coding agent setup command by @SaladDay in https://github.com/MiniMax-AI/cli/pull/241
- feat(quota): visually separate reset countdown and show window interval by @SaladDay in https://github.com/MiniMax-AI/cli/pull/243
- ci: use MiniMax-M3 for PR reviews by @SaladDay in https://github.com/MiniMax-AI/cli/pull/244
- fix: select quota endpoint by credential by @victor0602 in https://github.com/MiniMax-AI/cli/pull/232
- fix(quota): normalize ambiguous usage count semantics by @SaladDay in https://github.com/MiniMax-AI/cli/pull/245
- fix: honor configured quota output format by @SaladDay in https://github.com/MiniMax-AI/cli/pull/246
- feat: add coding agent setup command by @SaladDay in https://github.com/MiniMax-AI/cli/pull/242
- @SaladDay made their first contribution in https://github.com/MiniMax-AI/cli/pull/241
What's Changed
- fix: support stdin-backed file options on Windows by @shaoohh in https://github.com/MiniMax-AI/cli/pull/208
- refactor: share file upload operation by @victor0602 in https://github.com/MiniMax-AI/cli/pull/229
- feat: add coding agent setup command by @SaladDay in https://github.com/MiniMax-AI/cli/pull/241
- feat(quota): visually separate reset countdown and show window interval by @SaladDay in https://github.com/MiniMax-AI/cli/pull/243
- ci: use MiniMax-M3 for PR reviews by @SaladDay in https://github.com/MiniMax-AI/cli/pull/244
- fix: select quota endpoint by credential by @victor0602 in https://github.com/MiniMax-AI/cli/pull/232
- fix(quota): normalize ambiguous usage count semantics by @SaladDay in https://github.com/MiniMax-AI/cli/pull/245
- fix: honor configured quota output format by @SaladDay in https://github.com/MiniMax-AI/cli/pull/246
- feat: add coding agent setup command by @SaladDay in https://github.com/MiniMax-AI/cli/pull/242
New Contributors
- @SaladDay made their first contribution in https://github.com/MiniMax-AI/cli/pull/241
Full Changelog: https://github.com/MiniMax-AI/cli/compare/v1.0.22...v1.0.23
Installation
npm install -g mmx-cli