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
{{ message }}
Repository navigation
Commit c241ec4
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/api-references/music-models/MiniMax/music-2.6.json
+18-12Lines changed: 18 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -28,29 +28,28 @@
28
28
},
29
29
"prompt": {
30
30
"type": "string",
31
-
"minLength": 10,
32
31
"maxLength": 2000,
33
32
"description": "A description of the music, specifying style, mood, and scenario. Length: 10–2000 characters."
34
33
},
35
34
"lyrics": {
36
35
"type": "string",
37
-
"minLength": 10,
38
36
"maxLength": 3000,
39
37
"description": "Lyrics of the song. Use (\n) to separate lines. You may add structure tags like [Intro], [Verse], [Chorus], [Bridge], [Outro] to enhance the arrangement. Length: 10–3000 characters.",
40
38
"example": "[Verse]\nStreetlights flicker, the night breeze sighs\nShadows stretch as I walk alone\nAn old coat wraps my silent sorrow\nWandering, longing, where should I go\n[Chorus]\nPushing the wooden door, the aroma spreads\nIn a familiar corner, a stranger gazes"
41
39
},
42
40
"audio_setting": {
43
41
"type": "object",
44
42
"properties": {
45
-
"sample_rate": {
43
+
"audio_sample_rate": {
46
44
"type": "integer",
47
45
"description": "The sampling rate of the generated music.",
48
46
"enum": [
49
47
16000,
50
48
24000,
51
49
32000,
52
50
44100
53
-
]
51
+
],
52
+
"default": "44100"
54
53
},
55
54
"bitrate": {
56
55
"type": "integer",
@@ -60,7 +59,8 @@
60
59
64000,
61
60
128000,
62
61
256000
63
-
]
62
+
],
63
+
"default": "256000"
64
64
},
65
65
"format": {
66
66
"type": "string",
@@ -69,18 +69,24 @@
69
69
"wav",
70
70
"pcm"
71
71
],
72
+
"default": "mp3",
72
73
"description": "The format of the generated music."
73
74
}
74
-
},
75
-
"required": [
76
-
"format"
77
-
]
75
+
}
76
+
},
77
+
"lyrics_optimizer": {
78
+
"type": "boolean",
79
+
"default": false,
80
+
"description": "Whether to automatically generate lyrics based on the prompt description. When set to true and lyrics is empty, the system will automatically generate lyrics from the prompt."
81
+
},
82
+
"is_instrumental": {
83
+
"type": "boolean",
84
+
"default": false,
85
+
"description": "Whether to generate instrumental music (no vocals). When set to true, the lyrics field is not required."
"lyrics": "[Verse]\nStreetlights flicker, the night breeze sighs\nShadows stretch as I walk alone\nAn old coat wraps my silent sorrow\nWandering, longing, where should I go\n[Chorus]\nPushing the wooden door, the aroma spreads\nIn a familiar corner, a stranger gazes back\nWarm lights flicker, memories awaken\nIn this small cafe, I find my way\n[Verse]\nRaindrops tap on the windowpane\nA melody plays, soft and low\nThe clink of cups, the murmur of dreams\nIn this haven, I find my home\n[Chorus]\nPushing the wooden door, the aroma spreads\nIn a familiar corner, a stranger gazes back\nWarm lights flicker, memories awaken\nIn this small cafe, I find my way..."
"prompt": "Lo-fi pop hip-hop ambient music, slow intro: 10 s, then faster and with loud bass: 10 s",
27
+
"lyrics": "[Verse]\nStreetlights flicker, the night breeze sighs\nShadows stretch as I walk alone\nAn old coat wraps my silent sorrow\nWandering, longing, where should I go\n[Chorus]\nPushing the wooden door, the aroma spreads\nIn a familiar corner, a stranger gazes back\nWarm lights flicker, memories awaken\nIn this small cafe, I find my way\n[Verse]\nRaindrops tap on the windowpane\nA melody plays, soft and low\nThe clink of cups, the murmur of dreams\nIn this haven, I find my home\n[Chorus]\nPushing the wooden door, the aroma spreads\nIn a familiar corner, a stranger gazes back\nWarm lights flicker, memories awaken\nIn this small cafe, I find my way..."
"prompt": "Lo-fi pop hip-hop ambient music, slow intro: 10 s, then faster and with loud bass: 10 s",
41
+
"lyrics": "[Verse]\nStreetlights flicker, the night breeze sighs\nShadows stretch as I walk alone\nAn old coat wraps my silent sorrow\nWandering, longing, where should I go\n[Chorus]\nPushing the wooden door, the aroma spreads\nIn a familiar corner, a stranger gazes back\nWarm lights flicker, memories awaken\nIn this small cafe, I find my way\n[Verse]\nRaindrops tap on the windowpane\nA melody plays, soft and low\nThe clink of cups, the murmur of dreams\nIn this haven, I find my home\n[Chorus]\nPushing the wooden door, the aroma spreads\nIn a familiar corner, a stranger gazes back\nWarm lights flicker, memories awaken\nIn this small cafe, I find my way..."
0 commit comments