Fetch by taskId in real time and write back to the database.
Request
Add the parameter Authorization
to Headers Example:Authorization: ********************
or
Body Params application/jsonRequired
{
"taskId": "task_1234567890"
}
Request Code Samples
curl --location --request POST '/api/video-generations/check-result' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"taskId": "task_1234567890"
}'
Responses
application/json
Success response with task status.
{
"code": 0,
"message": "Success",
"data": {
"status": "running",
"progress": 35,
"result_url": "https://your-domain.com/storage/videos/xxx.mp4",
"result_urls": [
"https://your-domain.com/storage/videos/xxx.mp4"
],
"failure_reason": "",
"error_message": null,
"credits_refunded": false,
"refund_trans_no": null,
"result_pid": "s_xxx",
"result_pids": [
"s_xxx"
],
"metadata": {
"remixTargetId": "s_prev",
"characters": [
{
"url": "https://.../hero.mp4",
"timestamps": "0,3"
}
]
}
}
}
Modified atΒ 2025-12-22 14:03:25