Categorize videos into predefined classes for applications in video content analysis, security surveillance, and media organization
Basic usage
Send a video input URL to classify its contents
import Bytez from 'bytez.js';// insert your keyconst sdk = new Bytez('BYTEZ_KEY');// choose your modelconst model = sdk.model('ahmedabdo/video-classifier');// provide the model with inputconst input = { "url": "https://video-previews.elements.envatousercontent.com/6d07b79d-b17a-47b5-9d24-4fe984c7ca36/watermarked_preview/watermarked_preview.mp4"};// send to the modelconst { error, output } = await model.run(input);// observe the outputconsole.log({ error, output });
from bytez import Bytez# insert your keysdk = Bytez("BYTEZ_KEY")# choose your modelmodel = sdk.model("ahmedabdo/video-classifier")# provide the model with inputinput = { "url": "https://video-previews.elements.envatousercontent.com/6d07b79d-b17a-47b5-9d24-4fe984c7ca36/watermarked_preview/watermarked_preview.mp4"}# send to the modelresult = model.run(input)# observe the outputprint({"error": result.error, "output": result.output})