Skip to main content
GET
/
kling
/
v1
/
videos
/
omni-video
/
{task_id}
Omni Query
curl --request GET \
  --url https://api.cometapi.com/kling/v1/videos/omni-video/{task_id} \
  --header 'Authorization: Bearer <token>'
{}
Use this endpoint after you create a Kling Omni task. It returns the wrapper task state, nested provider payload, and final video URLs when the task succeeds.

Check these fields first

  • Outer code and message for wrapper-level state
  • data.status and data.progress for the async job state
  • data.data.task_result.videos[0].url for the finished MP4 URL

Polling pattern

1

Create the task first

Start with Omni Video and store the returned task_id.
2

Poll until the task is terminal

Keep querying until the outer status reaches SUCCESS or FAILURE.
3

Use the returned MP4 URL

When the task succeeds, download or copy the final video URL promptly.
Live validation on 2026-03-12 returned action: OMNI_VIDEO, outer status: SUCCESS, nested task_status: succeed, and a final MP4 URL.

Authorizations

Authorization
string
header
required

Bearer token authentication. Use your CometAPI key.

Path Parameters

task_id
string
required

Task id returned by the Omni Video endpoint.

Response

200 - application/json

成功

The response is of type object.