返回模型调用 API 参考
GET/runwayml/v1/tasks/{task_id}

查询视频任务(免费)

API Key none

请求示例

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

请求参数

参数位置类型必填说明示例
task_idPathstring任务id2f19d8a7-3b74-4fc4-af42-d0bcadbaec54
Content-TypeHeaderstring-application/json
AcceptHeaderstring-application/json
AuthorizationHeaderstring-Bearer {{YOUR_API_KEY}}
user_promptJSON bodystring必传,用户输入的提示词/问题描述-
expand_promptJSON bodyboolean可选,提示词优化开关-
loopJSON bodyboolean可选,是否循环使用参考图-
image_urlJSON bodystring可选,参考图片来源-
image_end_urlJSON bodystring可选,目标关键帧图片-
notify_hookJSON bodystring可选,处理完成后的回调通知地址-

返回响应 (200)

参数位置类型必填说明示例
code响应 JSONinteger--
message响应 JSONstring--
request_id响应 JSONstring--
data响应 JSONobject--
data.task_id响应 JSONstring--
data.task_status响应 JSONstring--
data.created_at响应 JSONinteger--
data.updated_at响应 JSONinteger--

响应示例

{
    "id": "4665a07c-7641-4809-a133-10786201bb56",
    "prompt": "",
    "state": "pending",
    "queue_state": null,
    "created_at": "2024-12-22T13:38:40.139409Z",
    "batch_id": "",
    "video": null,
    "video_raw": null,
    "liked": null,
    "estimate_wait_seconds": null,
    "thumbnail": null,
    "last_frame": null
}
来源原始接口定义(用于追溯)

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

{
  "id": 495899707,
  "name": "查询视频任务(免费)",
  "type": "http",
  "serverId": "",
  "preProcessors": [],
  "postProcessors": [],
  "inheritPreProcessors": {},
  "inheritPostProcessors": {},
  "description": "",
  "operationId": "",
  "sourceUrl": "",
  "method": "get",
  "path": "/runwayml/v1/tasks/{task_id}",
  "tags": [],
  "status": 1,
  "requestBody": {
    "type": "none",
    "parameters": [],
    "jsonSchema": {
      "type": "object",
      "properties": {
        "user_prompt": {
          "description": "必传,用户输入的提示词/问题描述",
          "type": "string"
        },
        "expand_prompt": {
          "description": "可选,提示词优化开关",
          "type": "boolean"
        },
        "loop": {
          "description": "可选,是否循环使用参考图",
          "type": "boolean"
        },
        "image_url": {
          "description": "可选,参考图片来源",
          "type": "string"
        },
        "image_end_url": {
          "description": "可选,目标关键帧图片",
          "type": "string"
        },
        "notify_hook": {
          "description": "可选,处理完成后的回调通知地址",
          "type": "string"
        }
      },
      "required": [
        "user_prompt",
        "expand_prompt",
        "loop",
        "image_url",
        "image_end_url",
        "notify_hook"
      ],
      "x-apifox-orders": [
        "user_prompt",
        "expand_prompt",
        "loop",
        "image_url",
        "image_end_url",
        "notify_hook"
      ]
    },
    "examples": [
      {
        "value": "",
        "mediaType": "none",
        "description": ""
      }
    ],
    "mediaType": "",
    "oasExtensions": "",
    "required": false,
    "additionalContentTypes": []
  },
  "parameters": {
    "path": [
      {
        "id": "task_id#0",
        "name": "task_id",
        "required": true,
        "enable": true,
        "description": "任务id",
        "type": "string",
        "sampleValue": "2f19d8a7-3b74-4fc4-af42-d0bcadbaec54"
      }
    ],
    "query": [],
    "cookie": [],
    "header": [
      {
        "id": "NQs7bxnpZf",
        "name": "Content-Type",
        "required": true,
        "enable": true,
        "description": "",
        "type": "string",
        "sampleValue": "application/json"
      },
      {
        "id": "qb8tEQbCty",
        "name": "Accept",
        "required": true,
        "enable": true,
        "description": "",
        "type": "string",
        "sampleValue": "application/json"
      },
      {
        "id": "gBxcCbXhsa",
        "name": "Authorization",
        "required": true,
        "enable": true,
        "description": "",
        "type": "string",
        "sampleValue": "Bearer {{YOUR_API_KEY}}"
      }
    ]
  },
  "commonParameters": {
    "query": [],
    "body": [],
    "cookie": [],
    "header": []
  },
  "auth": {},
  "responses": [
    {
      "id": 100100745,
      "name": "成功",
      "code": 200,
      "contentType": "json",
      "jsonSchema": {
        "type": "object",
        "properties": {
          "code": {
            "type": "integer"
          },
          "message": {
            "type": "string"
          },
          "request_id": {
            "type": "string"
          },
          "data": {
            "type": "object",
            "properties": {
              "task_id": {
                "type": "string"
              },
              "task_status": {
                "type": "string"
              },
              "created_at": {
                "type": "integer"
              },
              "updated_at": {
                "type": "integer"
              }
            },
            "required": [
              "task_id",
              "task_status",
              "created_at",
              "updated_at"
            ],
            "x-apifox-orders": [
              "task_id",
              "task_status",
              "created_at",
              "updated_at"
            ]
          }
        },
        "required": [
          "code",
          "message",
          "request_id",
          "data"
        ],
        "x-apifox-orders": [
          "code",
          "message",
          "request_id",
          "data"
        ]
      },
      "itemSchema": {},
      "description": "",
      "mediaType": "",
      "headers": [],
      "oasExtensions": ""
    }
  ],
  "responseExamples": [
    {
      "name": "成功示例",
      "responseId": 100100745,
      "data": "{\r\n    \"id\": \"4665a07c-7641-4809-a133-10786201bb56\",\r\n    \"prompt\": \"\",\r\n    \"state\": \"pending\",\r\n    \"queue_state\": null,\r\n    \"created_at\": \"2024-12-22T13:38:40.139409Z\",\r\n    \"batch_id\": \"\",\r\n    \"video\": null,\r\n    \"video_raw\": null,\r\n    \"liked\": null,\r\n    \"estimate_wait_seconds\": null,\r\n    \"thumbnail\": null,\r\n    \"last_frame\": null\r\n}",
      "description": "",
      "oasKey": "",
      "oasExtensions": "",
      "id": "019fc09b-0b1d-71aa-a555-db55c688c6cc"
    }
  ],
  "codeSamples": [],
  "projectId": 8662722,
  "moduleId": 8310462,
  "folderId": 92436120,
  "ordering": 6,
  "responsibleId": 0,
  "commonResponseStatus": {},
  "advancedSettings": {
    "disabledSystemHeaders": {},
    "isDefaultUrlEncoding": 1
  },
  "customApiFields": {},
  "oasExtensions": "",
  "mockScript": {},
  "createdAt": "2026-08-02T03:53:34.000Z",
  "updatedAt": "2026-08-06T12:15:55.000Z",
  "creatorId": 2863449,
  "editorId": 2863449,
  "creatorUserId": 2863449,
  "editorUserId": 2863449,
  "responseChildren": [
    "BLANK.100100745"
  ],
  "visibility": "INHERITED",
  "securityScheme": {},
  "callbacks": ""
}