GET
/
prompt_to_lyrics
Convert Prompt to Lyrics
curl --request GET \
  --url https://api.musicgpt.com/api/public/v1/prompt_to_lyrics \
  --header 'Authorization: <api-key>'
{
  "success": true,
  "task_id": "task-lyrics-2345",
  "message": "Lyrics generated successfully",
  "lyrics": "Under the silver moonlight we sway...\n...\n",
  "credit_estimate": 10
}

Authorizations

Authorization
string
header
required

Query Parameters

prompt
string
required

The theme or idea you'd like lyrics generated for.

Required string length: 1 - 1000
Example:

"A hopeful song about starting over"

Response

Lyrics generated successfully

success
boolean
task_id
string
message
string
lyrics
string
credit_estimate
integer