跳转到主要内容
POST
/
suno
/
v2
/
adjustSpeed
调整速度
curl --request POST \
  --url https://api.mountsea.ai/suno/v2/adjustSpeed \
  --header 'Content-Type: application/json' \
  --data '
{
  "clip_id": "<string>",
  "speed_multiplier": 123,
  "keep_pitch": true,
  "title": "<string>"
}
'
{
  "taskId": "<string>"
}
调整现有片段的播放速度。返回一个调整速度后的新片段。

请求体

clip_id
string
必填
要调整速度的源片段 ID。
speed_multiplier
number
必填
速度倍率值,范围为 0.25 到 4.0。
效果
0.254 倍减速(最小值)
0.52 倍减速
1.0原始速度
1.51.5 倍加速
2.02 倍加速
4.04 倍加速(最大值)
keep_pitch
boolean
默认值:"true"
调整速度时是否保持原始音高。
  • true:保持原始音高(推荐)
  • false:音高随速度变化
title
string
调整后片段的可选新标题。

响应

taskId
string
任务 ID。使用此 ID 通过获取任务状态查询任务状态。

示例

curl -X POST https://api.mountsea.ai/suno/v2/adjustSpeed \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer your-api-key" \
  -d '{
    "clip_id": "your-clip-id",
    "speed_multiplier": 1.45,
    "keep_pitch": true,
    "title": "My Song (1.45x)"
  }'

响应示例

{
  "taskId": "15c257ff-43f7-4678-bd41-202ad6b8488b"
}
keep_pitch 设为 true 可在加速或减速时保持原始声音特质。这使用了时间拉伸算法来保持音高不变。
极端的速度调整(接近 0.25 或 4.0)可能会产生音频伪影。为获得最佳质量,建议保持在 0.75 - 1.5 倍的范围内。