Skip to main content
GET
/
v1
/
files
/
retrieve
Retrieve File
curl --request GET \
  --url https://api.minimax.io/v1/files/retrieve \
  --header 'Authorization: Bearer <token>'
{
  "file": {
    "file_id": "${file_id}",
    "bytes": 5896337,
    "created_at": 1700469398,
    "filename": "output_aigc.mp4",
    "purpose": "video_generation",
    "download_url": "www.downloadurl.com"
  },
  "base_resp": {
    "status_code": 0,
    "status_msg": "success"
  }
}

Authorizations

Authorization
string
header
required

HTTP: Bearer Auth

Query Parameters

file_id
integer
required

The unique identifier for the file. Supports file_id obtained from video generation and asynchronous speech synthesis tasks.

Response

200 - application/json
file
object
base_resp
object