Skip to main content
POST
/
v3
/
minimax-music-lyrics
MiniMax Lyrics
curl --request POST \
  --url https://api.highwayapi.ai/v3/minimax-music-lyrics \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: <content-type>' \
  --data '
{
  "mode": "<string>",
  "title": "<string>",
  "lyrics": "<string>",
  "prompt": "<string>"
}
'
{
  "lyrics": "<string>",
  "song_title": "<string>",
  "style_tags": "<string>"
}
MiniMax AI lyrics generation model. It supports generating complete lyrics from a prompt or editing/continuing existing lyrics. The generated lyrics include structural tags and can be used directly for music generation.

Request Headers

Content-Type
string
required
Enum value: application/json
Authorization
string
required
Bearer authentication format: Bearer {{API Key}}.

Request Body

mode
string
required
Generation mode. write_full_song: write a complete song; edit: edit/continue lyricsAllowed values: write_full_song, edit
title
string
Song title. If provided, the output will keep this title unchanged.
lyrics
string
Existing lyrics content, effective only in edit mode. Can be used to continue or modify existing lyrics.Length limit: 0 - 3500
prompt
string
Prompt/instruction used to describe the song theme, style, or editing direction. If empty, it will be generated randomly.Length limit: 0 - 2000

Response Information

lyrics
string
Generated lyrics, including structural tags, which can be used directly with the music generation API.
song_title
string
Generated song title.
style_tags
string
Style tags, comma-separated.