Skip to content

Commit 920273d

Browse files
authored
Merge pull request #37 from raylanlin/docs/skill-music-sync
docs(skill): sync music generate flags with CLI implementation
2 parents 194df50 + d1bf2c9 commit 920273d

File tree

1 file changed

+29
-3
lines changed

1 file changed

+29
-3
lines changed

skill/SKILL.md

Lines changed: 29 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -184,17 +184,31 @@ echo "Breaking news." | minimax speech synthesize --text-file - --out news.mp3
184184

185185
### music generate
186186

187-
Generate music. Model: `music-2.5`.
187+
Generate music. Model: `music-2.5`. Responds well to rich, structured descriptions.
188188

189189
```bash
190190
minimax music generate --prompt <text> [--lyrics <text>] [flags]
191191
```
192192

193193
| Flag | Type | Description |
194194
|---|---|---|
195-
| `--prompt <text>` | string | Music style description |
196-
| `--lyrics <text>` | string | Song lyrics |
195+
| `--prompt <text>` | string | Music style description (can be detailed) |
196+
| `--lyrics <text>` | string | Song lyrics with structure tags. Use `"\u65e0\u6b4c\u8bcd"` for instrumental. Cannot be used with `--instrumental` |
197197
| `--lyrics-file <path>` | string | Read lyrics from file. Use `-` for stdin |
198+
| `--vocals <text>` | string | Vocal style, e.g. `"warm male baritone"`, `"bright female soprano"`, `"duet with harmonies"` |
199+
| `--genre <text>` | string | Music genre, e.g. folk, pop, jazz |
200+
| `--mood <text>` | string | Mood or emotion, e.g. warm, melancholic, uplifting |
201+
| `--instruments <text>` | string | Instruments to feature, e.g. `"acoustic guitar, piano"` |
202+
| `--tempo <text>` | string | Tempo description, e.g. fast, slow, moderate |
203+
| `--bpm <number>` | number | Exact tempo in beats per minute |
204+
| `--key <text>` | string | Musical key, e.g. C major, A minor, G sharp |
205+
| `--avoid <text>` | string | Elements to avoid in the generated music |
206+
| `--use-case <text>` | string | Use case context, e.g. `"background music for video"`, `"theme song"` |
207+
| `--structure <text>` | string | Song structure, e.g. `"verse-chorus-verse-bridge-chorus"` |
208+
| `--references <text>` | string | Reference tracks or artists, e.g. `"similar to Ed Sheeran"` |
209+
| `--extra <text>` | string | Additional fine-grained requirements |
210+
| `--instrumental` | boolean | Generate instrumental music (no vocals). Cannot be used with `--lyrics` or `--lyrics-file` |
211+
| `--aigc-watermark` | boolean | Embed AI-generated content watermark |
198212
| `--format <fmt>` | string | Audio format (default: `mp3`) |
199213
| `--sample-rate <hz>` | number | Sample rate (default: 44100) |
200214
| `--bitrate <bps>` | number | Bitrate (default: 256000) |
@@ -204,7 +218,19 @@ minimax music generate --prompt <text> [--lyrics <text>] [flags]
204218
At least one of `--prompt` or `--lyrics` is required.
205219

206220
```bash
221+
# Simple usage
207222
minimax music generate --prompt "Upbeat pop" --lyrics "La la la..." --out song.mp3 --quiet
223+
224+
# Detailed prompt with vocal characteristics
225+
minimax music generate --prompt "Warm morning folk" \
226+
--vocals "male and female duet, harmonies in chorus" \
227+
--instruments "acoustic guitar, piano" \
228+
--bpm 95 \
229+
--lyrics-file song.txt \
230+
--out duet.mp3
231+
232+
# Instrumental (use --instrumental flag)
233+
minimax music generate --prompt "Cinematic orchestral, building tension" --instrumental --out bgm.mp3
208234
```
209235

210236
---

0 commit comments

Comments
 (0)