Get Video Upload URL

Generate presigned S3 URLs for large video file uploads

Get presigned URL for uploading large video files

post
/34/get-video-upload-url

Returns a presigned S3 URL that can be used to upload a video file directly to S3, bypassing API payload limits (useful for files larger than 6MB). After uploading to S3, the returned videoUrl can be used with the detect-video or preprocess-video endpoints. The presigned URL expires in 15 minutes and has a 200MB upload limit.

Authorizations
AuthorizationstringRequired

API key authentication for service-to-service communication.

Include your API key in the Authorization header:

Authorization: Bearer your-api-key
x-bitmind-application: oracle-api
Body
filenamestringRequired

The name of the file to upload (used to determine content type). Supported formats: mp4 (video/mp4), mov (video/quicktime), avi (video/x-msvideo), webm (video/webm). If extension is not recognized, defaults to video/mp4.

contentTypestringOptional

(Optional) The content type of the file, if known. If not provided, it will be inferred from the filename extension. Common types: video/mp4, video/quicktime, video/x-msvideo, video/webm.

Responses
chevron-right
200

Successful response

application/json
urlstringOptional

The presigned URL to which the file should be uploaded

fileKeystringOptional

The S3 key for the uploaded file

videoUrlstringOptional

The URL to use in the 'video' field of detect-video or preprocess-video endpoints

post
/34/get-video-upload-url

Last updated