Skip to content

Commit c241ec4

Browse files
feat: re-gen minimax and elevenlabs music models
1 parent b202e6f commit c241ec4

5 files changed

Lines changed: 105 additions & 41 deletions

File tree

‎docs/api-references/music-models/MiniMax/music-1.5.json‎

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,16 @@
4242
"audio_setting": {
4343
"type": "object",
4444
"properties": {
45-
"sample_rate": {
45+
"audio_sample_rate": {
4646
"type": "integer",
4747
"description": "The sampling rate of the generated music.",
4848
"enum": [
4949
16000,
5050
24000,
5151
32000,
5252
44100
53-
]
53+
],
54+
"default": "44100"
5455
},
5556
"bitrate": {
5657
"type": "integer",
@@ -60,7 +61,8 @@
6061
64000,
6162
128000,
6263
256000
63-
]
64+
],
65+
"default": "256000"
6466
},
6567
"format": {
6668
"type": "string",
@@ -69,12 +71,10 @@
6971
"wav",
7072
"pcm"
7173
],
74+
"default": "mp3",
7275
"description": "The format of the generated music."
7376
}
74-
},
75-
"required": [
76-
"format"
77-
]
77+
}
7878
}
7979
},
8080
"required": [
@@ -154,10 +154,16 @@
154154
"type": "number",
155155
"description": "The number of tokens consumed during generation.",
156156
"example": 120000
157+
},
158+
"usd_spent": {
159+
"type": "number",
160+
"description": "The total amount of money spent by the user in USD.",
161+
"example": 0.06
157162
}
158163
},
159164
"required": [
160-
"credits_used"
165+
"credits_used",
166+
"usd_spent"
161167
]
162168
}
163169
},

‎docs/api-references/music-models/MiniMax/music-2.0.json‎

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,16 @@
4242
"audio_setting": {
4343
"type": "object",
4444
"properties": {
45-
"sample_rate": {
45+
"audio_sample_rate": {
4646
"type": "integer",
4747
"description": "The sampling rate of the generated music.",
4848
"enum": [
4949
16000,
5050
24000,
5151
32000,
5252
44100
53-
]
53+
],
54+
"default": "44100"
5455
},
5556
"bitrate": {
5657
"type": "integer",
@@ -60,7 +61,8 @@
6061
64000,
6162
128000,
6263
256000
63-
]
64+
],
65+
"default": "256000"
6466
},
6567
"format": {
6668
"type": "string",
@@ -69,12 +71,10 @@
6971
"wav",
7072
"pcm"
7173
],
74+
"default": "mp3",
7275
"description": "The format of the generated music."
7376
}
74-
},
75-
"required": [
76-
"format"
77-
]
77+
}
7878
}
7979
},
8080
"required": [
@@ -154,10 +154,16 @@
154154
"type": "number",
155155
"description": "The number of tokens consumed during generation.",
156156
"example": 120000
157+
},
158+
"usd_spent": {
159+
"type": "number",
160+
"description": "The total amount of money spent by the user in USD.",
161+
"example": 0.06
157162
}
158163
},
159164
"required": [
160-
"credits_used"
165+
"credits_used",
166+
"usd_spent"
161167
]
162168
}
163169
},

‎docs/api-references/music-models/MiniMax/music-2.6.json‎

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -28,29 +28,28 @@
2828
},
2929
"prompt": {
3030
"type": "string",
31-
"minLength": 10,
3231
"maxLength": 2000,
3332
"description": "A description of the music, specifying style, mood, and scenario. Length: 10–2000 characters."
3433
},
3534
"lyrics": {
3635
"type": "string",
37-
"minLength": 10,
3836
"maxLength": 3000,
3937
"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.",
4038
"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"
4139
},
4240
"audio_setting": {
4341
"type": "object",
4442
"properties": {
45-
"sample_rate": {
43+
"audio_sample_rate": {
4644
"type": "integer",
4745
"description": "The sampling rate of the generated music.",
4846
"enum": [
4947
16000,
5048
24000,
5149
32000,
5250
44100
53-
]
51+
],
52+
"default": "44100"
5453
},
5554
"bitrate": {
5655
"type": "integer",
@@ -60,7 +59,8 @@
6059
64000,
6160
128000,
6261
256000
63-
]
62+
],
63+
"default": "256000"
6464
},
6565
"format": {
6666
"type": "string",
@@ -69,18 +69,24 @@
6969
"wav",
7070
"pcm"
7171
],
72+
"default": "mp3",
7273
"description": "The format of the generated music."
7374
}
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."
7886
}
7987
},
8088
"required": [
81-
"model",
82-
"prompt",
83-
"lyrics"
89+
"model"
8490
],
8591
"title": "minimax/music-2.6"
8692
}

