Skip to main content
POST
Music Cover Preprocess
Starting August 20, 2026, the paid APIs (Music Generation and Lyrics Generation) will no longer be available to new users; existing paying users can continue to use the current API services. The free music generation APIs (Music-3.0-free, Music-2.6-free, music-cover-free) will be discontinued.To experience or use music generation capabilities, please visit MiniMax Audio, or use the open-source MiniMax Music 3 model on Hugging Face.

Authorizations

Authorization
string
header
required

HTTP: Bearer Auth

Headers

Content-Type
enum<string>
default:application/json
required

The media type of the request body. Must be set to application/json to ensure the data is sent in JSON format.

Available options:
application/json

Body

application/json
model
enum<string>
required

Model name. Must be music-cover.

Available options:
music-cover
audio_url
string

URL of the reference audio. Exactly one of audio_url or audio_base64 must be provided.

Reference audio constraints:

  • Duration: 6 seconds to 6 minutes
  • Size: max 50 MB
  • Format: common audio formats (mp3, wav, flac, etc.)
audio_base64
string

Base64-encoded reference audio. Exactly one of audio_url or audio_base64 must be provided.

Reference audio constraints:

  • Duration: 6 seconds to 6 minutes
  • Size: max 50 MB
  • Format: common audio formats (mp3, wav, flac, etc.)

Response

200 - application/json
cover_feature_id
string

Unique identifier for the preprocessed audio features. Valid for 24 hours. Pass this to the Music Generation API cover_feature_id parameter for two-step cover generation.

Same audio content returns the same cover_feature_id (MD5-based deduplication).

formatted_lyrics
string

Structured lyrics extracted from the reference audio via ASR, formatted with section tags such as [Verse], [Chorus], [Bridge], etc. You can modify these lyrics before passing them to the Music Generation API.

structure_result
string

JSON string containing the song structure analysis result, including segment types (intro, verse, chorus, bridge, outro, inst, silence) and their start/end timestamps in seconds.

audio_duration
number<double>

Duration of the reference audio in seconds.

trace_id
string

Unique trace ID for request tracking.

base_resp
object

Status code and details