Skip to main content
POST
/
ai
/
sn
/
lyrics
/
generate
suno generate lyrics
curl --request POST \
  --url https://ai.pmock.com/api/ai/sn/lyrics/generate \
  --header 'Content-Type: application/json' \
  --data '
{
  "lyricsModel": "default",
  "prompt": "<string>"
}
'
{
  "code": 200,
  "message": "<string>",
  "data": {
    "taskId": "<string>"
  },
  "traceId": "<string>"
}

Body

application/json

SN-Generate lyrics request parameters

lyricsModel
enum<string>
required

model for generating lyrics

Available options:
default,
remiV1
Minimum string length: 1
prompt
string
required

The prompt for generating lyrics

Minimum string length: 1

Response

200 - */*

OK

Unified return structure for response results

code
integer<int32>

Response status code

Example:

200

message
string

Response message

data
object

Response result

traceId
string

Response traceId