{
"code": 200,
"msg": "Task completed successfully.",
"data": {
"taskId": "7d3f0a9c41e85b2f6a1c9e04b8d27f53",
"model": "pixverse-v6/reference-to-video",
"state": "success",
"param": "{\"input\":\"{\\\"prompt\\\":\\\"@dog rolls over on the sofa in @room, then jumps down and runs toward the camera\\\",\\\"image_references\\\":[{\\\"image_url\\\":\\\"https://your-cdn.example.com/dog.png\\\",\\\"type\\\":\\\"subject\\\",\\\"ref_name\\\":\\\"dog\\\"},{\\\"image_url\\\":\\\"https://your-cdn.example.com/room.png\\\",\\\"type\\\":\\\"background\\\",\\\"ref_name\\\":\\\"room\\\"}],\\\"aspect_ratio\\\":\\\"16:9\\\",\\\"quality\\\":\\\"720p\\\",\\\"duration\\\":5}\",\"model\":\"pixverse-v6/reference-to-video\"}",
"resultJson": "{\"resultUrls\":[\"https://api.dreamto.ai/v1/tasks/7d3f0a9c41e85b2f6a1c9e04b8d27f53/artifacts/8d2c41f0b7e94a6fa1c3d/content?access=Xq3vR8sK1mN6pT2wY9bC4dF7gH0jL5zA8eU1iO3rS6t\"]}",
"failCode": null,
"failMsg": null,
"costTime": 41,
"completeTime": 1794911412000,
"createTime": 1794911371000,
"updateTime": 1794911412000,
"response": {
"resultUrls": [
"https://api.dreamto.ai/v1/tasks/7d3f0a9c41e85b2f6a1c9e04b8d27f53/artifacts/8d2c41f0b7e94a6fa1c3d/content?access=Xq3vR8sK1mN6pT2wY9bC4dF7gH0jL5zA8eU1iO3rS6t"
]
}
}
}PixVerse V6 Reference to Video
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
pixverseTaskCompleted
{
"code": 200,
"msg": "Task completed successfully.",
"data": {
"taskId": "7d3f0a9c41e85b2f6a1c9e04b8d27f53",
"model": "pixverse-v6/reference-to-video",
"state": "success",
"param": "{\"input\":\"{\\\"prompt\\\":\\\"@dog rolls over on the sofa in @room, then jumps down and runs toward the camera\\\",\\\"image_references\\\":[{\\\"image_url\\\":\\\"https://your-cdn.example.com/dog.png\\\",\\\"type\\\":\\\"subject\\\",\\\"ref_name\\\":\\\"dog\\\"},{\\\"image_url\\\":\\\"https://your-cdn.example.com/room.png\\\",\\\"type\\\":\\\"background\\\",\\\"ref_name\\\":\\\"room\\\"}],\\\"aspect_ratio\\\":\\\"16:9\\\",\\\"quality\\\":\\\"720p\\\",\\\"duration\\\":5}\",\"model\":\"pixverse-v6/reference-to-video\"}",
"resultJson": "{\"resultUrls\":[\"https://api.dreamto.ai/v1/tasks/7d3f0a9c41e85b2f6a1c9e04b8d27f53/artifacts/8d2c41f0b7e94a6fa1c3d/content?access=Xq3vR8sK1mN6pT2wY9bC4dF7gH0jL5zA8eU1iO3rS6t\"]}",
"failCode": null,
"failMsg": null,
"costTime": 41,
"completeTime": 1794911412000,
"createTime": 1794911371000,
"updateTime": 1794911412000,
"response": {
"resultUrls": [
"https://api.dreamto.ai/v1/tasks/7d3f0a9c41e85b2f6a1c9e04b8d27f53/artifacts/8d2c41f0b7e94a6fa1c3d/content?access=Xq3vR8sK1mN6pT2wY9bC4dF7gH0jL5zA8eU1iO3rS6t"
]
}
}
}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.

