Suno - 辅助功能
获取歌词/音频时间线
http
POST /generator/suno参数说明(task: "timeline"):
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
clipId | string | 是 | 歌曲 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"):
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
clipId | string | 是 | 歌曲 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"):
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
prompt | string | 是 | 风格关键词,如 "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>'