callBackUrl 参数设置回调URL。任务完成时,系统将自动向您指定的地址推送结果。callBackUrl 发送POST请求。不同的分离类型对应不同的回调数据结构:{
"code": 200,
"msg": "vocal Removal generated successfully.",
"data": {
"task_id": "3e63b4cc88d52611159371f6af5571e7",
"vocal_removal_info": {
"instrumental_url": "https://file.aiquickdraw.com/s/d92a13bf-c6f4-4ade-bb47-f69738435528_Instrumental.mp3",
"origin_url": "",
"vocal_url": "https://file.aiquickdraw.com/s/3d7021c9-fa8b-4eda-91d1-3b9297ddb172_Vocals.mp3",
"origin_data": [
{
"duration": 240,
"audio_url": "https://example/s/3*****s.mp3",
"stem_type_group_name": "Vocals",
"id": "efb902e8-ade5-467d-b7d0-61fa5e057d51"
},
{
"duration": 240,
"audio_url": "https://example/s/3*****s.mp3",
"stem_type_group_name": "Instrumental",
"id": "f239d1a9-0480-4ae5-ac28-feb7a12553cb"
}
],
}
}
}{
"code": 200,
"msg": "vocal Removal generated successfully.",
"data": {
"task_id": "e649edb7abfd759285bd41a47a634b10",
"vocal_removal_info": {
"origin_url": "",
"backing_vocals_url": "https://file.aiquickdraw.com/s/aadc51a3-4c88-4c8e-a4c8-e867c539673d_Backing_Vocals.mp3",
"bass_url": "https://file.aiquickdraw.com/s/a3c2da5a-b364-4422-adb5-2692b9c26d33_Bass.mp3",
"brass_url": "https://file.aiquickdraw.com/s/334b2d23-0c65-4a04-92c7-22f828afdd44_Brass.mp3",
"drums_url": "https://file.aiquickdraw.com/s/ac75c5ea-ac77-4ad2-b7d9-66e140b78e44_Drums.mp3",
"fx_url": "https://file.aiquickdraw.com/s/a8822c73-6629-4089-8f2a-d19f41f0007d_FX.mp3",
"guitar_url": "https://file.aiquickdraw.com/s/064dd08e-d5d2-4201-9058-c5c40fb695b4_Guitar.mp3",
"keyboard_url": "https://file.aiquickdraw.com/s/adc934e0-df7d-45da-8220-1dba160d74e0_Keyboard.mp3",
"percussion_url": "https://file.aiquickdraw.com/s/0f70884d-047c-41f1-a6d0-7044618b7dc6_Percussion.mp3",
"strings_url": "https://file.aiquickdraw.com/s/49829425-a5b0-424e-857a-75d4c63a426b_Strings.mp3",
"synth_url": "https://file.aiquickdraw.com/s/56b2d94a-eb92-4d21-bc43-3460de0c8348_Synth.mp3",
"vocal_url": "https://file.aiquickdraw.com/s/07420749-29a2-4054-9b62-e6a6f8b90ccb_Vocals.mp3",
"woodwinds_url": "https://file.aiquickdraw.com/s/d81545b1-6f94-4388-9785-1aaa6ecabb02_Woodwinds.mp3",
"origin_data":
[
{
"duration": 240,
"audio_url": "https://example/s/3*****s.mp3",
"stem_type_group_name": "Vocals",
"id": "aea2a703-6f8f-494d-b75f-1707a204b6b3"
},
{
"duration": 240,
"audio_url": "https://example/s/3*****s.mp3",
"stem_type_group_name": "Backing_Vocals",
"id": "e8fbb979-e5aa-4383-b047-b3f477ade352"
},
{
"duration": 240,
"audio_url": "https://example/s/3*****s.mp3",
"stem_type_group_name": "Drums",
"id": "c03975d4-6e0a-4035-8e63-051a6645d341"
},
{
"duration": 240,
"audio_url": "https://example/s/3*****s.mp3",
"stem_type_group_name": "Bass",
"id": "87d276bc-0934-4867-963d-53260b2c2a3a"
},
{
"duration": 240,
"audio_url": "https://example/s/3*****s.mp3",
"stem_type_group_name": "Guitar",
"id": "2e528c6e-fb86-4102-a7c5-99f2924c8ec9"
},
{
"duration": 240,
"audio_url": "https://example/s/3*****s.mp3",
"stem_type_group_name": "Keyboard",
"id": "085ce0bf-7683-49d2-b640-ab682cd821bb"
},
{
"duration": 240,
"audio_url": "https://example/s/3*****s.mp3",
"stem_type_group_name": "Percussion",
"id": "eac93cca-b286-4e55-ad56-da0809fde10e"
},
{
"duration": 240,
"audio_url": "https://example/s/3*****s.mp3",
"stem_type_group_name": "Strings",
"id": "b9fc0b0c-03ad-4d57-a750-9a781ca4e533"
},
{
"duration": 240,
"audio_url": "https://example/s/3*****s.mp3",
"stem_type_group_name": "Synth",
"id": "0c45fb26-a317-40bb-8ff7-1b9d48a41d4b"
},
{
"duration": 240,
"audio_url": "https://example/s/3*****s.mp3",
"stem_type_group_name": "FX",
"id": "d6ef4126-b05c-42b5-aa3e-6b10ab545caf"
},
{
"duration": 240,
"audio_url": "https://example/s/3*****s.mp3",
"stem_type_group_name": "Brass",
"id": "f3f5e600-0de4-4278-afb9-56858de13402"
},
{
"duration": 240,
"audio_url": "https://example/s/3*****s.mp3",
"stem_type_group_name": "Woodwinds",
"id": "433ec06c-787f-4a89-ae91-7bd8c9c6c1c1"
}
],
}
}
}{
"code": 200,
"msg": "vocal Removal generated successfully.",
"data": {
"task_id": "7220be2955295dda60de46ec6e4ead4c",
"vocal_removal_info": {
"origin_data": [
{
"extract": {
"duration": 194.92,
"audio_url": "https://tempfile.aiquickdraw.com/r/eb7d0f18-8349-4735-a65e-1812705d5ddf_Lead Vocal.mp3",
"stem_type_group_name": "Lead Vocal",
"id": "eb7d0f18-8349-4735-a65e-1812705d5ddf"
},
"remove": {
"duration": 194.92,
"audio_url": "https://tempfile.aiquickdraw.com/r/706d32df-e988-412e-bce4-42c9302e5478_Lead Vocal.mp3",
"stem_type_group_name": "Lead Vocal",
"id": "706d32df-e988-412e-bce4-42c9302e5478"
}
},
{
"extract": {
"duration": 194.92,
"audio_url": "https://tempfile.aiquickdraw.com/r/a7c503f6-1265-4f7e-bf5d-c50fb3b07238_Lead Vocal.mp3",
"stem_type_group_name": "Lead Vocal",
"id": "a7c503f6-1265-4f7e-bf5d-c50fb3b07238"
},
"remove": {
"duration": 194.92,
"audio_url": "https://tempfile.aiquickdraw.com/r/a3a0c954-1980-410f-9b34-8539b8eb23f8_Lead Vocal.mp3",
"stem_type_group_name": "Lead Vocal",
"id": "a3a0c954-1980-410f-9b34-8539b8eb23f8"
}
}
],
origin_url:""
}
}
}code (integer, required)| 状态码 | 描述 |
|---|---|
| 200 | 成功 - 请求已成功处理 |
| 400 | 验证错误 - 歌词包含受版权保护的内容 |
| 408 | 超出限制 - 超时 |
| 413 | 冲突 - 上传的音频与现有艺术作品匹配 |
| 500 | 服务器错误 - 处理请求时发生意外错误 |
| 501 | 音频生成失败 |
| 531 | 服务器错误 - 抱歉,由于问题生成失败。您的积分已退还。请重试 |
msg (string, required)data.task_id (string, required)data.vocal_removal_info (object)data.vocal_removal_info.instrumental_url (string)data.vocal_removal_info.origin_url (string)data.vocal_removal_info.vocal_url (string)data.vocal_removal_info.origin_url (string)data.vocal_removal_info.vocal_url (string)data.vocal_removal_info.backing_vocals_url (string)data.vocal_removal_info.drums_url (string)data.vocal_removal_info.bass_url (string)data.vocal_removal_info.guitar_url (string)data.vocal_removal_info.keyboard_url (string)data.vocal_removal_info.percussion_url (string)data.vocal_removal_info.strings_url (string)data.vocal_removal_info.synth_url (string)data.vocal_removal_info.fx_url (string)data.vocal_removal_info.brass_url (string)data.vocal_removal_info.woodwinds_url (string)