File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -147,6 +147,7 @@ mmx auth logout
147147mmx quota
148148mmx config show
149149mmx config set --key region --value cn
150+ mmx config set --key default-text-model --value MiniMax-M2.7-highspeed
150151mmx config export-schema | jq .
151152```
152153
Original file line number Diff line number Diff line change @@ -147,6 +147,7 @@ mmx auth logout
147147mmx quota
148148mmx config show
149149mmx config set --key region --value cn
150+ mmx config set --key default-text-model --value MiniMax-M2.7-highspeed
150151mmx config export-schema | jq .
151152```
152153
Original file line number Diff line number Diff line change @@ -406,3 +406,26 @@ mmx config show
406406export MINIMAX_API_KEY=sk-xxxxx
407407export MINIMAX_REGION=cn
408408```
409+
410+ ### Default Model Configuration
411+
412+ Set per-modality defaults so you don't need ` --model ` every time:
413+
414+ ``` bash
415+ # Set defaults
416+ mmx config set --key default-text-model --value MiniMax-M2.7-highspeed
417+ mmx config set --key default-speech-model --value speech-2.8-hd
418+ mmx config set --key default-video-model --value MiniMax-Hailuo-2.3
419+ mmx config set --key default-music-model --value music-2.6
420+
421+ # Use without --model
422+ mmx text chat --message " Hello"
423+ mmx speech synthesize --text " Hello" --out hello.mp3
424+ mmx video generate --prompt " Ocean waves"
425+ mmx music generate --prompt " Upbeat pop" --instrumental
426+
427+ # --model still overrides per-call
428+ mmx text chat --model MiniMax-M2.7 --message " Hello"
429+ ```
430+
431+ ** Resolution priority** : ` --model ` flag > config default > hardcoded fallback.
You can’t perform that action at this time.
0 commit comments