查询任务(单个)
GET
/kling/v1/{action}/{action2}/{task_id}请求参数
Path 参数
action
string
必需
images或videos
action2
string
必需
generations(文生图)、text2video、image2video
task_id
string
任务ID
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
object {0}
示例
{
"code": 0,
"message": "string",
"request_id": "string",
"data": {
"task_id": "string",
"task_status": "string",
"task_status_msg": "string",
"created_at": 1722769557708,
"updated_at": 1722769557708,
"task_result": {
"videos": [
{
"id": "string",
"url": "string",
"duration": "string"
}
]
}
}
}
最后修改时间: 4 个月前