Key points
- Universal query — Works for all Kling task types: video, image, lip-sync, virtual try-on
- Async workflow — Create a task first, then poll this endpoint until completion
- Action parameter — Must match the task type of the original creation request
- Progress tracking — Returns progress percentage and status updates
Action types
| Action | Description |
|---|---|
text2video | Text-to-video and Omni video tasks |
image2video | Image-to-video tasks |
generations | Image generation tasks |
lip-sync | Lip-sync video tasks |
kolors-virtual-try-on | Virtual try-on image tasks |
Quick example
Response fields
| Field | Type | Description |
|---|---|---|
code | string | Response code (success) |
data.task_id | string | Task ID |
data.status | string | SUBMITTED, PROCESSING, SUCCESS, or FAILED |
data.progress | string | Progress percentage (e.g. 10%, 100%) |
data.submit_time | integer | Submission Unix timestamp |
data.start_time | integer | Processing start Unix timestamp |
data.finish_time | integer | Completion Unix timestamp |
data.data.data.task_result | object | Contains videos or images array with download URLs |
API Reference
View the interactive API playground for Kling Task Query.