MiniMax Music 3
minimax/music/3MiniMax Music 3 by MiniMax composes a complete song up to five minutes long with expressive vocals and evolving arrangements from a style prompt and lyrics.
- Base price
- $0.12USD / run
- Execution
- async
- Model type
- audio
- Input fields
- 4
Try the model
Playground
What would you like to do next?
Examples
Select an example to load its inputs and result into the playground.
- Open result ↗
Input
{ "duration": 30, "lyrics": "[verse]\nMorning light filtering through the pine\n[chorus]\nSoftly the world begins to breathe", "prompt": "Genre: acoustic pop. BPM: 96. Warm and intimate. Vocals: soft female lead." }
Model card
Specifications
Pricing
- Base price
- $0.12 / run
Context & modalities
- Input
- Schema-defined
- Output
- audio
Capabilities
- Chat
- Not supported
- Vision
- Not supported
- Reasoning
- Not supported
- Structured output
- Not supported
- Function calling
- Not supported
- Audio input
- Not supported
Access
- Provider
- MiniMax
- Model ID
- minimax/music/3
- Execution
- async
- Base URL
- https://api.sandbase.ai
- API
- Unified Run API
- Endpoint
- /v1/run
API README
MiniMax Music 3
MiniMax Music 3 composes a complete song up to five minutes long, with expressive vocals and evolving arrangements, from a style prompt and your lyrics.
Fields
| Field | Type | Default | Notes |
|---|---|---|---|
prompt | string, required | — | Style: genre, mood, instruments, tempo. |
lyrics | string, required | — | Song lyrics; mark sections like [verse], [chorus]. |
duration | integer 1–300 | 60 | Song length in seconds (1–300). |
seed | integer 0–2147483647 | random | Fix it to compare prompt changes. |
Billing
$0.002 per second of music; the final charge uses the generated length.
| Song | Price |
|---|---|
| 30s | $0.06 |
| 60s | $0.12 |
| 180s | $0.36 |
| 300s | $0.60 |
Failed runs are not charged.
Prompting
- Keep style and lyrics separate: style in
prompt, words inlyrics.
Limits
- Up to 5 minutes.
Also on SandBase
Related: minimax/music/2.6.
Start building
Send your first request
OpenAI-compatible endpoint with unified authentication and usage tracking.
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
-X POST "https://api.sandbase.ai/v1/run" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{
"model": "minimax/music/3",
"lyrics": "[verse]\nMorning light filtering through the pine\nEvery quiet street is yours and mine\n[chorus]\nSoftly the world begins to breathe",
"prompt": "Genre: acoustic pop. BPM: 96. Key: C major. Warm and intimate, building gently into the chorus. Vocals: soft female lead, close and breathy, light stacked harmonies in the chorus. Arrangement: fingerpicked guitar and soft piano; brushed drums and upright bass enter in the chorus.",
"duration": 60
}
SANDBASE_JSON
)
run_id=$(printf '%s' "$result" | jq -r .id)
for attempt in $(seq 1 120); do
status=$(printf '%s' "$result" | jq -r .status)
case "$status" in completed|failed|timeout) break ;; esac
sleep 2
result=$(curl --fail-with-body --silent \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
"https://api.sandbase.ai/v1/run/$run_id")
done
status=$(printf '%s' "$result" | jq -r .status)
[ "$status" = completed ] || { echo "Generation ended: $status" >&2; exit 1; }
printf '%s\n' "$result"Input Schema
4 parameters · 2 required · 2 optional
| Parameter | Type | Required | Description |
|---|---|---|---|
lyrics | string | Required | Lyrics to sing. Put structure tags such as [intro], [verse], [chorus], [bridge], [instrumental], and [outro] on their own lines. · Min length: 1 |
prompt | string | Required | Music description: style, mood, vocals, instrumentation, and arrangement. · Min length: 1 |
seed | integer | Optional | Random seed for reproducible results. Omit for a random seed. · Min: 0 · Max: 2147483647 |
duration | integer | Optional | Upper bound on the generated song length in seconds (1-300). The model may stop earlier; billing uses this upper bound. · Min: 1 · Max: 300 · Default: 60 |
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 runs asynchronously. Submit a request, then poll for the result.
- Submit: POST to /v1/run and read the returned
id. - Poll: GET /v1/run/{id} until status is
completed,failedortimeout. - Retrieve: read
outputsfrom the completed response.
Choose your model
Compare models
| Model | Type | Default price | Released |
|---|---|---|---|
MiniMax Music 3This model MiniMax | Audio | $0.12 / run | Oct 5, 2026 |
MiniMax | Audio | $0.15 / run | Apr 11, 2026 |
MiniMax | Audio | $0.10 / run | Feb 4, 2026 |
MiniMax | Audio | $0.06 / run | Feb 4, 2026 |
MiniMax | Audio | $0.06 / run | Oct 29, 2025 |
MiniMax | Audio | $0.10 / run | Oct 29, 2025 |
Questions
FAQ
How do I call MiniMax Music 3 through SandBase?
Create a SandBase API key, then send requests with the model ID "minimax/music/3" to Unified Run API (/v1/run) at https://api.sandbase.ai. The request examples on this page show the exact payload.
Do I need a separate MiniMax account?
No. One SandBase API key and balance gives you access to MiniMax Music 3 and the other models in the catalog; you do not need to sign up with MiniMax separately.
