You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add per-modality default model configuration
Allow users to set default models in config.json for each modality,
avoiding the need to pass --model on every command.
New config keys:
- default_text_model (default-text-model)
- default_speech_model (default-speech-model)
- default_video_model (default-video-model)
- default_music_model (default-music-model)
Resolution priority:
1. Explicit --model flag (highest)
2. Config file default
3. Hardcoded fallback (lowest)
Special cases:
- Video: auto-switch flags (--lastFrame, --subjectImage) take
priority over config defaults
- Music Cover: defaultMusicModel only applies if the value is a
valid cover model name, otherwise key-type default is preserved
Hardcoded defaults:
- text: MiniMax-M2.7
- speech: speech-2.8-hd
- video: MiniMax-Hailuo-2.3
- music: music-2.6-free (pay-as-you-go) / music-2.6 (token plan)
Tests: 97 pass (24 new tests across 6 test files)
0 commit comments