Skip to content

Suno - 音轨与导出 ​

生成人声和伴奏 ​

http
POST /generator/suno

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

参数类型必填说明
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": "gen_stem_two",
  "clipId": "05d72140-38f5-4eb4-bdaa-a6e0d1c1167e"
}'

获取乐器音轨(MIDI) ​

http
POST /generator/suno

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

参数类型必填说明
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": "gen_stem_all",
  "clipId": "05d72140-38f5-4eb4-bdaa-a6e0d1c1167e"
}'

获取歌曲 MP4 ​

http
POST /generator/suno

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

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

获取歌曲 WAV ​

http
POST /generator/suno

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

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