add more clips to an existing playlist
curl --request POST \
--url https://api.mountsea.ai/suno/v2/playlist/addClips \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"playlist_id": "119573ff-8e48-4fe6-9029-39c76c9a5597",
"clip_id": "30c08405-8be7-4bbf-9b50-f72250fd1531",
"clip_ids": [
"30c08405-8be7-4bbf-9b50-f72250fd1531"
]
}
'import requests
url = "https://api.mountsea.ai/suno/v2/playlist/addClips"
payload = {
"playlist_id": "119573ff-8e48-4fe6-9029-39c76c9a5597",
"clip_id": "30c08405-8be7-4bbf-9b50-f72250fd1531",
"clip_ids": ["30c08405-8be7-4bbf-9b50-f72250fd1531"]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
playlist_id: '119573ff-8e48-4fe6-9029-39c76c9a5597',
clip_id: '30c08405-8be7-4bbf-9b50-f72250fd1531',
clip_ids: ['30c08405-8be7-4bbf-9b50-f72250fd1531']
})
};
fetch('https://api.mountsea.ai/suno/v2/playlist/addClips', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.mountsea.ai/suno/v2/playlist/addClips",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'playlist_id' => '119573ff-8e48-4fe6-9029-39c76c9a5597',
'clip_id' => '30c08405-8be7-4bbf-9b50-f72250fd1531',
'clip_ids' => [
'30c08405-8be7-4bbf-9b50-f72250fd1531'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.mountsea.ai/suno/v2/playlist/addClips"
payload := strings.NewReader("{\n \"playlist_id\": \"119573ff-8e48-4fe6-9029-39c76c9a5597\",\n \"clip_id\": \"30c08405-8be7-4bbf-9b50-f72250fd1531\",\n \"clip_ids\": [\n \"30c08405-8be7-4bbf-9b50-f72250fd1531\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.mountsea.ai/suno/v2/playlist/addClips")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"playlist_id\": \"119573ff-8e48-4fe6-9029-39c76c9a5597\",\n \"clip_id\": \"30c08405-8be7-4bbf-9b50-f72250fd1531\",\n \"clip_ids\": [\n \"30c08405-8be7-4bbf-9b50-f72250fd1531\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.mountsea.ai/suno/v2/playlist/addClips")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"playlist_id\": \"119573ff-8e48-4fe6-9029-39c76c9a5597\",\n \"clip_id\": \"30c08405-8be7-4bbf-9b50-f72250fd1531\",\n \"clip_ids\": [\n \"30c08405-8be7-4bbf-9b50-f72250fd1531\"\n ]\n}"
response = http.request(request)
puts response.read_bodySuno
向播放列表追加 Clip
向灵感播放列表追加 clip(可选第 2 步)
POST
/
suno
/
v2
/
playlist
/
addClips
add more clips to an existing playlist
curl --request POST \
--url https://api.mountsea.ai/suno/v2/playlist/addClips \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"playlist_id": "119573ff-8e48-4fe6-9029-39c76c9a5597",
"clip_id": "30c08405-8be7-4bbf-9b50-f72250fd1531",
"clip_ids": [
"30c08405-8be7-4bbf-9b50-f72250fd1531"
]
}
'import requests
url = "https://api.mountsea.ai/suno/v2/playlist/addClips"
payload = {
"playlist_id": "119573ff-8e48-4fe6-9029-39c76c9a5597",
"clip_id": "30c08405-8be7-4bbf-9b50-f72250fd1531",
"clip_ids": ["30c08405-8be7-4bbf-9b50-f72250fd1531"]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
playlist_id: '119573ff-8e48-4fe6-9029-39c76c9a5597',
clip_id: '30c08405-8be7-4bbf-9b50-f72250fd1531',
clip_ids: ['30c08405-8be7-4bbf-9b50-f72250fd1531']
})
};
fetch('https://api.mountsea.ai/suno/v2/playlist/addClips', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.mountsea.ai/suno/v2/playlist/addClips",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'playlist_id' => '119573ff-8e48-4fe6-9029-39c76c9a5597',
'clip_id' => '30c08405-8be7-4bbf-9b50-f72250fd1531',
'clip_ids' => [
'30c08405-8be7-4bbf-9b50-f72250fd1531'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.mountsea.ai/suno/v2/playlist/addClips"
payload := strings.NewReader("{\n \"playlist_id\": \"119573ff-8e48-4fe6-9029-39c76c9a5597\",\n \"clip_id\": \"30c08405-8be7-4bbf-9b50-f72250fd1531\",\n \"clip_ids\": [\n \"30c08405-8be7-4bbf-9b50-f72250fd1531\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.mountsea.ai/suno/v2/playlist/addClips")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"playlist_id\": \"119573ff-8e48-4fe6-9029-39c76c9a5597\",\n \"clip_id\": \"30c08405-8be7-4bbf-9b50-f72250fd1531\",\n \"clip_ids\": [\n \"30c08405-8be7-4bbf-9b50-f72250fd1531\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.mountsea.ai/suno/v2/playlist/addClips")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"playlist_id\": \"119573ff-8e48-4fe6-9029-39c76c9a5597\",\n \"clip_id\": \"30c08405-8be7-4bbf-9b50-f72250fd1531\",\n \"clip_ids\": [\n \"30c08405-8be7-4bbf-9b50-f72250fd1531\"\n ]\n}"
response = http.request(request)
puts response.read_body向 创建播放列表 返回的播放列表追加 1~4 个 clip。
同步接口 — 成功时返回
{}(HTTP 201),无需轮询。| 字段 | 必填 | 说明 |
|---|---|---|
playlist_id | 是 | /playlist/create 返回的 ID |
clip_id | 是 | 原始灵感 clip 之一(用于解析账号) |
clip_ids | 是 | 要追加的 1~4 个 clip(与第 1 步同账号) |
属于 Inspiration 流程。若第 1 步已包含全部 clip,可跳过本步。
授权
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
请求体
application/json
Playlist ID returned by /playlist/create.
示例:
"119573ff-8e48-4fe6-9029-39c76c9a5597"
One of the original inspiration clip IDs (used to resolve the account — must match the account used in /playlist/create).
示例:
"30c08405-8be7-4bbf-9b50-f72250fd1531"
Additional clip IDs to add to the playlist (1–4, all must belong to the same Suno account).
Required array length:
1 - 4 elements示例:
["30c08405-8be7-4bbf-9b50-f72250fd1531"]
响应
201 - undefined
⌘I