v1

latestOpenAPI 3.0.32026-07-26451985.7 KB

video-classification

Categorize videos into predefined classes for applications in video content analysis, security surveillance, and media organization

post/models/v2/ahmedabdo/video-classifier

Request body

urlstring required
base64string

Example request

{
  "url": "https://cdn.bytez.com/model/example/meditate.mp4",
  "base64": "data:video/mp4;base64,...BASE_64_GOES_HERE (Only use this is you are not using a url)"
}

Response

Successful video-classification response.

errorstring nullable required

Null on success; otherwise an error message.

Example response

{
  "output": [
    {
      "score": 0.635999858379364,
      "label": "LABEL_0"
    },
    {
      "score": 0.364000141620636,
      "label": "LABEL_1"
    }
  ]
}