QueryTask(Free)

No Description

Endpoint

GET http://v98store.com/kling/v1/{action}/{action2}/{task_id}

cURL Command

curl -X GET 'http://v98store.com/kling/v1/{action}/{action2}/{task_id}' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN'

Parameters

NameInDescriptionRequired
actionpathimages or videos Yes
action2pathgenerations (images), text2video (videos), image2video (videos), lip-sync (videos), kolors-virtual-try-on (images) Yes
task_idpath任务ID Yes
Content-TypeheaderYes
AcceptheaderYes
AuthorizationheaderYes

Request Body

Responses

200 -

Example

{
  "code": 0,
  "data": {
    "task_id": "CjMT7WdSwWcAAAAAALvB3g",
    "created_at": 1733851336696,
    "updated_at": 1733851344553,
    "task_result": {
      "images": [
        {
          "id": "",
          "url": "https://cdn.klingai.com/bs2/upload-kling-api/0923471513/image/CjMT7WdSwWcAAAAAALvB3g-0_raw_image_0.png"
        }
      ]
    },
    "task_status": "succeed",
    "task_status_msg": ""
  },
  "message": "SUCCEED",
  "request_id": "CjNTkGdSwxYAAAAAALud5A"
}