Studio add section (phase 1)
curl --request POST \
--url https://api.mountsea.ai/suno/v2/studio/addSection \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"clip_id": "<string>",
"insert_at_s": 1,
"duration_s": 16,
"section_beats": 32,
"lyrics": "<string>",
"tags": "<string>",
"negative_tags": "<string>",
"model": "chirp-v55",
"title": "<string>"
}
'import requests
url = "https://api.mountsea.ai/suno/v2/studio/addSection"
payload = {
"clip_id": "<string>",
"insert_at_s": 1,
"duration_s": 16,
"section_beats": 32,
"lyrics": "<string>",
"tags": "<string>",
"negative_tags": "<string>",
"model": "chirp-v55",
"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({
clip_id: '<string>',
insert_at_s: 1,
duration_s: 16,
section_beats: 32,
lyrics: '<string>',
tags: '<string>',
negative_tags: '<string>',
model: 'chirp-v55',
title: '<string>'
})
};
fetch('https://api.mountsea.ai/suno/v2/studio/addSection', 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/addSection",
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([
'clip_id' => '<string>',
'insert_at_s' => 1,
'duration_s' => 16,
'section_beats' => 32,
'lyrics' => '<string>',
'tags' => '<string>',
'negative_tags' => '<string>',
'model' => 'chirp-v55',
'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/addSection"
payload := strings.NewReader("{\n \"clip_id\": \"<string>\",\n \"insert_at_s\": 1,\n \"duration_s\": 16,\n \"section_beats\": 32,\n \"lyrics\": \"<string>\",\n \"tags\": \"<string>\",\n \"negative_tags\": \"<string>\",\n \"model\": \"chirp-v55\",\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/addSection")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"clip_id\": \"<string>\",\n \"insert_at_s\": 1,\n \"duration_s\": 16,\n \"section_beats\": 32,\n \"lyrics\": \"<string>\",\n \"tags\": \"<string>\",\n \"negative_tags\": \"<string>\",\n \"model\": \"chirp-v55\",\n \"title\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.mountsea.ai/suno/v2/studio/addSection")
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 \"clip_id\": \"<string>\",\n \"insert_at_s\": 1,\n \"duration_s\": 16,\n \"section_beats\": 32,\n \"lyrics\": \"<string>\",\n \"tags\": \"<string>\",\n \"negative_tags\": \"<string>\",\n \"model\": \"chirp-v55\",\n \"title\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"taskId": "15c257ff-43f7-4678-bd41-202ad6b8488b"
}Studio
Studio Add Section
Phase 1 — generate candidate fills at an insert point
POST
/
suno
/
v2
/
studio
/
addSection
Studio add section (phase 1)
curl --request POST \
--url https://api.mountsea.ai/suno/v2/studio/addSection \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"clip_id": "<string>",
"insert_at_s": 1,
"duration_s": 16,
"section_beats": 32,
"lyrics": "<string>",
"tags": "<string>",
"negative_tags": "<string>",
"model": "chirp-v55",
"title": "<string>"
}
'import requests
url = "https://api.mountsea.ai/suno/v2/studio/addSection"
payload = {
"clip_id": "<string>",
"insert_at_s": 1,
"duration_s": 16,
"section_beats": 32,
"lyrics": "<string>",
"tags": "<string>",
"negative_tags": "<string>",
"model": "chirp-v55",
"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({
clip_id: '<string>',
insert_at_s: 1,
duration_s: 16,
section_beats: 32,
lyrics: '<string>',
tags: '<string>',
negative_tags: '<string>',
model: 'chirp-v55',
title: '<string>'
})
};
fetch('https://api.mountsea.ai/suno/v2/studio/addSection', 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/addSection",
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([
'clip_id' => '<string>',
'insert_at_s' => 1,
'duration_s' => 16,
'section_beats' => 32,
'lyrics' => '<string>',
'tags' => '<string>',
'negative_tags' => '<string>',
'model' => 'chirp-v55',
'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/addSection"
payload := strings.NewReader("{\n \"clip_id\": \"<string>\",\n \"insert_at_s\": 1,\n \"duration_s\": 16,\n \"section_beats\": 32,\n \"lyrics\": \"<string>\",\n \"tags\": \"<string>\",\n \"negative_tags\": \"<string>\",\n \"model\": \"chirp-v55\",\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/addSection")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"clip_id\": \"<string>\",\n \"insert_at_s\": 1,\n \"duration_s\": 16,\n \"section_beats\": 32,\n \"lyrics\": \"<string>\",\n \"tags\": \"<string>\",\n \"negative_tags\": \"<string>\",\n \"model\": \"chirp-v55\",\n \"title\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.mountsea.ai/suno/v2/studio/addSection")
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 \"clip_id\": \"<string>\",\n \"insert_at_s\": 1,\n \"duration_s\": 16,\n \"section_beats\": 32,\n \"lyrics\": \"<string>\",\n \"tags\": \"<string>\",\n \"negative_tags\": \"<string>\",\n \"model\": \"chirp-v55\",\n \"title\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"taskId": "15c257ff-43f7-4678-bd41-202ad6b8488b"
}Insert a generated section at
Part of Studio Editing.
Success
UI: play both candidates → user picks a
insert_at_s via infill. Returns 2 candidates + Studio context for commit. Poll Get Task Status until success, then call Add Section Commit with the chosen candidate_clip_id (no phase-1 taskId required).
Billed like music creation. Account is resolved from
clip_id. Keep insert_at_s away from song edges (~>0.5s); for ends use generate extend, not addSection.Parameters
| Field | Type | Required | Description |
|---|---|---|---|
clip_id | string | Yes | Source clip |
insert_at_s | number | Yes | Insert position (seconds) |
duration_s | number | No | Model window 4–32 (default 16). Not the final insert length — try 8–12 first |
section_beats | number | No | Timeline gap reserve in beats 8–256 (default 32). Decoupled from duration_s; raise to 64–128 if content overflows |
lyrics | string | No | Section lyrics; omit for instrumental |
tags | string | No | Style; inherits original if omitted |
negative_tags | string | No | Styles to exclude |
model | string | No | Default chirp-v55 / chirp-fenix |
title | string | No | Candidate title |
Success data (shape)
{
"clips": [
{ "id": "candidate-A", "status": "complete" },
{ "id": "candidate-B", "status": "complete" }
],
"studio": {
"clip_id": "...",
"projectId": "...",
"gapStartBeats": 124.48,
"gapEndBeats": 252.48,
"sectionBeats": 128,
"duration_s": 8,
"historyEndSeconds": 52.5,
"futureStartSeconds": 52.5
}
}
clips[].id → phase 2 with candidate_clip_id only.
Practical tips
| Situation | Suggestion |
|---|---|
| First try | duration_s=8~12, section_beats=64 or 128 |
| Too long / commit fails | Other candidate; still failing → increase section_beats and re-run phase 1 |
STUDIO_ALIGNMENT_CONTENT_TOO_LONG | Shorten lyrics or enlarge gap; do not only retry commit |
| Near head/tail | Use extend, not addSection |
Example
curl -X POST https://api.mountsea.ai/suno/v2/studio/addSection \
-H "Authorization: Bearer your-api-key" \
-H "Content-Type: application/json" \
-d '{
"clip_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"insert_at_s": 52.5,
"duration_s": 8,
"section_beats": 128,
"tags": "lofi, soft",
"lyrics": "",
"title": "Add bridge"
}'
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
原歌曲 clip_id
在原曲的这个秒数处插入新段落
Required range:
x >= 0新段落生成窗口秒数,范围 4~32,默认 16(不等于最终插入时长)
Required range:
4 <= x <= 32Studio 时间线预留空档(beat)。默认 32(官网 Create Section);与 duration_s 解耦,可按需加大以装下更长生成内容
Required range:
8 <= x <= 256新段落歌词;不传则为纯音乐
风格;不传则继承原曲风格
排除风格
模型版本,默认 chirp-v55 / chirp-fenix
Example:
"chirp-v55"
候选标题
Response
201 - application/json
task id. Use this id to query task status.
Example:
"15c257ff-43f7-4678-bd41-202ad6b8488b"