Skip to content

Generate Lyrics

Mureka's lyrics generation feature uses advanced AI technology to generate high-quality lyrics based on parameters such as theme, style, and emotion. It supports multiple languages and music styles to meet different creative needs.

Request Information

POST

/api/v1/music?action=lyrics_generate

Request Example

JSON Request Example

json
{
  "prompt": "Write pop song lyrics about youth and dreams"
}

cURL Request Example

bash
curl -X POST "[HOST]/api/v1/music?action=lyrics_generate" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Write pop song lyrics about youth and dreams"
  }'

Authentication Information

  • Type: Bearer Authentication
  • Description: Use a valid API Key for authorization

Request Parameters

  • Content-Type: application/json

Parameter List

Field NameTypeRequiredDescription
promptstringYesLyrics prompt describing desired content

Response Example

json
{
  "code": 0,
  "message": "success",
  "resp_data": {
    "title": "Youth and Dreams",
    "lyrics": "【Verse 1】\nYouth blooms like flowers\nDreams soar in the heart\n..."
  }
}

Response Field Description

Field NameTypeDescription
titlestringGenerated title based on prompt
lyricsstringGenerated lyrics based on prompt