Run in Apifox
Currently, only mp4, mov, png, jpg, jpeg, bmp, webp, mp3, wav, and m4a are supported. There are two upload methods: form-data and json.Price: 0 PTC/time
Request
Example: Bearer {{YOUR_API_KEY}}
Body Params application/json
{
"file" : "https://file.302.ai/gpt/imgs/20250708/061cefcbd922407498412b4c32ef8a08.mp4"
}
Request samples curl --location --request POST 'https://api.302.ai/topview/upload' \
--header 'Content-Type: application/json' \
--data-raw '{
"file": "https://file.302.ai/gpt/imgs/20250708/061cefcbd922407498412b4c32ef8a08.mp4"
}'
Responses application/json Generate Code
If result is false, it means the generation has failed.
{
"fileId" : "8d745437254941adb141f95836d9454c" ,
"result" : true
}
Modified at 2025-07-10 10:34:11