klingai-webhook-config
Configure webhooks for Kling AI job completion notifications. Use when building event-driven videopipelines or need real-time job status updates. Trigger with phrases like 'klingai webhook','kling ai callback', 'klingai notifications', 'video completion webhook'.
When & Why to Use This Skill
This Claude skill facilitates the seamless integration of Kling AI into event-driven architectures by providing expert guidance on configuring webhook notifications. It helps developers eliminate inefficient API polling by setting up real-time callbacks for video generation milestones, including job creation, processing, completion, and failure, ensuring high-performance video automation workflows.
Use Cases
- Automated Post-Processing: Automatically trigger downstream tasks such as video transcoding, watermarking, or cloud storage uploads the moment a Kling AI generation job completes.
- Real-time User Notifications: Deliver instant updates to end-users via Slack, email, or push notifications regarding the status of their AI video requests.
- Workflow Orchestration: Integrate Kling AI into complex CI/CD or content pipelines where subsequent steps depend on the successful delivery of video assets.
- System Monitoring & Logging: Capture detailed event data to monitor API performance, track success rates, and implement robust error-handling mechanisms for failed jobs.
| name | klingai-webhook-config |
|---|---|
| description | | |
| allowed-tools | Read, Write, Edit, Grep |
| version | 1.0.0 |
| license | MIT |
| author | Jeremy Longshore <jeremy@intentsolutions.io> |
Kling AI Webhook Configuration
Overview
This skill shows how to configure webhook endpoints to receive real-time notifications when video generation jobs complete, fail, or change status in Kling AI.
Prerequisites
- Kling AI API key configured
- Public HTTPS endpoint for webhook receiver
- Python 3.8+ or Node.js 18+
Instructions
Follow these steps to configure webhooks:
- Create Endpoint: Set up a webhook receiver endpoint
- Register Webhook: Configure webhook URL with Kling AI
- Verify Signatures: Validate webhook authenticity
- Handle Events: Process different event types
- Implement Retries: Handle delivery failures
Webhook Event Types
Kling AI Webhook Events:
video.created - Job submitted, processing started
video.processing - Generation in progress (progress updates)
video.completed - Video generation successful
video.failed - Generation failed with error
video.cancelled - Job was cancelled
Payload Structure:
{
"event": "video.completed",
"timestamp": "2025-01-15T10:30:00Z",
"data": {
## Detailed Reference
See `{baseDir}/references/implementation.md` for complete webhook setup guide.