🎶Music APIActive

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).

Real routes1Real endpoint rows linked to this model.
Endpoint models2Live models sharing this endpoint.
Base cost30 credits$0.30 · 30–90 seconds
Endpoint familyMusic API/api/v1/audio/music
Model IDminimax-music

Use this in the request body model field.

Endpoint/api/v1/audio/music

The currently implemented BFF route.

Outputaudio

Input types: text

AuthBearer API key

Keys are managed by the shared dashboard.

WebhookNot required

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.

Live production route

This page only shows endpoints implemented under /api/v1. /api/v1/audio/music

Synchronous response

This model returns directly without creating a media task.

Shared billing system

Top-up, orders, credit balance, and profile continue through the existing shared console.

Managed provider credentials

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.one
Clients 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-music
Send 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/credits
Uses 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.

Client request/api/v1/audio/musictask_id -> result
View usage logs

API Console

Switch between real models on this endpoint, choose a live route, and generate request examples from the current catalog payload.

Live model2 live models
Endpoint1 Routes
ProviderMiniMaxhttps://n74.gogloai.com
Current cost30 credits · $0.30~$0.30 per song (30 credits)
RuntimeAsync taskAsync jobs return task_id, then use status polling.
Input / outputtext -> audioThis model returns directly without creating a media task.
Backend nodenode74Your browser only holds an API in One key; provider calls stay server-side.
Request previewPOST /api/v1/audio/music
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
}'
Result path/api/v1/tasks/{task_id}
Open docs

Endpoint decision panel

Evaluate cost, provider coverage, and production integration behavior across live models on this implemented endpoint.

Endpoint models2These models share the same BFF route and switch through the model field.
Provider coverage2Real provider sources currently exposed by this endpoint.
Cost range10-30 credits$0.10-$0.30 · Based on the current live catalog base credit cost.
Webhook coverage1/2Models on this endpoint that support callback_url.
Current model position2/2

Sorted by base credits from low to high.

Lowest-cost route in this endpointsuno

Suno AI · 10 credits · $0.10

Production patternAsync task + status polling

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.

Parameters

promptstring

Style/mood description for the music

Required
lyricsstring

Lyrics for the generated song

Optional
bitratenumber

Audio bitrate: 32000, 60000, 64000, 128000, or 256000

Optional · Default 256000
sample_ratenumber

Sample rate: 16000, 24000, 32000, or 44100

Optional · Default 44100

Example 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.

Integration flow

These steps use the current live route and shared account system; login, payment, orders, credits, and profile remain shared.

01

Create a shared API key

Create a key in the existing dashboard. Top-up, orders, credit balance, and profile stay in the shared console.

02

Call the real endpoint

Send a request with the endpoint, model id, and parameters shown on this page. /api/v1/audio/music

03

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)

Base cost$0.30
Credits30
BillingSuccessful requests

Use cases

These workflows are supported by the current model and backend node.

01

Generate background music for video content

02

Create custom songs for apps and games

03

Build AI-powered music creation platforms

04

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.

Related live models