The video generates the file ID for the asynchronous task, and the result must be retrieved using this ID through the query interface.
Header Params
Authorization
string
optional
Example:
Bearer {{YOUR_API_KEY}}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request GET 'https://api.302.ai/minimaxi/v1/files/retrieve?file_id=' \
--header'Authorization: Bearer sk-jls4AaVBGoe1GwZD64qZA1qyKTN1MPHa4NmvH1cT68z7K1Zz'
Responses
🟢200Success
application/json
Body
task_id
string
required
base_resp
object
required
status_code
integer
required
0,Request successful 1002,Rate limit triggered, please try again later 1004,Account authentication failed, please check if the API-Key is correct 1027,The generated video involves sensitive content