callback_url on Kling async tasks when you want push delivery instead of pure polling.
Where to use it
- Text-to-video and image-to-video tasks
- Avatar and video-effects tasks
- Other Kling async routes that expose an optional
callback_urlfield
Delivery behavior
- Kling posts to your callback endpoint whenever task status changes
- Common statuses are
submitted,processing,succeed, andfailed - The payload can include
task_result.imagesortask_result.videosdepending on the task type - Keep manual polling available for reconciliation, retries, or missed webhook handling
Integration checklist
- Use an HTTPS callback endpoint you control
- Accept repeated status updates for the same task id
- Treat webhook delivery as asynchronous and eventually consistent
- Persist the final asset URLs quickly if your workflow needs durable storage