現在サポートされているのは mp4、mov、png、jpg、jpeg、bmp、webp、mp3、wav、m4a のみです。
アップロード方法は2種類あり、form-data と json があります。
価格:0 PTC/回
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 resultがfalseの場合、生成に失敗しました
{
"fileId": "8d745437254941adb141f95836d9454c",
"result": true
}
Modified at 2025-07-10 10:36:22