mmx-cli 1.0.4 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +24 -12
  2. package/dist/mmx.mjs +173 -172
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -1,10 +1,8 @@
1
- <p align="center">
2
- <img src="https://filecdn.minimax.chat/public/6335add6-5bff-42c8-89bf-0a505aa61c5a.png" alt="MiniMax" width="320" />
3
- </p>
1
+ <img src="https://file.cdn.minimax.io/public/MMX.png" alt="MiniMax" width="100%" />
4
2
 
5
3
  <p align="center">
6
4
  <strong>The official CLI for the MiniMax AI Platform</strong><br>
7
- Generate text, images, video, speech, and music — all from your terminal.
5
+ Built for AI agents. Generate text, images, video, speech, and music — from any agent or terminal.
8
6
  </p>
9
7
 
10
8
  <p align="center">
@@ -14,7 +12,7 @@
14
12
  </p>
15
13
 
16
14
  <p align="center">
17
- <a href="README_CN.md">中文文档</a> · <a href="https://platform.minimax.io">Platform</a>
15
+ <a href="README_CN.md">中文文档</a> · <a href="https://platform.minimax.io">Global Platform</a> · <a href="https://platform.minimaxi.com">CN Platform</a>
18
16
  </p>
19
17
 
20
18
  ## Features
@@ -23,7 +21,7 @@
23
21
  - **Image** — Text-to-image with aspect ratio and batch controls
24
22
  - **Video** — Async video generation with progress tracking
25
23
  - **Speech** — TTS with 30+ voices, speed control, streaming playback
26
- - **Music** — Text-to-music with optional lyrics
24
+ - **Music** — Text-to-music with lyrics, instrumental mode, auto lyrics, and cover generation from reference audio
27
25
  - **Vision** — Image understanding and description
28
26
  - **Search** — Web search powered by MiniMax
29
27
  - **Dual Region** — Seamless Global (`api.minimax.io`) and CN (`api.minimaxi.com`) support
@@ -31,15 +29,17 @@
31
29
  ## Install
32
30
 
33
31
  ```bash
34
- # Install CLI
35
- npm install -g mmx-cli
36
-
37
- # Install CLI Skill (for AI agents / Cursor)
32
+ # For AI agents (OpenClaw, Cursor, Claude Code, etc.): add skill to your agent
38
33
  npx skills add MiniMax-AI/cli -y -g
34
+
35
+ # Or install CLI globally for terminal use
36
+ npm install -g mmx-cli
39
37
  ```
40
38
 
41
39
  > Requires [Node.js](https://nodejs.org) 18+
42
40
 
41
+ > **Requires a MiniMax Token Plan** — [Global](https://platform.minimax.io/subscribe/token-plan) · [CN](https://platform.minimaxi.com/subscribe/token-plan)
42
+
43
43
  ## Quick Start
44
44
 
45
45
  ```bash
@@ -99,9 +99,15 @@ mmx speech voices
99
99
  ### `mmx music`
100
100
 
101
101
  ```bash
102
- mmx music generate --prompt "Upbeat pop" --lyrics "[verse] La da dee, sunny day"
103
- mmx music generate --prompt "Jazz" --lyrics "La la la" --out song.mp3
102
+ # Generate with lyrics
103
+ mmx music generate --prompt "Upbeat pop" --lyrics "[verse] La da dee, sunny day" --out song.mp3
104
+ # Auto-generate lyrics from prompt
105
+ mmx music generate --prompt "Indie folk, melancholic, rainy night" --lyrics-optimizer --out song.mp3
106
+ # Instrumental (no vocals)
104
107
  mmx music generate --prompt "Cinematic orchestral" --instrumental --out bgm.mp3
108
+ # Cover — generate a cover version from a reference audio file
109
+ mmx music cover --prompt "Jazz, piano, warm female vocal" --audio-file original.mp3 --out cover.mp3
110
+ mmx music cover --prompt "Indie folk" --audio https://example.com/song.mp3 --out cover.mp3
105
111
  ```
106
112
 
107
113
  ### `mmx vision`
@@ -145,6 +151,12 @@ mmx update
145
151
  mmx update latest
146
152
  ```
147
153
 
154
+ ## Thanks to
155
+
156
+ <a href="https://github.com/MiniMax-AI/cli/graphs/contributors">
157
+ <img src="https://contrib.rocks/image?repo=MiniMax-AI/cli" />
158
+ </a>
159
+
148
160
  ## License
149
161
 
150
162
  [MIT](LICENSE)