返回模型调用 API 参考
GET/minimax/v1/files/retrieve

检索(用于视频下载,异步音频下载)

API Key none

请求示例

curl https://top.qingyuntop.ai/minimax/v1/files/retrieve \
  -H "Authorization: Bearer ${QINGYUN_TOP_API_KEY}"

请求参数

参数位置类型必填说明示例
file_idQuerystring文件的唯一标识符。通过查询视频生成任务状态接口成功后返回的 file_id 获得-

返回响应 (200)

参数位置类型必填说明示例
file响应 JSONobject--
file.file_id响应 JSONstring--
file.bytes响应 JSONinteger--
file.created_at响应 JSONinteger--
file.filename响应 JSONstring--
file.purpose响应 JSONstring--
file.download_url响应 JSONstring--
base_resp响应 JSONobject--
base_resp.status_code响应 JSONinteger--
base_resp.status_msg响应 JSONstring--

响应示例

{
  "file": {
    "file_id": "${file_id}",
    "bytes": 0,
    "created_at": 1700469398,
    "filename": "output_aigc.mp4",
    "purpose": "video_generation",
    "download_url": "www.downloadurl.com"
  },
  "base_resp": {
    "status_code": 0,
    "status_msg": "success"
  }
}
来源原始接口定义(用于追溯)

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

{
  "id": 495899872,
  "name": "检索(用于视频下载,异步音频下载)",
  "type": "http",
  "serverId": "",
  "preProcessors": [],
  "postProcessors": [],
  "inheritPreProcessors": {},
  "inheritPostProcessors": {},
  "description": "",
  "operationId": "",
  "sourceUrl": "",
  "method": "get",
  "path": "/minimax/v1/files/retrieve",
  "tags": [],
  "status": -2,
  "requestBody": {
    "type": "none",
    "parameters": [],
    "examples": [],
    "mediaType": "",
    "oasExtensions": "",
    "required": true,
    "additionalContentTypes": []
  },
  "parameters": {
    "path": [],
    "query": [
      {
        "id": "YS6K2lMmza",
        "name": "file_id",
        "required": false,
        "enable": true,
        "description": "文件的唯一标识符。通过查询视频生成任务状态接口成功后返回的 file_id 获得",
        "type": "string"
      }
    ],
    "cookie": [],
    "header": []
  },
  "commonParameters": {
    "query": [],
    "body": [],
    "cookie": [],
    "header": []
  },
  "auth": {},
  "responses": [
    {
      "id": 191848595,
      "name": "成功",
      "code": 200,
      "contentType": "json",
      "jsonSchema": {
        "type": "object",
        "properties": {
          "file": {
            "type": "object",
            "properties": {
              "file_id": {
                "type": "string"
              },
              "bytes": {
                "type": "integer"
              },
              "created_at": {
                "type": "integer"
              },
              "filename": {
                "type": "string"
              },
              "purpose": {
                "type": "string"
              },
              "download_url": {
                "type": "string"
              }
            },
            "required": [
              "file_id",
              "bytes",
              "created_at",
              "filename",
              "purpose",
              "download_url"
            ],
            "x-apifox-orders": [
              "file_id",
              "bytes",
              "created_at",
              "filename",
              "purpose",
              "download_url"
            ]
          },
          "base_resp": {
            "type": "object",
            "properties": {
              "status_code": {
                "type": "integer"
              },
              "status_msg": {
                "type": "string"
              }
            },
            "required": [
              "status_code",
              "status_msg"
            ],
            "x-apifox-orders": [
              "status_code",
              "status_msg"
            ]
          }
        },
        "required": [
          "file",
          "base_resp"
        ],
        "x-apifox-orders": [
          "file",
          "base_resp"
        ]
      },
      "itemSchema": {},
      "description": "",
      "mediaType": "",
      "headers": []
    }
  ],
  "responseExamples": [
    {
      "name": "成功示例",
      "responseId": 191848595,
      "data": "{\r\n  \"file\": {\r\n    \"file_id\": \"${file_id}\",\r\n    \"bytes\": 0,\r\n    \"created_at\": 1700469398,\r\n    \"filename\": \"output_aigc.mp4\",\r\n    \"purpose\": \"video_generation\",\r\n    \"download_url\": \"www.downloadurl.com\"\r\n  },\r\n  \"base_resp\": {\r\n    \"status_code\": 0,\r\n    \"status_msg\": \"success\"\r\n  }\r\n}",
      "description": "",
      "oasKey": "",
      "oasExtensions": "",
      "id": "019fc09b-0b2f-716a-a485-672d1523290f"
    }
  ],
  "codeSamples": [],
  "projectId": 8662722,
  "moduleId": 8310462,
  "folderId": 92436087,
  "ordering": 48,
  "responsibleId": 0,
  "commonResponseStatus": {},
  "advancedSettings": {
    "disabledSystemHeaders": {}
  },
  "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": [],
  "visibility": "INHERITED",
  "securityScheme": {},
  "callbacks": ""
}