From 4b7a32a5438406c0a3f7c3feec2371312513480b Mon Sep 17 00:00:00 2001 From: Raylan LIN Date: Sun, 12 Apr 2026 04:32:02 +0800 Subject: [PATCH 1/2] docs: add per-modality default model configuration to skill Document the new config keys for setting default models across text, speech, video, and music modalities. --- skill/SKILL.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/skill/SKILL.md b/skill/SKILL.md index 7f64e6a..26005f8 100644 --- a/skill/SKILL.md +++ b/skill/SKILL.md @@ -403,3 +403,26 @@ mmx config show export MINIMAX_API_KEY=sk-xxxxx export MINIMAX_REGION=cn ``` + +### Default Model Configuration + +Set per-modality defaults so you don't need `--model` every time: + +```bash +# Set defaults +mmx config set --key default-text-model --value MiniMax-M2.7-highspeed +mmx config set --key default-speech-model --value speech-2.8-hd +mmx config set --key default-video-model --value MiniMax-Hailuo-2.3 +mmx config set --key default-music-model --value music-2.6 + +# Use without --model +mmx text chat --message "Hello" +mmx speech synthesize --text "Hello" --out hello.mp3 +mmx video generate --prompt "Ocean waves" +mmx music generate --prompt "Upbeat pop" --instrumental + +# --model still overrides per-call +mmx text chat --model MiniMax-M2.7 --message "Hello" +``` + +**Resolution priority**: `--model` flag > config default > hardcoded fallback. From bbfb3f5c86524ea63d38180908a954082704fb33 Mon Sep 17 00:00:00 2001 From: Raylan LIN Date: Sun, 12 Apr 2026 04:34:19 +0800 Subject: [PATCH 2/2] docs: add default model config example to README and README_CN --- README.md | 1 + README_CN.md | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index dbcfaa8..6a6572c 100644 --- a/README.md +++ b/README.md @@ -143,6 +143,7 @@ mmx auth logout mmx quota mmx config show mmx config set --key region --value cn +mmx config set --key default-text-model --value MiniMax-M2.7-highspeed mmx config export-schema | jq . ``` diff --git a/README_CN.md b/README_CN.md index ec50909..3cec274 100644 --- a/README_CN.md +++ b/README_CN.md @@ -143,6 +143,7 @@ mmx auth logout mmx quota mmx config show mmx config set --key region --value cn +mmx config set --key default-text-model --value MiniMax-M2.7-highspeed mmx config export-schema | jq . ```