查询任务(单个)

GET /kling/v1/videos/text2video/{id}

MethodGET
Path/kling/v1/videos/text2video/{id}
Typehttp
Status1
Module2102810
Folder72869254

概览

MethodGET
Path/kling/v1/videos/text2video/{id}
Typehttp
Status1
Module2102810
Folder72869254

参数

{
  "path": [
    {
      "id": "id#0",
      "name": "id",
      "required": true,
      "description": "",
      "type": "string",
      "enable": true,
      "sampleValue": "827996385395363846"
    }
  ],
  "header": [
    {
      "required": false,
      "description": "",
      "type": "string",
      "id": "0LmVqY8V3U",
      "enable": true,
      "name": "Content-Type",
      "sampleValue": "application/json"
    },
    {
      "required": false,
      "description": "",
      "type": "string",
      "id": "9wCcAKQg4C",
      "enable": true,
      "name": "Authorization",
      "sampleValue": "Bearer {{YOUR_API_KEY}}"
    }
  ]
}

请求体

{
  "type": "application/json",
  "parameters": [],
  "jsonSchema": {
    "type": "object",
    "properties": {}
  },
  "required": true,
  "mediaType": "",
  "examples": [
    {
      "mediaType": "application/json",
      "value": "// {\r\n//     \"task_id\": \"kling-v1825380683199176793\",      // 文生视频的任务ID 请求路径参数,直接将值填写在请求路径中,与external_task_id两种查询方式二选一\r\n//     \"external_task_id\": \"\",    // 文生视频的自定义任务ID 创建任务时填写的external_task_id,与task_id两种查询方式二选一\r\n// }"
    }
  ],
  "oasExtensions": ""
}

响应

[
  {
    "id": 136725355,
    "name": "成功",
    "code": 200,
    "contentType": "json",
    "jsonSchema": {
      "type": "object",
      "properties": {}
    },
    "itemSchema": {},
    "description": "",
    "mediaType": "",
    "headers": []
  }
]