# MiniMax Music 01 API

> MiniMax Music 01 generates a full song with vocals and accompaniment from your lyrics, following the style and voice of a reference song longer than 15 seconds.

Source: https://www.sandbase.ai/models/minimax/minimax-music
API reference: https://www.sandbase.ai/models/minimax/minimax-music#api

## Facts

- Provider: MiniMax
- Type: Audio model
- Model ID: `minimax/minimax-music`
- Price: From $0.35 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/minimax-music",
  "lyrics": "## 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": "https://static.sandbase.ai/examples/minimax/minimax-music/input_reference_audio_url_0.mpga"
}'
```

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 01 through SandBase?

Create a SandBase API key, then send requests with the model ID "minimax/minimax-music" 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 01 and the other models in the catalog; you do not need to sign up with MiniMax separately.

## README

### MiniMax Music 01

MiniMax Music 01 writes a full song with vocals from your lyrics, matching the style and voice of a reference song.

#### Fields

| Field | Type | Default | Notes |
|---|---|---|---|
| `lyrics` | string, up to 600 chars, required | — | Up to 600 characters. Newline between lines, blank line for a pause, wrap in `##` to add accompaniment. |
| `reference_audio` | audio file or URL, required | — | Song with music and vocals, .wav or .mp3, longer than 15 s. |

#### Billing

$0.35 per song.

| Request | Price |
|---|---|
| One song | $0.35 |
| 10 songs | $3.50 |

Failed runs are not charged.

#### Prompting

- Pick a reference song whose genre and voice you want; the lyrics set the words and structure.

#### Also on SandBase

Related: `minimax/music/2.6`, `minimax/music/3`, `minimax/music/2.5`.
