Skip to content

Suno - Edit ​

Modify Music Segment ​

http
POST /generator/suno
ParamTypeRequiredDescription
taskIdstringYesCQTai task ID
clipIdstringYesAudio ID to modify
infillLyricsstringYesNew lyrics to sing
rangeStartSnumberYesStart time (seconds)
rangeEndSnumberYesEnd time (seconds)
bash
curl --location --request POST 'https://neolink.com/api/generator/suno' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
  "task": "replace_section",
  "taskId": "d649231618784ee4b9cfa059ac50be5e",
  "clipId": "eb1c6c96-a102-4bbb-82c2-87c3b126a44e",
  "tags": "Happy",
  "title": "Two Tigers (Smart)",
  "infillLyrics": "Two tigers, two tigers running fast...",
  "rangeStartS": 7.56,
  "rangeEndS": 15.98
}'

Merge Music Segments ​

http
POST /generator/suno
ParamTypeRequiredDescription
clipIdstringYesAudio segment from create
editSessionIdstringYesSegment from replace_section
bash
curl --location --request POST 'https://neolink.com/api/generator/suno' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
  "task": "replace_merge",
  "clipId": "214f6b75-81c9-46a4-9e68-2f8e496ce5c0",
  "editSessionId": "2d2991ed-401e-4926-9e7e-9963108e850c"
}'