{
"code": 200,
"msg": "Task completed successfully.",
"data": {
"taskId": "7d3f0a9c41e85b2f6a1c9e04b8d27f53",
"model": "elevenlabs/text-to-dialogue-v3",
"state": "success",
"param": "{\"input\":\"{\\\"dialogue\\\":[{\\\"text\\\":\\\"Did you hear the news? They finally opened the new bakery downtown.\\\",\\\"voice\\\":\\\"pNInz6obpgDQGcFmaJgB\\\"},{\\\"text\\\":\\\"[excited] Really? I've been waiting for months! Let's go this weekend.\\\",\\\"voice\\\":\\\"EXAVITQu4vr4xnSDxMaL\\\"},{\\\"text\\\":\\\"Deal. [laughs] I'll bring the coffee.\\\",\\\"voice\\\":\\\"pNInz6obpgDQGcFmaJgB\\\"}],\\\"stability\\\":0.5}\",\"model\":\"elevenlabs/text-to-dialogue-v3\"}",
"resultJson": "{\"resultUrls\":[\"https://api.dreamto.ai/v1/tasks/7d3f0a9c41e85b2f6a1c9e04b8d27f53/artifacts/8d2c41f0b7e94a6fa1c3d/content?access=Xq3vR8sK1mN6pT2wY9bC4dF7gH0jL5zA8eU1iO3rS6t\"],\"resultObject\":null}",
"failCode": null,
"failMsg": null,
"costTime": 14,
"completeTime": 1795014911000,
"createTime": 1795014897000,
"updateTime": 1795014911000,
"response": {
"resultUrls": [
"https://api.dreamto.ai/v1/tasks/7d3f0a9c41e85b2f6a1c9e04b8d27f53/artifacts/8d2c41f0b7e94a6fa1c3d/content?access=Xq3vR8sK1mN6pT2wY9bC4dF7gH0jL5zA8eU1iO3rS6t"
],
"resultObject": null
}
}
}ElevenLabs V3 Text to Dialogue
Task callback
When the task was created with callBackUrl, DreamTo sends this POST there once the task succeeds or fails. The outer code is 200 (success) or 501 (failure) and data is the same as the data of the query endpoint. Verify the sender with X-DreamTo-Signature and answer with any 2xx.
WEBHOOK
elevenlabsTaskCompleted
{
"code": 200,
"msg": "Task completed successfully.",
"data": {
"taskId": "7d3f0a9c41e85b2f6a1c9e04b8d27f53",
"model": "elevenlabs/text-to-dialogue-v3",
"state": "success",
"param": "{\"input\":\"{\\\"dialogue\\\":[{\\\"text\\\":\\\"Did you hear the news? They finally opened the new bakery downtown.\\\",\\\"voice\\\":\\\"pNInz6obpgDQGcFmaJgB\\\"},{\\\"text\\\":\\\"[excited] Really? I've been waiting for months! Let's go this weekend.\\\",\\\"voice\\\":\\\"EXAVITQu4vr4xnSDxMaL\\\"},{\\\"text\\\":\\\"Deal. [laughs] I'll bring the coffee.\\\",\\\"voice\\\":\\\"pNInz6obpgDQGcFmaJgB\\\"}],\\\"stability\\\":0.5}\",\"model\":\"elevenlabs/text-to-dialogue-v3\"}",
"resultJson": "{\"resultUrls\":[\"https://api.dreamto.ai/v1/tasks/7d3f0a9c41e85b2f6a1c9e04b8d27f53/artifacts/8d2c41f0b7e94a6fa1c3d/content?access=Xq3vR8sK1mN6pT2wY9bC4dF7gH0jL5zA8eU1iO3rS6t\"],\"resultObject\":null}",
"failCode": null,
"failMsg": null,
"costTime": 14,
"completeTime": 1795014911000,
"createTime": 1795014897000,
"updateTime": 1795014911000,
"response": {
"resultUrls": [
"https://api.dreamto.ai/v1/tasks/7d3f0a9c41e85b2f6a1c9e04b8d27f53/artifacts/8d2c41f0b7e94a6fa1c3d/content?access=Xq3vR8sK1mN6pT2wY9bC4dF7gH0jL5zA8eU1iO3rS6t"
],
"resultObject": null
}
}
}Authorizations
Headers
Body
application/json
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.

