# MiniMax Music 3 API

> MiniMax 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.

Source: https://www.sandbase.ai/models/minimax/music/3
API reference: https://www.sandbase.ai/models/minimax/music/3/docs

## Facts

- Provider: MiniMax
- Type: Audio model
- Model ID: `minimax/music/3`
- Price: From $0.12 per run
- Capabilities: text to music
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

- Unified Run API: `POST https://api.sandbase.ai/v1/run`

```bash
curl -X POST https://api.sandbase.ai/v1/run \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "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
}'
```

The response returns a run id; poll `GET https://api.sandbase.ai/v1/run/{id}` until the status is `completed` or `failed`.

## 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.

## 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 in `lyrics`.

#### Limits

- Up to 5 minutes.

#### Also on SandBase

Related: `minimax/music/2.6`.
