LYRICS
Generate song Lyrics based on a prompt.
POST https://api.apiframe.pro/suno-lyrics
Headers
Name
Value
Content-Type
application/json
Authorization*
Your APIFRAME API Key
Body
Name
Type
Description
prompt*
string
the text prompt for generating the lyrics
Response
// Success, the task has been submitted
{
"task_id": "29e983ca-7e86-4017-a9e3-ef6fe9cd5f2a"
}// Bad request
{
"errors": [{ msg: "Invalid request" }]
}// Invalid API Key
{}// A server error occured
{}This request takes about 10 secs. The result looks like this:
{
"type": "suno-lyrics",
"title": "xxxxxxxx",
"lyrics": "xxxxxxxxxxxxxxxxxxxxxxxxx",
"status": "finished"
}Code samples
Last updated
Was this helpful?