Categorize images into predefined classes for tasks like object recognition, medical imaging, and security systems.
Basic usage
import Bytez from 'bytez.js' const sdk = new Bytez("BYTEZ_KEY"); const model = sdk.model("google/vit-base-patch16-224"); await model.create() const image = "https://www.padoniavets.com/sites/default/files/field/image/cats-and-dogs.jpg" const { error, output } = await model.run({ url: image }); console.log({ error, output })
url
base64