🎉 Coding Plan: Empowering developers ➔ Subscribe Now.
cURL
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" } }
Use this API to download generated videos.
HTTP: Bearer Auth
Bearer API_key
The unique identifier for the file. Supports file_id obtained from video generation and asynchronous speech synthesis tasks.
file_id
Show child attributes
The unique identifier for the file.
The size of the file in bytes.
The Unix timestamp (in seconds) when the file was created.
The name of the file.
The purpose of the file.
The URL address for downloading the file.
The status codes are as follows:
For more information, please refer to the Error Code Reference.
Status details.
Was this page helpful?