klingai-webhook-config

Installation
SKILL.md

Kling AI Webhook Configuration

Overview

Instead of polling task status, pass a callback_url when creating a task. Kling AI will POST the completed task result to your URL when generation finishes. This eliminates polling overhead and reduces API calls.

Supported on: All video generation endpoints (text2video, image2video, video-extend, lip-sync, effects)

How It Works

  1. Include callback_url in your task creation request
  2. Kling queues the task normally
  3. When task reaches terminal state (succeed or failed), Kling POSTs the full result to your URL
  4. Your webhook handler processes the result

Sending a Task with Callback

import jwt, time, os, requests
Installs
1
GitHub Stars
2.8K
First Seen
13 days ago
klingai-webhook-config — jeremylongshore/tons-of-skills-marketplace