mmx-cli 1.0.7 → 1.0.8

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 +9 -2
  2. package/dist/mmx.mjs +207 -194
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -26,6 +26,8 @@
26
26
  - **Search** — Web search powered by MiniMax
27
27
  - **Dual Region** — Seamless Global (`api.minimax.io`) and CN (`api.minimaxi.com`) support
28
28
 
29
+ <img src="https://file.cdn.minimax.io/public/MMX-CLI.png" alt="MiniMax" width="100%" />
30
+
29
31
  ## Install
30
32
 
31
33
  ```bash
@@ -80,8 +82,8 @@ mmx image generate --prompt "Logo" --out-dir ./out/
80
82
  ### `mmx video`
81
83
 
82
84
  ```bash
83
- mmx video generate --prompt "Ocean waves at sunset" --async
84
- mmx video generate --prompt "A robot painting" --download sunset.mp4
85
+ mmx video generate --prompt "Ocean waves at sunset" --download sunset.mp4
86
+ mmx video generate --prompt "A robot painting" --async
85
87
  mmx video task get --task-id 123456
86
88
  mmx video download --file-id 176844028768320 --out video.mp4
87
89
  ```
@@ -135,12 +137,17 @@ mmx auth refresh
135
137
  mmx auth logout
136
138
  ```
137
139
 
140
+ `mmx auth status` is the canonical way to verify active authentication.
141
+ `~/.mmx/credentials.json` exists only for OAuth login. API-key login persists to
142
+ `~/.mmx/config.json` (and `--api-key` can also be passed per command).
143
+
138
144
  ### `mmx config` · `mmx quota`
139
145
 
140
146
  ```bash
141
147
  mmx quota
142
148
  mmx config show
143
149
  mmx config set --key region --value cn
150
+ mmx config set --key default-text-model --value MiniMax-M2.7-highspeed
144
151
  mmx config export-schema | jq .
145
152
  ```
146
153