Skip to main content
The Kling Task Query endpoint lets you check the status and retrieve results for any Kling generation task. This is a shared endpoint used across all Kling models (Omni, text-to-video, image-to-video, etc.).

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

ActionDescription
text2videoText-to-video and Omni video tasks
image2videoImage-to-video tasks
generationsImage generation tasks
lip-syncLip-sync video tasks
kolors-virtual-try-onVirtual try-on image tasks

Quick example

curl https://www.anyfast.ai/kling/v1/videos/text2video/860260753860210752 \
  -H "Authorization: Bearer YOUR_API_KEY"

Response fields

FieldTypeDescription
codestringResponse code (success)
data.task_idstringTask ID
data.statusstringSUBMITTED, PROCESSING, SUCCESS, or FAILED
data.progressstringProgress percentage (e.g. 10%, 100%)
data.submit_timeintegerSubmission Unix timestamp
data.start_timeintegerProcessing start Unix timestamp
data.finish_timeintegerCompletion Unix timestamp
data.data.data.task_resultobjectContains videos or images array with download URLs

API Reference

View the interactive API playground for Kling Task Query.