minimax/minimax-music
Minimax Music is MiniMax's AI audio generation model. Produce high-quality music tracks, sound effects, and audio landscapes from natural language prompts.
Example output — click Run to generate your own
Send your first request
OpenAI-compatible endpoint with unified authentication and usage tracking.
https://api.sandbase.ai/v1/runminimax/minimax-musicInput Schema
2 parameters · 1 required · 1 optional
| Parameter | Type | Required | Description |
|---|---|---|---|
prompt | string | Required | Lyrics with optional formatting. You can use a newline to separate each line of lyrics. You can use two newlines to add a pause between lines. You can use double hash marks (##) at the beginning and end of the lyrics to add accompaniment. Maximum 600 characters. · Min length: 1 · Max length: 600 |
reference_audio_url | string | Optional | Reference song, should contain music and vocals. Must be a .wav or .mp3 file longer than 15 seconds. |
Output Schema
| Field | Type | Description |
|---|---|---|
id | string | Unique identifier for the generation task |
status | string | Task status: pending, running, completed, failed, timeout |
model | string | Model used for the generation |
outputs | array | Array of output items |
outputs[].url | string | URL of the generated artifact |
outputs[].content_type | string | MIME type (e.g. image/png, video/mp4) |
error | object | null | Error details if failed, null on success |
error.type | string | Machine-readable error type code |
error.message | string | Human-readable error description |
Async Workflow
This model uses asynchronous execution. Submit a request and poll for the result.
- Submit — POST to /v1/run, receive an
id - Poll — GET /v1/run/{id} until status is
completed,failed, ortimeout - Retrieve — Read
outputsfrom the completed response
Code Examples
Ready-to-run snippets
# Step 1: Submit
curl -X POST https://api.sandbase.ai/v1/run \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "minimax/minimax-music",
"prompt": "## Fast and Limitless \n In the heart of the code, where dreams collide, \n\nFAL's the name, taking tech for a ride. \nGenerative media, blazing the trail, \n\nFast inference power, we'll never fail.\n##",
"reference_audio_url": "https://static.sandbase.ai/examples/minimax/minimax-music/input_reference_audio_url_0.mpga"
}'
# Step 2: Poll result (replace <id>)
curl https://api.sandbase.ai/v1/run/<id> \
-H "Authorization: Bearer YOUR_API_KEY"API README
Minimax Music
Minimax Music is built for full-song music generation, with this exact route focused on lyrics-aware musical arrangement. Minimax Music is MiniMax's AI audio generation model. Produce high-quality music tracks, sound effects, and audio landscapes from natural language prompts. It is designed for production workflows that need a clearly scoped media operation instead of a generic assistant response, preserving the supplied direction while returning an artifact ready for review, iteration, or downstream assembly.
The request surface keeps creative direction and delivery choices explicit through format, lyrics, prompt, bitrate, sample_rate, audio_setting. Teams can lock source material, describe the intended result, choose supported output controls, and rerun the same request structure across variations. This makes experiments easier to compare and larger pipelines easier to operate without hiding important decisions inside an opaque preset.
Highlights
- Lyrics-Aware Musical Arrangement. The
minimax/minimax-musicroute is dedicated to lyrics-aware musical arrangement, keeping inputs and outputs matched to this operation. - Vocal And Instrumental Composition. Within
minimax/minimax-music, documented prompt and media controls direct vocal and instrumental composition while keeping the brief close to the result. - Ready-To-Use Audio Output. The
minimax/minimax-musicresult provides ready-to-use audio output in a machine-consumable form for review and downstream production. - Route-specific control. For
minimax/minimax-music, documented controls includeformat,lyrics,prompt,bitrate,sample_rate,audio_setting, defining the supported variation space for this exact route.
Pricing
| Configuration | Price |
|---|---|
| Per request | $0.035000 |
When to Use
| Scenario | Why it fits |
|---|---|
| Choose this route | When the deliverable is specifically lyrics-aware musical arrangement, not a neighboring generation or editing task. |
| Production iteration | When creative teams need repeatable vocal and instrumental composition with an explicit request payload. |
| Automated pipelines | When ready-to-use audio output must flow into review, storage, compositing, or publishing. |
| Controlled variations | When a stable brief should be rerun while changing only documented inputs. |
| Prototype to scale | When the same minimax/minimax-music contract should serve a single experiment and a larger batch later. |
Prompt Guide
Lead with the subject or source, then state the transformation, important spatial or temporal details, style, and finish. Supply only documented fields, keep media URLs reachable, and vary one control at a time when comparing outputs.
{
"prompt": "A directed creative request with subject, setting, style, motion, and finish."
}
Technical Specs
| Property | Value |
|---|---|
| Model ID | minimax/minimax-music |
| Required inputs | prompt |
format | string |
lyrics | string |
prompt | string |
bitrate | integer |
sample_rate | integer |
audio_setting | object |
output_format | string |
sync_mode | boolean; default: false |
safety_tolerance | string; default: 6 |
reference_audio_url | string |
Related Models
minimax/music/2.5minimax/music/v1.5

