Answer questions based on image content for applications like interactive learning, accessibility features, and content analysis
Basic usage
import Bytez from 'bytez.js' const sdk = new Bytez("BYTEZ_KEY"); const model = sdk.model("Salesforce/blip-vqa-base"); await model.create() const { error, output } = await model.run({ question: "What kind of animal is this?", image: "https://ocean.si.edu/sites/default/files/styles/3_2_largest/public/2023-11/Screen_Shot_2018-04-16_at_1_42_56_PM.png.webp?itok=Icvi-ek9" }); console.log({ error, output })
url
base64