首页/ AI 技能 / @skilllib/skill-2117939930272413107
Skill站外收录 @skilllib/skill-2117939930272413107

klingai-webhook-config

支持为 Kling AI 视频生成任务配置实时回调通知,当任务创建、处理中、完成、失败或被取消时,自动向指定 HTTPS 地址推送结构化事件数据,便于构建响应式视频处理流水线。

0.0 (0) 18 次安装 原作者 编程导航
收录于 2026-01-22

Skills.MD

# 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: 1. **Create Endpoint**: Set up a webhook receiver endpoint 2. **Register Webhook**: Configure webhook URL with Kling AI 3. **Verify Signatures**: Validate webhook authenticity 4. **Handle Events**: Process different event types 5. **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.

评论 0

还没有评论,来抢沙发。