AudioSuno
Extract Stem
Submit this Suno capability through POST /v1/music/generations with model: "suno-stems".
Authorization
BearerAuth
AuthorizationBearer <token>
使用 MAPI Bearer Token 认证。格式:Authorization: Bearer sk-xxxxxx。
In: header
Request Body
application/json
model*string
固定填写 suno-stems。
task_id*string
产出源音轨的任务 ID,必填。
audio_index?integer
源任务音轨序号,1-based,默认 1。
Default
1Range
1 <= valuestem_type?string
要提取的分轨类型,省略默认 lead_vocal。常用值包括 lead_vocal、backing_vocals、drum_kit、bass、piano、electric_guitar。808 必须作为字符串发送。
Default
"lead_vocal"audio_format?string
输出音频格式。
Value in
"mp3" | "m4a" | "wav"Response Body
application/json
application/json
curl -X POST "https://loading/v1/music/generations" \ -H "Content-Type: application/json" \ -d '{ "model": "suno-stems", "task_id": "task_source123", "audio_index": 1, "stem_type": "lead_vocal" }'{
"code": 200,
"message": "success",
"data": [
{
"status": "submitted",
"task_id": "task_aehCmxJ5YUNOIQGgkhvxaco4T9P2h3Dw"
}
]
}{
"code": "invalid_request",
"message": "task_id is required",
"data": null
}Last updated on