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_id | Query | string | 否 | 文件的唯一标识符。通过查询视频生成任务状态接口成功后返回的 file_id 获得 | - |
返回响应 (200)
| 参数 | 位置 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|---|
file | 响应 JSON | object | 是 | - | - |
file.file_id | 响应 JSON | string | 是 | - | - |
file.bytes | 响应 JSON | integer | 是 | - | - |
file.created_at | 响应 JSON | integer | 是 | - | - |
file.filename | 响应 JSON | string | 是 | - | - |
file.purpose | 响应 JSON | string | 是 | - | - |
file.download_url | 响应 JSON | string | 是 | - | - |
base_resp | 响应 JSON | object | 是 | - | - |
base_resp.status_code | 响应 JSON | integer | 是 | - | - |
base_resp.status_msg | 响应 JSON | string | 是 | - | - |
响应示例
{
"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": ""
}