Bamboo Relay
AI 模型接口视频(Videos)可灵格式

获取 Kling 文生视频任务状态

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

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

认证

BearerAuth
AuthorizationBearer <token>

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

In: header

路径参数

task_id*string

任务 ID

响应体

application/json

application/json

curl -X GET "https://example.com/kling/v1/videos/text2video/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"  }}