MiniMax Music Generation API
Text-to-music: turn a style prompt and lyrics into a full song (MiniMax Music 3.0 / 2.6).
Data from MiniMax.
Category: Media Generation
Price
Provider cost + 35%, quoted by inspect before you run. Quotes are estimates; inspect the spending cap requirements.
Input schema is not available in the local snapshot. Call inspect first; fill body and queryParams as required and replace any pathParams placeholders before running.
Discover
curl https://keepbal.com/apis/v1/discover -H 'Authorization: Bearer YOUR_KEEPBAL_KEY' -H 'Content-Type: application/json' -d '{"query":"MiniMax"}'Inspect
curl https://keepbal.com/apis/v1/inspect -H 'Authorization: Bearer YOUR_KEEPBAL_KEY' -H 'Content-Type: application/json' -d '{"publicId":"minimax/music-generation"}'curl
curl https://keepbal.com/apis/v1/minimax/music-generation \
-H 'Authorization: Bearer YOUR_KEEPBAL_KEY' \
-H 'Content-Type: application/json' \
-d '{}'MCP run_tool
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "run_tool",
"arguments": {
"tool": "minimax/music-generation",
"input": {}
}
}
}Python
import json, os, requests
# Inspect first and replace input_data with the required parameters.
input_data = json.loads("{}")
response = requests.post(
"https://keepbal.com/apis/v1/minimax/music-generation",
headers={"Authorization": "Bearer " + os.environ["KEEPBAL_API_KEY"]},
json=input_data,
)
response.raise_for_status()
print(response.json())Errors and billing
Failed provider calls are not charged. HTTP 400 invalid_request means invalid JSON or parameters, including missing pathParams. HTTP 401 missing_api_key or invalid_api_key means authentication is required. HTTP 402 insufficient_credits means insufficient balance; top up before retrying. HTTP 503 provider_unavailable means the provider is unavailable. A pending run can settle later; poll GET /apis/v1/runs/{id} instead of starting another execution.
Frequently asked questions
How much does this API cost?
Provider cost + 35%, quoted by inspect before you run. Quotes are estimates; inspect the spending cap requirements.
How do I start?
Create a KeepBal account with $1 free credit, obtain an API key, and inspect this tool before running it.
Related tools
| Tool | What it returns | Price |
|---|---|---|
| MiniMax Image Generation | Text-to-image and image-to-image with MiniMax (image-01 / image-01-live). | Provider cost + 35%, quoted by inspect before you run. Quotes are estimates; inspect the spending cap requirements. |
| MiniMax T2a | Turn text into lifelike speech with MiniMax speech-2.8 / 2.6 / 02 voices. | Provider cost + 35%, quoted by inspect before you run. Quotes are estimates; inspect the spending cap requirements. |
| MiniMax Video Minimax H3 | Text-to-video, image-to-video, and reference-to-video with MiniMax-H3, up to 2K. | Provider cost + 35%, quoted by inspect before you run. Quotes are estimates; inspect the spending cap requirements. |
| MiniMax Video Minimax H3 Fast | Text-to-video, image-to-video, and reference-to-video with MiniMax-H3-Fast, up to 480P. | Provider cost + 35%, quoted by inspect before you run. Quotes are estimates; inspect the spending cap requirements. |
| MiniMax Video Minimax H3 Max | Text-to-video, image-to-video, and reference-to-video with MiniMax-H3-Max, up to 768P. | Provider cost + 35%, quoted by inspect before you run. Quotes are estimates; inspect the spending cap requirements. |
| MiniMax Video Minimax H3 Max Turbo | Text-to-video, image-to-video with MiniMax-H3-Max-Turbo, up to 768P. | Provider cost + 35%, quoted by inspect before you run. Quotes are estimates; inspect the spending cap requirements. |