Skip to main content
POST
/
suno
/
v2
/
studio
/
addSectionCommit
Studio add section commit (phase 2)
curl --request POST \
  --url https://api.mountsea.ai/suno/v2/studio/addSectionCommit \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "taskId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  "candidate_clip_id": "<string>",
  "title": "<string>"
}
'
import requests

url = "https://api.mountsea.ai/suno/v2/studio/addSectionCommit"

payload = {
"taskId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"candidate_clip_id": "<string>",
"title": "<string>"
}
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({
taskId: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx',
candidate_clip_id: '<string>',
title: '<string>'
})
};

fetch('https://api.mountsea.ai/suno/v2/studio/addSectionCommit', 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/studio/addSectionCommit",
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([
'taskId' => 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx',
'candidate_clip_id' => '<string>',
'title' => '<string>'
]),
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/studio/addSectionCommit"

payload := strings.NewReader("{\n \"taskId\": \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\",\n \"candidate_clip_id\": \"<string>\",\n \"title\": \"<string>\"\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/studio/addSectionCommit")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"taskId\": \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\",\n \"candidate_clip_id\": \"<string>\",\n \"title\": \"<string>\"\n}")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.mountsea.ai/suno/v2/studio/addSectionCommit")

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 \"taskId\": \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\",\n \"candidate_clip_id\": \"<string>\",\n \"title\": \"<string>\"\n}"

response = http.request(request)
puts response.read_body
{
  "taskId": "15c257ff-43f7-4678-bd41-202ad6b8488b"
}
Commit the candidate chosen from Add Section. Poll Get Task Status until success.
Free (0 credits). taskId is the phase-1 task id used to load Studio project context — not the original song taskId for account binding. The account from phase 1 is reused.
Part of the Studio Editing group.

Parameters

FieldTypeRequiredDescription
taskIdstringYesTask id returned by phase 1 (addSection)
candidate_clip_idstringYesSelected candidate id from phase-1 clips
titlestringNoFinal title for the new song

Example

curl -X POST https://api.mountsea.ai/suno/v2/studio/addSectionCommit \
  -H "Authorization: Bearer your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "taskId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
    "candidate_clip_id": "48d4951a-d1ed-4a85-b61e-168dde2b6659",
    "title": "Summer Vibes (Extended Bridge)"
  }'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
taskId
string
required

阶段一(addSection)返回的任务 id,用于取 studio 工程上下文

Example:

"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"

candidate_clip_id
string
required

阶段一 clips 中选中的候选 id

title
string

最终新歌标题

Response

201 - application/json
taskId
string
required

task id. Use this id to query task status.

Example:

"15c257ff-43f7-4678-bd41-202ad6b8488b"