Skip to main content
POST
video-classification

Authorizations

Authorization
string
header
required

Set Authorization header to BYTEZ_KEY 'Authorization: YOUR_BYTEZ_KEY_HERE'

Body

application/json

Schema for video-classification models

url
string
required
Example:

"https://cdn.bytez.com/model/example/meditate.mp4"

base64
string
Example:

"data:video/mp4;base64,...BASE_64_GOES_HERE (Only use this is you are not using a url)"

Response

Successful video-classification response.

error
string | null
required

Null on success; otherwise an error message.

output
array
required

Successful response with video-classification scores and labels

Example: