Skip to content

Suno - 辅助功能 ​

获取歌词/音频时间线 ​

http
POST /generator/suno

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

参数类型必填说明
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": "timeline",
  "clipId": "e1a78bfe-2e53-4207-9cd8-c764c4bfc621"
}'

获取节拍 ​

http
POST /generator/suno

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

参数类型必填说明
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": "downbeats",
  "clipId": "e1a78bfe-2e53-4207-9cd8-c764c4bfc621"
}'

获取 Tags ​

http
POST /generator/suno

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

参数类型必填说明
promptstring是风格关键词,如 "cpop"

请求示例:

bash
curl --location --request POST 'https://neolink.com/api/generator/suno' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
  "task": "upsample_tags",
  "prompt": "cpop"
}'

获取创作结果 ​

http
GET /v2/sunoinfo

请求示例:

bash
curl --location --request GET 'https://neolink.com/api/v2/sunoinfo?id=f5aaff05ad134cc3b7b4a51944420edb' \
--header 'Authorization: <api-key>'