跳转到主要内容
GET
Poll Kling tasks submitted on the native pass-through.

授权

Authorization
string
header
必填

Bearer token authentication. Normally a Firebase or Cloud JWT. A 'comfyui-' prefixed API key is also accepted in this header: the prefix classifies the value as an API key and it is validated exactly as if it had been sent in X-API-Key.

查询参数

task_ids
string
必填

Task IDs (data.id) returned by the native submit, separated by ",".

响应

OK - the task query response, in Kling's own shape.

Response returned when querying Kling v2 tasks by ID.

code
integer

Error code. 0 indicates success.

message
string

Error message.

request_id
string

Request ID generated by the system.

data
object[]

Tasks matching the query.