cURL
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>" }
create a task to generate lyrics
SN-Generate lyrics request parameters
model for generating lyrics
default
remiV1
1
The prompt for generating lyrics
OK
Unified return structure for response results
Response status code
200
Response message
Response result
Show child attributes
Response traceId