9.裁剪音乐
POST
/suno/submit/crop-song
请求参数
Header 参数
Authorization
string
用户中心获取的密钥
示例值:
{{YOUR_API_KEY}}
Body 参数application/json
taskId
string
任务id
clipId
string
sunoId
cropStart
string
裁剪开始时间
cropEnd
string
裁剪结束时间
示例
{
"taskId": "17354577179730001",
"clipId": "2777ca4b-acb3-4b55-b434-be1c31b952f3",
"cropStart": "10",
"cropEnd": "60"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'https://openapi.sku.vip/suno/submit/crop-song' \
--header 'Content-Type: application/json' \
--data-raw '{
"taskId": "17354577179730001",
"clipId": "2777ca4b-acb3-4b55-b434-be1c31b952f3",
"cropStart": "10",
"cropEnd": "60"
}'
返回响应
🟢200成功
application/json
Body
code
integer
状态码
description
string
描述
result
string
任务id
示例
{
"code": 1,
"description": "success",
"result": "17350498477280038"
}
修改于 2025-06-09 06:36:10