Skip to content

Suno - 扩展与翻唱 ​

扩展音乐 ​

http
POST /generator/suno

参数说明(task: "extend"):

参数类型必填说明
clipIdstring是需要扩展的歌曲 ID
continueAtinteger否从第几秒开始续写

请求示例:

bash
curl --location --request POST 'https://neolink.com/api/generator/suno' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "task": "extend",
    "model": "v45",
    "customMode": false,
    "clipId": "05d72140-38f5-4eb4-bdaa-a6e0d1c1167e",
    "continueAt": 60,
    "makeInstrumental": false,
    "prompt": "Upbeat EDM about sunrise and new beginnings.",
    "tags": "Happy, Party",
    "negativeTags": "Hip-Hop/Rap",
    "title": "Roadtrip Sunrise2",
    "styleWeight": 0.65,
    "weirdnessConstraint": 0.65,
    "audioWeight": 0.65
}'

翻唱音乐 ​

http
POST /generator/suno

参数说明(task: "cover"):

参数类型必填说明
clipIdstring是需要翻唱的歌曲 ID

请求示例:

bash
curl --location --request POST 'https://neolink.com/api/generator/suno' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "task": "cover",
    "model": "v45",
    "customMode": false,
    "clipId": "05d72140-38f5-4eb4-bdaa-a6e0d1c1167e",
    "makeInstrumental": false,
    "prompt": "变成女声,然后嗓音偏雷鬼一点",
    "tags": "Hip-Hop/Rap, Happy, Party",
    "title": "Roadtrip Sunrise10",
    "vocalGender": "f",
    "styleWeight": 0.65,
    "weirdnessConstraint": 0.65,
    "audioWeight": 0.65
}'

上传并扩展音乐 ​

http
POST /generator/suno

参数说明(task: "upload_extend"):

参数类型必填说明
audioUrlstring是用户上传的 MP3 URL(需可公开下载)
continueAtinteger否从第几秒开始续写

请求示例:

bash
curl --location --request POST 'https://neolink.com/api/generator/suno' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "task": "upload_extend",
    "model": "v45",
    "customMode": false,
    "audioUrl": "https://cdn1.suno.ai/4f51f49d-8875-442d-9a66-81a7e66d55d6.mp3",
    "continueAt": 60,
    "makeInstrumental": false,
    "prompt": "Upbeat EDM about sunrise and new beginnings.",
    "tags": "Happy, Party",
    "negativeTags": "Hip-Hop/Rap",
    "title": "Roadtrip Sunrise2",
    "styleWeight": 0.65,
    "weirdnessConstraint": 0.65,
    "audioWeight": 0.65
}'

上传并翻唱音乐 ​

http
POST /generator/suno

参数说明(task: "upload_cover"):

参数类型必填说明
audioUrlstring是用户上传的 MP3 URL(需可公开下载)

请求示例:

bash
curl --location --request POST 'https://neolink.com/api/generator/suno' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "task": "upload_cover",
    "model": "v45",
    "audioUrl": "https://cdn1.suno.ai/4f51f49d-8875-442d-9a66-81a7e66d55d6.mp3",
    "customMode": false,
    "makeInstrumental": false,
    "prompt": "变成女声,然后嗓音偏雷鬼一点",
    "tags": "Hip-Hop/Rap, Happy, Party",
    "title": "Roadtrip Sunrise10",
    "vocalGender": "f",
    "styleWeight": 0.65,
    "weirdnessConstraint": 0.65,
    "audioWeight": 0.65
}'