MiniMax Music Cover API

minimax/music-cover
MiniMax Music Cover is an AI-powered model that transforms existing songs into new styles while preserving the original melody.
Output
$0.195 / gen
Released
Apr 15, 2026

How to use MiniMax Music Cover API

Install any OpenAI-compatible SDK, point it at api.aimlapi.com/v1, and set the model to minimax/music-cover.
import requests, time

headers = {"Authorization": "Bearer " + AIMLAPI_KEY}
job = requests.post(
    "https://api.aimlapi.com/v2/generate/audio",
    headers=headers,
    json={
      "model": "minimax/music-cover",
      "prompt": "Upbeat lofi background music"
    },
).json()
gid = job["generation_id"]

while True:
    res = requests.get(f"https://api.aimlapi.com/v2/generate/audio?generation_id={gid}", headers=headers).json()
    if res.get("status") in ("completed", "error", "failed"):
        break
    time.sleep(3)
print(res)
const headers = {
  Authorization: `Bearer ${process.env.AIMLAPI_KEY}`,
  "Content-Type": "application/json",
};
const job = await (await fetch("https://api.aimlapi.com/v2/generate/audio", {
  method: "POST",
  headers,
  body: JSON.stringify({
    "model": "minimax/music-cover",
    "prompt": "Upbeat lofi background music"
  }),
})).json();

let res;
do {
  await new Promise((r) => setTimeout(r, 3000));
  res = await (await fetch(`https://api.aimlapi.com/v2/generate/audio?generation_id=${job.generation_id}`, { headers })).json();
} while (!["completed", "error", "failed"].includes(res.status));
console.log(res);
# submit the job — the response contains "generation_id"
curl -X POST https://api.aimlapi.com/v2/generate/audio \
  -H "Authorization: Bearer $AIMLAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"minimax/music-cover","prompt":"Upbeat lofi background music"}'

# then poll for the result until it is ready
curl "https://api.aimlapi.com/v2/generate/audio?generation_id={generation_id}" -H "Authorization: Bearer $AIMLAPI_KEY"

OpenAI-compatible — swap the base URL and it works with your existing SDK.

MiniMax Music Cover API Pricing

TypePrice
Output
$0.195 / gen

MiniMax Music Cover vs other models

ModelInputOutputContextBest for
$0.195 / gen
Audio generation
$130 / 1M characters
$130 / 1M
Speech synthesis
$130 / 1M characters
$0.13 / 1M tokens
Speech synthesis
$78 / 1M characters
$0.078 / 1M tokens
Speech synthesis
$13 / 1M characters
$0.013 / 1M tokens
Speech synthesis

Frequently asked questions

MiniMax Music Cover takes audio, text as input and returns audio.

MiniMax Music Cover became available on April 15, 2026.

MiniMax Music Cover is priced at $0.195 / gen.

MiniMax Music Cover is billed per generation — a fixed charge per output rather than by prompt length.

MiniMax Music Cover was built by MiniMax.

Use minimax/music-cover as the model id on AI/ML API.

Yes. MiniMax Music Cover is served through AI/ML API, so the same key and endpoint format used for other models applies.

Yes. It transforms style while preserving the original structure and melody of the reference track.

Start building with MiniMax Music Cover

Get API Key
1000+ models, one API.