‎docs/api-references/music-models/elevenlabs/eleven_music.json‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,10 +116,16 @@
116116
"type": "number",
117117
"description": "The number of tokens consumed during generation.",
118118
"example": 120000
119+
},
120+
"usd_spent": {
121+
"type": "number",
122+
"description": "The total amount of money spent by the user in USD.",
123+
"example": 0.06
119124
}
120125
},
121126
"required": [
122-
"credits_used"
127+
"credits_used",
128+
"usd_spent"
123129
]
124130
}
125131
},
Lines changed: 52 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,58 @@
11
[
22
{
3-
"name": "x-ai/grok-4-20-0309-non-reasoning",
4-
"url": "https://ai.aimlapi.com/docs-json?endpoint=openai/chat-completions&model=x-ai/grok-4-20-0309-non-reasoning",
5-
"alias": "grok-4-20-0309-non-reasoning",
6-
"category": "text-models-llm",
7-
"vendor": "xAI",
8-
"codeSamples": "chat-completion"
3+
"name": "minimax/music-1.5",
4+
"url": "https://ai.aimlapi.com/docs-json?endpoint=internal/audio-generations/submit&model=minimax/music-1.5",
5+
"alias": "music-1.5",
6+
"category": "music-models",
7+
"vendor": "MiniMax",
8+
"codeSamples": "custom",
9+
"customUrlApi": "https://api.aimlapi.com/v2/generate/audio",
10+
"customParams":{
11+
"model": "minimax/music-1.5",
12+
"prompt": "Lo-fi pop hip-hop ambient music",
13+
"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..."
14+
}
915
},
1016
{
11-
"name": "x-ai/grok-4-20-0309-reasoning",
12-
"url": "https://ai.aimlapi.com/docs-json?endpoint=openai/chat-completions&model=x-ai/grok-4-20-0309-reasoning",
13-
"alias": "grok-4-20-0309-reasoning",
14-
"category": "text-models-llm",
15-
"vendor": "xAI",
16-
"codeSamples": "chat-completion"
17+
"name": "minimax/music-2.0",
18+
"url": "https://ai.aimlapi.com/docs-json?endpoint=internal/audio-generations/submit&model=minimax/music-2.0",
19+
"alias": "music-2.0",
20+
"category": "music-models",
21+
"vendor": "MiniMax",
22+
"codeSamples": "custom",
23+
"customUrlApi": "https://api.aimlapi.com/v2/generate/audio",
24+
"customParams":{
25+
"model": "minimax/music-2.0",
26+
"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..."
28+
}
29+
},
30+
{
31+
"name": "minimax/music-2.6",
32+
"url": "https://ai.aimlapi.com/docs-json?endpoint=internal/audio-generations/submit&model=minimax/music-2.6",
33+
"alias": "music-2.6",
34+
"category": "music-models",
35+
"vendor": "MiniMax",
36+
"codeSamples": "custom",
37+
"customUrlApi": "https://api.aimlapi.com/v2/generate/audio",
38+
"customParams":{
39+
"model": "minimax/music-2.0",
40+
"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..."
42+
}
43+
},
44+
{
45+
"name": "elevenlabs/eleven_music",
46+
"url": "https://ai.aimlapi.com/docs-json?endpoint=internal/audio-generations/submit&model=elevenlabs/eleven_music",
47+
"alias": "eleven_music",
48+
"category": "music-models",
49+
"vendor": "elevenlabs",
50+
"codeSamples": "custom",
51+
"customUrlApi": "https://api.aimlapi.com/v2/generate/audio",
52+
"customParams":{
53+
"model": "elevenlabs/eleven_music",
54+
"prompt": "Lo-fi pop hip-hop ambient music, slow intro: 10 s, then faster and with loud bass: 10 s",
55+
"music_length_ms": 20000
56+
}
1757
}
1858
]

0 commit comments

Comments
 (0)