Kling
Individual Queries
Query Kling video generation tasks by task_id via GET /kling/v1///, returning status, progress, and result metadata for polling.
GET
Individual queries
Use this endpoint family after you create a Kling task. It is the common polling step for Kling async media jobs.
What to check first
code,message, andrequest_idfor the query acknowledgementdata.task_statusfor the task state, such assubmitted,processing,succeed, orfaileddata.task_result.videos[0].urlwhen the task succeedsdata.task_status_msgor other returned detail fields when a task stops early
Polling pattern
Create the task from the matching endpoint
Start with the Kling creation page for your workflow, such as Text to Video or Image to Video.
Poll until the task is terminal
Keep querying with the returned task id until
data.task_status reaches succeed or failed.For the full parameter reference, see the official Kling documentation.
Authorizations
Bearer token authentication. Use your CometAPI key.
Path Parameters
Resource type. One of: images, videos, audio.
Sub-action matching the resource type. For images: generations, kolors-virtual-try-on. For videos: text2video, image2video, lip-sync, effects, multi-image2video, multi-elements. For audio: text-to-audio, video-to-audio.
Task ID