查询视频

GET /kling/text-to-video/kling-3.0-turbo/{task_id}

MethodGET
Path/kling/text-to-video/kling-3.0-turbo/{task_id}
Typehttp
Status-2
Module2102810
Folder89080955

说明

| 路径 | GET /kling/text-to-video/kling-3.0-turbo/{task_id} | | 前置条件 | {{task_id}} 从提交响应的 data.id 获取 | | 说明 | 图生视频改路径为 /kling/image-to-video/kling-3.0-turbo/{{task_id}} |

概览

MethodGET
Path/kling/text-to-video/kling-3.0-turbo/{task_id}
Typehttp
Status-2
Module2102810
Folder89080955

参数

{
  "path": [
    {
      "id": "task_id#0",
      "name": "task_id",
      "required": true,
      "description": "",
      "type": "string",
      "enable": true
    }
  ],
  "header": [
    {
      "required": false,
      "description": "",
      "type": "string",
      "id": "0zolXD2tYN",
      "enable": false,
      "name": "Content-Type",
      "sampleValue": "application/json"
    },
    {
      "required": false,
      "description": "",
      "type": "string",
      "id": "C6mvVTaExj",
      "enable": false,
      "name": "Accept",
      "sampleValue": "application/json"
    },
    {
      "required": false,
      "description": "",
      "type": "string",
      "id": "VAw6fbIG07",
      "enable": true,
      "name": "Authorization",
      "sampleValue": "Bearer {{YOUR_API_KEY}}"
    }
  ]
}

请求体

{
  "type": "none",
  "parameters": [],
  "required": true,
  "mediaType": "",
  "examples": [],
  "oasExtensions": ""
}

响应

[
  {
    "id": 128724323,
    "name": "成功",
    "code": 200,
    "contentType": "json",
    "jsonSchema": {
      "code": 0,
      "data": {
        "id": "task-xxxxxx",
        "status": "succeed",
        "task_result": {
          "videos": [
            {
              "url": "https://cdn.example.com/output.mp4"
            }
          ]
        }
      },
      "type": "string"
    },
    "itemSchema": {},
    "description": "",
    "mediaType": "",
    "headers": []
  }
]