返回模型调用 API 参考
GET/tencent-vod/v1/query/{task_id}

获取请求结果

API Key none

请求示例

curl https://top.qingyuntop.ai/tencent-vod/v1/query/{task_id} \
  -H "Authorization: Bearer ${QINGYUN_TOP_API_KEY}"

请求参数

参数位置类型必填说明示例
task_idPathstring--
AuthorizationHeaderstring-Bearer {{YOUR_API_KEY}}

返回响应 (200)

此部分没有定义参数。

响应示例

{
    "Response": {
        "Status": "FINISH",
        "TaskType": "AigcImageTask",
        "RequestId": "12082802-fe37-410e-ae20-0cf14e91e018",
        "CreateTime": "2025-12-29T12:03:30Z",
        "FinishTime": "2025-12-29T12:03:43Z",
        "AigcImageTask": {
            "Input": {
                "Prompt": "pig",
                "ModelName": "GEM",
                "ModelVersion": "2.5",
                "OutputConfig": {
                    "StorageMode": "Temporary"
                },
                "EnhancePrompt": "Enabled",
                "NegativePrompt": "blur, distorted"
            },
            "Output": {
                "FileInfos": [
                    {
                        "FileUrl": "http://251000800.vod2.myqcloud.com/1a168d62vodcq251000800/ef0aa3215145403710877804273/aigcImageGenFile.png",
                        "ExpireTime": "2026-01-05T12:03:57Z",
                        "StorageMode": "Temporary"
                    }
                ]
            },
            "Status": "FINISH",
            "TaskId": "1392336703-AigcImageTask-47965947a83db42af4b1e3a74c243531t",
            "Progress": 100
        },
        "BeginProcessTime": "2025-12-29T12:03:30Z"
    }
}
来源原始接口定义(用于追溯)

以下内容来自 Apifox 快照,可能包含兼容层字段或旧示例;公开调用请以本页的协议说明和当前模型列表为准。

{
  "id": 497673350,
  "name": "获取请求结果 ",
  "type": "http",
  "serverId": "",
  "preProcessors": [],
  "postProcessors": [],
  "inheritPreProcessors": {},
  "inheritPostProcessors": {},
  "description": "",
  "operationId": "",
  "sourceUrl": "",
  "method": "get",
  "path": "/tencent-vod/v1/query/{task_id}",
  "tags": [],
  "status": 1,
  "requestBody": {
    "type": "none",
    "parameters": [],
    "examples": [],
    "mediaType": "",
    "oasExtensions": "",
    "required": false,
    "additionalContentTypes": []
  },
  "parameters": {
    "path": [
      {
        "id": "task_id#0",
        "name": "task_id",
        "required": true,
        "enable": true,
        "description": "",
        "type": "string"
      }
    ],
    "query": [],
    "cookie": [],
    "header": [
      {
        "id": "DD1kcqv6PF",
        "name": "Authorization",
        "required": false,
        "enable": true,
        "description": "",
        "type": "string",
        "sampleValue": "Bearer {{YOUR_API_KEY}}"
      }
    ]
  },
  "commonParameters": {
    "query": [],
    "body": [],
    "cookie": [],
    "header": []
  },
  "auth": {
    "type": "inherit",
    "inherit": {}
  },
  "responses": [
    {
      "id": 105842872,
      "name": "成功",
      "code": 200,
      "contentType": "json",
      "jsonSchema": {
        "type": "object",
        "properties": {},
        "x-apifox-orders": []
      },
      "itemSchema": {},
      "description": "",
      "mediaType": "",
      "headers": [],
      "oasExtensions": ""
    }
  ],
  "responseExamples": [
    {
      "name": "成功示例",
      "responseId": 105842872,
      "data": "{\r\n    \"Response\": {\r\n        \"Status\": \"FINISH\",\r\n        \"TaskType\": \"AigcImageTask\",\r\n        \"RequestId\": \"12082802-fe37-410e-ae20-0cf14e91e018\",\r\n        \"CreateTime\": \"2025-12-29T12:03:30Z\",\r\n        \"FinishTime\": \"2025-12-29T12:03:43Z\",\r\n        \"AigcImageTask\": {\r\n            \"Input\": {\r\n                \"Prompt\": \"pig\",\r\n                \"ModelName\": \"GEM\",\r\n                \"ModelVersion\": \"2.5\",\r\n                \"OutputConfig\": {\r\n                    \"StorageMode\": \"Temporary\"\r\n                },\r\n                \"EnhancePrompt\": \"Enabled\",\r\n                \"NegativePrompt\": \"blur, distorted\"\r\n            },\r\n            \"Output\": {\r\n                \"FileInfos\": [\r\n                    {\r\n                        \"FileUrl\": \"http://251000800.vod2.myqcloud.com/1a168d62vodcq251000800/ef0aa3215145403710877804273/aigcImageGenFile.png\",\r\n                        \"ExpireTime\": \"2026-01-05T12:03:57Z\",\r\n                        \"StorageMode\": \"Temporary\"\r\n                    }\r\n                ]\r\n            },\r\n            \"Status\": \"FINISH\",\r\n            \"TaskId\": \"1392336703-AigcImageTask-47965947a83db42af4b1e3a74c243531t\",\r\n            \"Progress\": 100\r\n        },\r\n        \"BeginProcessTime\": \"2025-12-29T12:03:30Z\"\r\n    }\r\n}",
      "description": "",
      "oasKey": "",
      "oasExtensions": "",
      "id": "019fd25e-4be6-7169-93b6-ef196c7f691a"
    }
  ],
  "codeSamples": [],
  "projectId": 8662722,
  "moduleId": 8310462,
  "folderId": 92436114,
  "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": ""
}