model=bytedance/seed-audio-1-5-audio-separation。| 必填字段 | 可选字段 |
|---|---|
audio_url | prompt、output_format |
reference_audio_urls、reference_image_url、video_url、target_language),传了会返回参数错误(传空字符串也算传了)。422,不会创建任务。resultJson 里 resultUrls 是多条分轨,格式为所选 output_format。resultObject.layers_data 按与 resultUrls 相同的顺序给出每条分轨的类型(speaker、sfx 或 bgm)。输出链接保留 14 天,需要长期保存请及时下载。resultJson 示例:{
"resultObject": {
"layers_data": ["speaker", "sfx", "bgm"]
},
"resultUrls": [
"https://example.com/seed-audio/track-1.mp3",
"https://example.com/seed-audio/track-2.mp3",
"https://example.com/seed-audio/track-3.mp3"
]
}failMsg:| 类别 | failMsg |
|---|---|
| 提示词 | The prompt contains too little readable text. Please describe the audio in plain words. |
| 内容审核 | Your prompt, input media or the generated audio was flagged by content moderation. Please revise it and try again. |
| 输入文件下载 | Failed to download the input file. Make sure the URL is publicly accessible and try again. |
| 待分轨音频 | Invalid audio to separate. Use an MP3 or WAV file of 2-360 seconds, up to 90 MB. |
| 文件过大或过长 | The input file is too large or too long. Please compress or shorten it and try again. |
| 文件无法读取 | The input file could not be read. Use a valid MP3/WAV audio, MP4/MOV video or a supported image format and try again. |
| 服务繁忙 | The service is busy. Please try again later. |
| 其他错误 | Internal Error, Please try again later. |
callBackUrl 参数接收生成完成的自动通知,而非轮询状态接口。curl --location 'https://api.kie.ai/api/v1/jobs/createTask' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "bytedance/seed-audio-1-5-audio-separation",
"callBackUrl": "https://your-domain.com/api/callback",
"input": {
"audio_url": "https://example.com/your-audio.mp3",
"output_format": "mp3"
}
}'{
"code": 200,
"msg": "success",
"data": {
"taskId": "5b0d3c9a7e2f41d68a1c4e7b9f2d6a03"
}
}