Use this file to discover all available pages before exploring further.
Basic usage
Send an image URL and a set of candidate labels to receive classification results
import Bytez from 'bytez.js';// insert your keyconst sdk = new Bytez('BYTEZ_KEY');// choose your modelconst model = sdk.model('BilelDJ/clip-hugging-face-finetuned');// provide the model with inputconst input = { "url": "https://as1.ftcdn.net/v2/jpg/03/03/55/82/1000_F_303558268_YNUQp9NNMTE0X4zrj314mbWcDHd1pZPD.jpg", "candidate_labels": [ "squid", "octopus", "human", "cat" ]};// send to the modelconst { error, output } = await model.run(input);// observe the outputconsole.log({ error, output });