MiniMax: Music 2.5+
MiniMax Music 2.5+ generates music from a style-and-mood prompt and supplied lyrics. Its synchronous music profile accepts 10–2,000 prompt characters, 10–3,500 lyric characters and MP3 or WAV output.
- Ailoot Ultra · Music
POST /v1/music/generationsminimax/music-2.5+ - Ailoot Ultra · Music
POST /v1/music/generationsmusic-2.5+
About the model
This description covers the model’s capabilities. Available in Ailoot inputs, outputs and options are listed for the selected method below.
MiniMax Music 2.5+ creates music from a written musical brief and lyrics. Select minimax/music-2.5+ for this exact edition; music-2.5+ is its configured alias. Its music method uses a JSON request with model, prompt and lyrics and produces generated audio. Use it to turn a written song concept into a listening draft, set supplied lyrics to music or explore a composition before further editing.
Use prompt to describe the musical style, mood and setting, and lyrics for the words to be sung. A useful brief might ask for an introspective folk song for a quiet cafe, with a verse that establishes the scene and a chorus that repeats its central idea. Keep the musical direction in prompt and the intended lines in lyrics so the text has a clear role in the composition.
For Music 2.5+, prompt must contain 10–2,000 characters and lyrics must contain 10–3,500 characters. Include both text fields in the request along with the selected model. Use the prompt space for the musical choices that matter, then give the full intended words in lyrics. A compact but complete brief is easier to compare with the returned song than unrelated instructions spread across both fields.
Separate lyric lines with newline characters. Section labels such as [Intro], [Verse], [Pre Chorus], [Chorus], [Bridge] and [Outro] can identify the intended structure; the documented set also includes [Interlude], [Post Chorus], [Transition], [Break], [Hook], [Build Up], [Inst] and [Solo]. Place the actual words beneath their section labels and keep repeated sections deliberate. These markers give the composition a structure to work from; review how the completed song actually realizes the transitions and repetitions.
The audio_setting object offers sample_rate values of 16000, 24000, 32000 or 44100, bitrate values of 32000, 64000, 128000 or 256000, and format values mp3 or wav. Choose the file settings for the next editing or playback step and keep them with the brief. The published example requests 44100, 256000 and mp3; those are example selections rather than universal defaults for all three fields.
The selected music workflow is synchronous and non-streaming. The documented output_format choices are url and hex, with hex as the schema default; the selected example explicitly requests url. For URL output, use the returned Ailoot link to download the saved audio. A hex result represents audio bytes that must be decoded into the selected file format before playback. The response may contain both audio and audio_url locations for one generated audio; preserve that result as one song.
Save the completed audio with its lyrics, musical brief, exact model ID and requested file settings. Listen for the intended words, section order and musical direction before placing it in a project. If a request ends without a complete result, retain its original request identity and response information for a result check; an automatic replacement request can create another song. A revision can change a specific lyric or musical instruction while preserving the rest of the brief for comparison.
Ailoot Ultra · Music POST /v1/music/generations minimax/music-2.5+
minimax/music-2.5+minimax/music-2.5+music-2.5+
Overview
MiniMax Music 2.5+ generates music from a style-and-mood prompt and supplied lyrics. Its synchronous music profile accepts 10–2,000 prompt characters, 10–3,500 lyric characters and MP3 or WAV output.
- Accepted inputs
- Text
- Results
- Audio
Available in Ailoot · inputs & methods
Ailoot Ultra · Music POST /v1/music/generations
- Input types
text- Output types
audio- Output format
- mp3,wav
| Field | Type | Requirement | Values & limits | Default |
|---|---|---|---|---|
Fieldmodel | Typestring | RequirementRequired | Values & limits minimax/music-2.5+ | Default— |
Fieldprompt | Typestring | RequirementRequired | Values & limits | Default— |
Fieldlyrics | Typestring | RequirementRequired | Values & limits | Default— |
Fieldstream | Typeboolean | RequirementOptional | Values & limits false | Defaultfalse |
Fieldoutput_format | Typestring | RequirementOptional | Values & limits url, hex | Defaulthex |
Fieldaudio_setting | Typeobject | RequirementOptional | Values & limits | Default— |
Fieldaudio_setting.sample_rate | Typeinteger | RequirementOptional | Values & limits 16,000, 24,000, 32,000, 44,100 | Default— |
Fieldaudio_setting.bitrate | Typeinteger | RequirementOptional | Values & limits 32,000, 64,000, 128,000, 256,000 | Default— |
Fieldaudio_setting.format | Typestring | RequirementOptional | Values & limits mp3, wav | Default— |
Fieldaigc_watermark | Typeboolean | RequirementOptional | Values & limits | Defaultfalse |
Method parameters and lifecycle
| Parameter | Contract |
|---|---|
Parametercontent_type | Contractapplication/json |
Parameterrequired | Contractmodel, prompt, lyrics |
Parameteroptional | Contractstream, output_format, audio_setting, aigc_watermark |
Parametermaterial_types | Contracttext |
Parameterconditions | ContractUse a nonstreaming request. MP3 and WAV are available; a PCM control is absent from this method. |
Lifecycle: synchronous_result_then_owned_library
GET /v1/media/assets
GET /v1/media/assets/{asset_id}
Pricing
Tariff references do not add request options. Supported parameters are listed for the selected method.
- Fast mode
- Not specified When fast mode is selected
- Flex mode
- Not specified When flex mode is selected
- Maximum reasoning effort
- Not specified When maximum reasoning effort uses the default adjustment
Ailoot rates
Prices by configuration
Match each charge to the conditions shown. Use one rate for each set of alternative configurations.
| Configuration | Rate schedule | Billing quantity | Charge |
|---|---|---|---|
| ConfigurationBase token rates | Rate scheduleBase rate | Billing quantity— | Charge Input · Input tokens — / 1K tokens Output · Output tokens — / 1K tokens Input · Cache read — / 1K tokens Input · Cache write — / 1K tokens Input · Cache write, 1 hour — / 1K tokens |
| ConfigurationPer request | Rate schedule— | Billing quantityone request | Charge Input $0.3 per request |
Ailoot reserves an estimated amount before a request. After the result, it settles the final charge from measured usage. Streaming settlement uses the final usage record. How reservation and settlement work →
Example requests
Ailoot Ultra · Music
set -eu
: "${AILOOT_API_KEY:?Set your Ailoot API key}"
export AILOOT_API_KEY
python3 - <<'PY_REQUEST'
import json,os
from pathlib import Path
p=json.loads('{"model": "minimax/music-2.5+", "prompt": "独立民谣,忧郁,内省,渴望,独自漫步,咖啡馆", "lyrics": "[verse]\\n街灯微亮晚风轻抚\\n影子拉长独自漫步\\n旧外套裹着深深忧郁\\n不知去向渴望何处\\n[chorus]\\n推开木门香气弥漫\\n熟悉的角落陌生人看", "audio_setting": {"sample_rate": 44100, "bitrate": 256000, "format": "mp3"}, "output_format": "url"}')
Path("request.json").write_text(json.dumps(p,ensure_ascii=False))
PY_REQUEST
curl --fail-with-body --silent --show-error https://api.ailoot.ai/v1/music/generations \
-H "Authorization: Bearer $AILOOT_API_KEY" -H 'Content-Type: application/json' \
--data-binary @request.json -D response-headers.txt -o result.json
# Submit once. Retain the complete result, original identifiers and every response header.
Receive and save results
Ailoot Ultra · Music
mp3,wav
GET /v1/media/assetsGET /v1/media/assets/{asset_id}
Keep all completed results
Keep every complete returned response, file and content part.
One generated audio; retain every returned field. audio and audio_url are representations of the same output, not separate songs.
If the original response needs checking
Preserve the original response, headers and X-Client-Request-ID. An uncertain outcome does not authorize another creation.
Response fields
| Field | Type |
|---|---|
Fielddata.audio | Typestring |
Fielddata.audio_url | Typestring |
Fielddata.status | Typeinteger |
Aliases
Model aliases
Ailoot Ultra minimax/music-2.5+, music-2.5+
Method path aliases
Use the method paths shown above.
Related caller IDs
Ailoot Ultra · Music POST /v1/music/generations music-2.5+
music-2.5+minimax/music-2.5+music-2.5+
Overview
MiniMax Music 2.5+ generates music from a style-and-mood prompt and supplied lyrics. Its synchronous music profile accepts 10–2,000 prompt characters, 10–3,500 lyric characters and MP3 or WAV output.
- Accepted inputs
- Text
- Results
- Audio
Available in Ailoot · inputs & methods
Ailoot Ultra · Music POST /v1/music/generations
- Input types
text- Output types
audio- Output format
- mp3,wav
| Field | Type | Requirement | Values & limits | Default |
|---|---|---|---|---|
Fieldmodel | Typestring | RequirementRequired | Values & limits music-2.5+ | Default— |
Fieldprompt | Typestring | RequirementRequired | Values & limits | Default— |
Fieldlyrics | Typestring | RequirementRequired | Values & limits | Default— |
Fieldstream | Typeboolean | RequirementOptional | Values & limits false | Defaultfalse |
Fieldoutput_format | Typestring | RequirementOptional | Values & limits url, hex | Defaulthex |
Fieldaudio_setting | Typeobject | RequirementOptional | Values & limits | Default— |
Fieldaudio_setting.sample_rate | Typeinteger | RequirementOptional | Values & limits 16,000, 24,000, 32,000, 44,100 | Default— |
Fieldaudio_setting.bitrate | Typeinteger | RequirementOptional | Values & limits 32,000, 64,000, 128,000, 256,000 | Default— |
Fieldaudio_setting.format | Typestring | RequirementOptional | Values & limits mp3, wav | Default— |
Fieldaigc_watermark | Typeboolean | RequirementOptional | Values & limits | Defaultfalse |
Method parameters and lifecycle
| Parameter | Contract |
|---|---|
Parametercontent_type | Contractapplication/json |
Parameterrequired | Contractmodel, prompt, lyrics |
Parameteroptional | Contractstream, output_format, audio_setting, aigc_watermark |
Parametermaterial_types | Contracttext |
Parameterconditions | ContractUse a nonstreaming request. MP3 and WAV are available; a PCM control is absent from this method. |
Lifecycle: synchronous_result_then_owned_library
GET /v1/media/assets
GET /v1/media/assets/{asset_id}
Pricing
Tariff references do not add request options. Supported parameters are listed for the selected method.
- Fast mode
- Not specified When fast mode is selected
- Flex mode
- Not specified When flex mode is selected
- Maximum reasoning effort
- Not specified When maximum reasoning effort uses the default adjustment
Ailoot rates
Prices by configuration
Match each charge to the conditions shown. Use one rate for each set of alternative configurations.
| Configuration | Rate schedule | Billing quantity | Charge |
|---|---|---|---|
| ConfigurationBase token rates | Rate scheduleBase rate | Billing quantity— | Charge Input · Input tokens — / 1K tokens Output · Output tokens — / 1K tokens Input · Cache read — / 1K tokens Input · Cache write — / 1K tokens Input · Cache write, 1 hour — / 1K tokens |
| ConfigurationPer request | Rate schedule— | Billing quantityone request | Charge Input $0.3 per request |
Ailoot reserves an estimated amount before a request. After the result, it settles the final charge from measured usage. Streaming settlement uses the final usage record. How reservation and settlement work →
Example requests
Ailoot Ultra · Music
set -eu
: "${AILOOT_API_KEY:?Set your Ailoot API key}"
export AILOOT_API_KEY
python3 - <<'PY_REQUEST'
import json,os
from pathlib import Path
p=json.loads('{"model": "music-2.5+", "prompt": "独立民谣,忧郁,内省,渴望,独自漫步,咖啡馆", "lyrics": "[verse]\\n街灯微亮晚风轻抚\\n影子拉长独自漫步\\n旧外套裹着深深忧郁\\n不知去向渴望何处\\n[chorus]\\n推开木门香气弥漫\\n熟悉的角落陌生人看", "audio_setting": {"sample_rate": 44100, "bitrate": 256000, "format": "mp3"}, "output_format": "url"}')
Path("request.json").write_text(json.dumps(p,ensure_ascii=False))
PY_REQUEST
curl --fail-with-body --silent --show-error https://api.ailoot.ai/v1/music/generations \
-H "Authorization: Bearer $AILOOT_API_KEY" -H 'Content-Type: application/json' \
--data-binary @request.json -D response-headers.txt -o result.json
# Submit once. Retain the complete result, original identifiers and every response header.
Receive and save results
Ailoot Ultra · Music
mp3,wav
GET /v1/media/assetsGET /v1/media/assets/{asset_id}
Keep all completed results
Keep every complete returned response, file and content part.
One generated audio; retain every returned field. audio and audio_url are representations of the same output, not separate songs.
If the original response needs checking
Preserve the original response, headers and X-Client-Request-ID. An uncertain outcome does not authorize another creation.
Response fields
| Field | Type |
|---|---|
Fielddata.audio | Typestring |
Fielddata.audio_url | Typestring |
Fielddata.status | Typeinteger |
Aliases
Model aliases
Ailoot Ultra minimax/music-2.5+, music-2.5+
Method path aliases
Use the method paths shown above.
Related caller IDs
FAQ · MiniMax: Music 2.5+
- What inputs and results are available?
POST /v1/music/generations·minimax/music-2.5+:text→audioPOST /v1/music/generations·music-2.5+:text→audio- Which fields does the request use?
POST /v1/music/generations·minimax/music-2.5+:model,prompt,lyrics,stream,output_format,audio_setting,aigc_watermarkPOST /v1/music/generations·music-2.5+:model,prompt,lyrics,stream,output_format,audio_setting,aigc_watermark