跳转到主要内容
POST
/
suno
/
v2
/
audio
/
crop
crop audio
curl --request POST \
  --url https://api.mountsea.ai/suno/v2/audio/crop \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "clip_id": "<string>",
  "crop_start_s": 1,
  "crop_end_s": 1,
  "is_crop_remove": false,
  "ui_surface": "song_actions"
}
'
{
  "taskId": "15c257ff-43f7-4678-bd41-202ad6b8488b"
}
裁剪已有 Suno clip,通过 查询任务状态 轮询至 success
免费(0 积分)。平台根据 clip_id 自动解析 Suno 账号。

参数

字段类型必填说明
clip_idstring要裁剪的 clip
crop_start_snumber起始秒
crop_end_snumber结束秒
is_crop_removebooleanfalse=保留选区(默认);true=移除选区
ui_surfacestringUI 来源标识,默认 song_actions

结果

{
  "status": "complete",
  "action_clip_id": "48d4951a-...",
  "clip": {
    "id": "48d4951a-...",
    "audio_url": "https://cdn1.suno.ai/...",
    "title": "...",
    "status": "complete"
  }
}

示例

curl -X POST https://api.mountsea.ai/suno/v2/audio/crop \
  -H "Authorization: Bearer your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "clip_id": "5a3c023f-d1ed-4a85-b61e-168dde2b6659",
    "crop_start_s": 0,
    "crop_end_s": 30,
    "is_crop_remove": false
  }'

授权

Authorization
string
header
必填

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

请求体

application/json
clip_id
string
必填

要裁剪的 clip_id(须与账号一致)

crop_start_s
number
必填

裁剪起始秒

必填范围: x >= 0
crop_end_s
number
必填

裁剪结束秒

必填范围: x >= 0
is_crop_remove
boolean
默认值:false

是否移除选区(false = 保留选区,true = 移除选区)

ui_surface
string

UI 来源标识

示例:

"song_actions"

响应

201 - application/json
taskId
string
必填

task id. Use this id to query task status.

示例:

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