Skip to main content
POST
/
v3
/
minimax-music-lyrics
MiniMax Lyrics
curl --request POST \
  --url https://api.novita.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 that supports composing complete songs or editing existing lyrics, with structure tags ready for music generation

Request Headers

Content-Type
string
required
Supports: application/json
Authorization
string
required
Bearer authentication format, for example: Bearer {{API Key}}.

Request Body

mode
string
required
Generation mode. write_full_song: compose a complete song; edit: edit or continue existing lyricsOptional values: write_full_song, edit
title
string
Song title. When provided, output preserves this title unchanged
lyrics
string
Existing lyrics content; only effective in edit mode. Can be used to continue or modify existing lyricsLength limit: 0 - 3500
prompt
string
Instructions describing song theme, style, or editing direction. Random generation when emptyLength limit: 0 - 2000

Response

lyrics
string
Generated lyrics with structure tags, ready for music generation API
song_title
string
Generated song title
style_tags
string
Comma-separated style tags