TenZenTenzen AI
API 参考AI 模型接口视频(Videos)可灵格式

获取 Kling 图生视频任务状态

查询 Kling 图生视频任务的状态和结果。

GET/kling/v1/videos/image2video/{task_id}

以下为根据 OpenAPI Schema 自动生成的模拟请求参数,用于对照下方参数说明与右侧示例;不会发起真实请求。

{
  "method": "GET",
  "url": "https://api.tenzen.ai/kling/v1/videos/image2video/string",
  "headers": {}
}

Authorization

BearerAuth

AuthorizationBearer <token>

使用 Bearer Token 认证。 格式: Authorization: Bearer sk-xxxxxx

In: header

Path Parameters

task_id*string

任务 ID

Response Body

application/json

application/json

curl -X GET "https://api.tenzen.ai/kling/v1/videos/image2video/string"
{
  "task_id": "abcd1234efgh",
  "status": "completed",
  "url": "https://example.com/video.mp4",
  "format": "mp4",
  "metadata": {
    "duration": 5,
    "fps": 30,
    "width": 1280,
    "height": 720,
    "seed": 20231234
  },
  "error": {
    "code": 0,
    "message": "string"
  }
}
{
  "error": {
    "message": "string",
    "type": "string",
    "param": "string",
    "code": "string"
  }
}