{
"code": 200,
"data": {
"callbackType": "complete",
"data": {
"resultUrls": [
"Mysterious pop with a restrained, late-night pulse: muted electronic kick, crisp rim-click snare, and syncopated sub-bass beneath glassy synth plucks and a detuned piano motif. Close, breathy vocals sit in a narrow, dry space, then gain doubled harmonies and short reverse-reverb tails. Sparse verses open into a wider chorus with pulsing pads and filtered percussion."
]
},
"task_id": "7d3f0a9c41e85b2f6a1c9e04b8d27f53"
},
"msg": "All generated successfully."
}Boost music style: 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": "All generated successfully.", "data": {"callbackType": "complete", "task_id", "data": {"resultUrls": [style text]}}}, with data.task_id the task ID and data.data the same as response of the query endpoint; on failure code is the failure code (not 200), msg the reason, and data has only callbackType and task_id. As the endpoint answers synchronously, usually only the success callback is sent; a failure is returned by the create request itself. Verify the sender with X-DreamTo-Signature and answer with any 2xx.
{
"code": 200,
"data": {
"callbackType": "complete",
"data": {
"resultUrls": [
"Mysterious pop with a restrained, late-night pulse: muted electronic kick, crisp rim-click snare, and syncopated sub-bass beneath glassy synth plucks and a detuned piano motif. Close, breathy vocals sit in a narrow, dry space, then gain doubled harmonies and short reverse-reverb tails. Sparse verses open into a wider chorus with pulsing pads and filtered percussion."
]
},
"task_id": "7d3f0a9c41e85b2f6a1c9e04b8d27f53"
},
"msg": "All generated successfully."
}Authorizations
Headers
Body
Response
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.

