GET
/kling/v1/videos/text2video/{id}查询任务(单个)
API Key application/json
请求示例
curl https://top.qingyuntop.ai/kling/v1/videos/text2video/{id} \
-H "Authorization: Bearer ${QINGYUN_TOP_API_KEY}" \
-H "Content-Type: application/json" \
-d '// {
// "task_id": "kling-v1825380683199176793", // 文生视频的任务ID 请求路径参数,直接将值填写在请求路径中,与external_task_id两种查询方式二选一
// "external_task_id": "", // 文生视频的自定义任务ID 创建任务时填写的external_task_id,与task_id两种查询方式二选一
// }'请求参数
| 参数 | 位置 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|---|
id | Path | string | 是 | - | 827996385395363846 |
Content-Type | Header | string | 否 | - | application/json |
Authorization | Header | string | 否 | - | Bearer {{YOUR_API_KEY}} |
返回响应 (200)
此部分没有定义参数。
来源原始接口定义(用于追溯)
以下内容来自 Apifox 快照,可能包含兼容层字段或旧示例;公开调用请以本页的协议说明和当前模型列表为准。
{
"id": 497673374,
"name": "查询任务(单个)",
"type": "http",
"serverId": "",
"preProcessors": [],
"postProcessors": [],
"inheritPreProcessors": {},
"inheritPostProcessors": {},
"description": "",
"operationId": "",
"sourceUrl": "",
"method": "get",
"path": "/kling/v1/videos/text2video/{id}",
"tags": [],
"status": 1,
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {},
"x-apifox-orders": []
},
"examples": [
{
"mediaType": "application/json",
"value": "// {\r\n// \"task_id\": \"kling-v1825380683199176793\", // 文生视频的任务ID 请求路径参数,直接将值填写在请求路径中,与external_task_id两种查询方式二选一\r\n// \"external_task_id\": \"\", // 文生视频的自定义任务ID 创建任务时填写的external_task_id,与task_id两种查询方式二选一\r\n// }"
}
],
"mediaType": "",
"oasExtensions": "",
"required": true,
"additionalContentTypes": []
},
"parameters": {
"path": [
{
"id": "id#0",
"name": "id",
"required": true,
"enable": true,
"description": "",
"type": "string",
"sampleValue": "827996385395363846"
}
],
"query": [],
"cookie": [],
"header": [
{
"id": "0LmVqY8V3U",
"name": "Content-Type",
"required": false,
"enable": true,
"description": "",
"type": "string",
"sampleValue": "application/json"
},
{
"id": "9wCcAKQg4C",
"name": "Authorization",
"required": false,
"enable": true,
"description": "",
"type": "string",
"sampleValue": "Bearer {{YOUR_API_KEY}}"
}
]
},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"auth": {},
"responses": [
{
"id": 125765188,
"name": "成功",
"code": 200,
"contentType": "json",
"jsonSchema": {
"type": "object",
"properties": {},
"x-apifox-orders": []
},
"itemSchema": {},
"description": "",
"mediaType": "",
"headers": []
}
],
"responseExamples": [],
"codeSamples": [],
"projectId": 8662722,
"moduleId": 8310462,
"folderId": 92436139,
"ordering": 6,
"responsibleId": 0,
"commonResponseStatus": {},
"advancedSettings": {
"disabledSystemHeaders": {}
},
"customApiFields": {},
"oasExtensions": "",
"mockScript": {},
"createdAt": "2026-08-05T14:40:23.000Z",
"updatedAt": "2026-08-06T12:15:55.000Z",
"creatorId": 2863449,
"editorId": 2863449,
"creatorUserId": 2863449,
"editorUserId": 2863449,
"responseChildren": [],
"visibility": "INHERITED",
"securityScheme": {},
"callbacks": ""
}