minimax-music API
Generate AI songs with MiniMax Music 2.5 API via API in One. Supports lyrics input, configurable bitrate and sample rate. 30 credits per song (~$0.30).
Use this in the request body model field.
The currently implemented BFF route.
Input types: text
Keys are managed by the shared dashboard.
This route does not require webhook handling.
Service highlights
Marketplace-style signals backed by the current live route, without copying external SLA, discount, login, or payment claims.
This page only shows endpoints implemented under /api/v1. /api/v1/audio/music
This model returns directly without creating a media task.
Top-up, orders, credit balance, and profile continue through the existing shared console.
Your browser only holds an API in One key; provider calls stay server-side.
Call contract
Use these fields to integrate the current live model route.
- Base URL
https://apiin.oneClients call same-origin APIs; the server BFF forwards to the Worker.- Authorization
Authorization: Bearer <API_KEY>Managed by the existing Dashboard API Keys page.- Model field
minimax-musicSend this value in the request body model field.- Result path
/api/v1/tasks/{task_id}Async jobs return task_id, then use status polling.- Billing path
/billing/creditsUses the existing credits, orders, and top-up logic.
Runtime behavior
This model creates an async task, returns a task_id, then resolves through the real status route.
API Console
Switch between real models on this endpoint, choose a live route, and generate request examples from the current catalog payload.
curl --request POST \
--url https://apiin.one/api/v1/audio/music \
--header 'Authorization: Bearer <API_KEY>'
--header 'Content-Type: application/json' \
--data-raw '{
"model": "minimax-music",
"prompt": "An energetic electronic dance track with pulsing synths and driving bass",
"lyrics": "Feel the beat, move your feet, let the music take you higher",
"bitrate": 256000,
"sample_rate": 44100
}'/api/v1/tasks/{task_id}Endpoint decision panel
Evaluate cost, provider coverage, and production integration behavior across live models on this implemented endpoint.
Sorted by base credits from low to high.
Async media and tool jobs use /api/v1/tasks/{task_id}; chat models return a direct response.
Live capabilities
These capabilities come from the current model config and backend route. Unreleased APIs are not listed.
Lyrics
Lyrics-driven music generation
Configurable bitrate and sample rate
Configurable bitrate and sample rate
Use the same API in One key as the rest of the routed catalog
Use the same API in One key as the rest of the routed catalog
Unified billing with all other models
Unified billing with all other models
Request format
Clients call same-origin API routes; the server BFF forwards to the matching Worker.
POST/api/v1/audio/music30 creditsMiniMax's AI music generation — create high-quality songs with vocals and instrumentals from text descriptions.
Parameters
promptstringStyle/mood description for the music
RequiredlyricsstringLyrics for the generated song
OptionalbitratenumberAudio bitrate: 32000, 60000, 64000, 128000, or 256000
Optional · Default 256000sample_ratenumberSample rate: 16000, 24000, 32000, or 44100
Optional · Default 44100Example request
curl -X POST https://apiin.one/api/v1/audio/music \
-H "Authorization: Bearer aio_your_api_key" \
-H "Content-Type: application/json" \
--data-raw '{
"model": "minimax-music",
"prompt": "An energetic electronic dance track with pulsing synths and driving bass",
"lyrics": "Feel the beat, move your feet, let the music take you higher",
"bitrate": 256000,
"sample_rate": 44100
}'Models on the same endpoint
These live models use the same implemented BFF endpoint and can be switched by changing the model field.
Endpoint model comparison
Compare real models behind this implemented route by cost, provider, runtime mode, input, output, and backend node.
node74🎵sunoSuno AIAsync tasktext -> audio10 credits$0.10node7Integration flow
These steps use the current live route and shared account system; login, payment, orders, credits, and profile remain shared.
Create a shared API key
Create a key in the existing dashboard. Top-up, orders, credit balance, and profile stay in the shared console.
Call the real endpoint
Send a request with the endpoint, model id, and parameters shown on this page. /api/v1/audio/music
Poll task status
Async media and tool jobs use /api/v1/tasks/{task_id}; chat models return a direct response.
Task status route
After creating image, video, audio, or tool tasks, poll the real task endpoint for results.
GET/api/v1/tasks/{task_id}Check generation task status and result.Pricing
~$0.30 per song (30 credits)
Use cases
These workflows are supported by the current model and backend node.
Generate background music for video content
Create custom songs for apps and games
Build AI-powered music creation platforms
Produce demo tracks for music production
FAQ
How much does MiniMax Music cost?
Each song costs 30 credits (~$0.30).
How does MiniMax Music compare to Suno?
MiniMax Music offers lyrics-driven generation with configurable audio quality (bitrate and sample rate). It's great for precise lyric-based music creation.
Can I specify lyrics?
Yes. Use the "lyrics" parameter to provide exact lyrics for the song. The prompt describes the style/mood.