{
"code": 200,
"msg": "vocal Removal generated successfully.",
"data": {
"task_id": "7d3f0a9c41e85b2f6a1c9e04b8d27f53",
"vocal_removal_info": {
"instrumental_url": "https://api.dreamto.ai/v1/tasks/7d3f0a9c41e85b2f6a1c9e04b8d27f53/artifacts/d0d0f443d998ca50a05fb/content?access=Xq3vR8sK1mN6pT2wY9bC4dF7gH0jL5zA8eU1iO3rS6t",
"origin_data": [
{
"audio_url": "https://api.dreamto.ai/v1/tasks/7d3f0a9c41e85b2f6a1c9e04b8d27f53/artifacts/8186af69dccb72e575704/content?access=Xq3vR8sK1mN6pT2wY9bC4dF7gH0jL5zA8eU1iO3rS6t",
"duration": 41.08,
"id": "40bdbc9f-87af-4d9d-8e95-415f33b138b6",
"stem_type_group_name": "Vocals"
},
{
"audio_url": "https://api.dreamto.ai/v1/tasks/7d3f0a9c41e85b2f6a1c9e04b8d27f53/artifacts/d0d0f443d998ca50a05fb/content?access=Xq3vR8sK1mN6pT2wY9bC4dF7gH0jL5zA8eU1iO3rS6t",
"duration": 41.08,
"id": "c4059353-ecbe-4bfa-b297-dda6ac7f61ad",
"stem_type_group_name": "Instrumental"
}
],
"vocal_url": "https://api.dreamto.ai/v1/tasks/7d3f0a9c41e85b2f6a1c9e04b8d27f53/artifacts/8186af69dccb72e575704/content?access=Xq3vR8sK1mN6pT2wY9bC4dF7gH0jL5zA8eU1iO3rS6t"
}
}
}Vocal and instrument stem separation
Vocal and instrument stem separation: Task callback
When the task was created with callBackUrl, DreamTo sends this POST there once the task succeeds or fails (once): on success the body is {"code": 200, "msg": "vocal Removal generated successfully.", "data": {"task_id", "vocal_removal_info"}}, with data.task_id the task ID and vocal_removal_info the stem details (the same as response.resultObject); on failure code is the failure code (not 200), msg the reason and data holds only task_id. Verify the sender with X-DreamTo-Signature and answer with any 2xx.
WEBHOOK
sunoTaskCompleted
{
"code": 200,
"msg": "vocal Removal generated successfully.",
"data": {
"task_id": "7d3f0a9c41e85b2f6a1c9e04b8d27f53",
"vocal_removal_info": {
"instrumental_url": "https://api.dreamto.ai/v1/tasks/7d3f0a9c41e85b2f6a1c9e04b8d27f53/artifacts/d0d0f443d998ca50a05fb/content?access=Xq3vR8sK1mN6pT2wY9bC4dF7gH0jL5zA8eU1iO3rS6t",
"origin_data": [
{
"audio_url": "https://api.dreamto.ai/v1/tasks/7d3f0a9c41e85b2f6a1c9e04b8d27f53/artifacts/8186af69dccb72e575704/content?access=Xq3vR8sK1mN6pT2wY9bC4dF7gH0jL5zA8eU1iO3rS6t",
"duration": 41.08,
"id": "40bdbc9f-87af-4d9d-8e95-415f33b138b6",
"stem_type_group_name": "Vocals"
},
{
"audio_url": "https://api.dreamto.ai/v1/tasks/7d3f0a9c41e85b2f6a1c9e04b8d27f53/artifacts/d0d0f443d998ca50a05fb/content?access=Xq3vR8sK1mN6pT2wY9bC4dF7gH0jL5zA8eU1iO3rS6t",
"duration": 41.08,
"id": "c4059353-ecbe-4bfa-b297-dda6ac7f61ad",
"stem_type_group_name": "Instrumental"
}
],
"vocal_url": "https://api.dreamto.ai/v1/tasks/7d3f0a9c41e85b2f6a1c9e04b8d27f53/artifacts/8186af69dccb72e575704/content?access=Xq3vR8sK1mN6pT2wY9bC4dF7gH0jL5zA8eU1iO3rS6t"
}
}
}Authorizations
Headers
Body
application/json
Callback request body.
Response
200
Any 2xx status acknowledges the callback; on a timeout (10 seconds) or another status it is retried after 1, 5 and 30 minutes, at most 4 deliveries.

