# MiniMax Music 1.5 API

> MiniMax Music 1.5 composes a full song with vocals and accompaniment from a style prompt and structured lyrics, with selectable sample rate, bitrate, and file format.

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

## Facts

- Provider: MiniMax
- Type: Audio model
- Model ID: `minimax/music/v1.5`
- Price: From $0.03 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/v1.5",
  "format": "mp3",
  "lyrics": "[verse]\nIn the heart of the code, where dreams collide,\nFAL'"'"'s the name, taking tech for a ride.\n[chorus]\nGenerative media, blazing the trail,\nFast inference power, we'"'"'ll never fail.",
  "prompt": "R&B, energetic",
  "bitrate": 256000,
  "sample_rate": 44100
}'
```

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

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

## README

### MiniMax Music 1.5

MiniMax Music 1.5 writes a full song with vocals and accompaniment from a style prompt and your lyrics.

#### Fields

| Field | Type | Default | Notes |
|---|---|---|---|
| `prompt` | string, 10–3000 chars, required | — | Style: genre, mood, instruments, scenario. |
| `lyrics` | string, 10–600 chars, required | — | Lyrics with `[verse]` / `[chorus]` style section tags. |
| `sample_rate` | 8000 / 16000 / 22050 / 24000 / 32000 / 44100 | 44100 | Sample rate in Hz. |
| `bitrate` | 32000 / 64000 / 128000 / 256000 | 256000 | Bitrate in bits per second. |
| `format` | `mp3` / `pcm` / `flac` | `mp3` | Output file format. |

#### Billing

$0.03 per song.

| Request | Price |
|---|---|
| One song | $0.03 |
| 10 songs | $0.30 |

Failed runs are not charged.

#### Prompting

- Put style in `prompt` and words in `lyrics`.

#### Also on SandBase

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