Generate textual descriptions from images for tasks like image captioning, content generation, and accessibility features.
Basic usage
import Bytez from 'bytez.js' const sdk = new Bytez("BYTEZ_KEY"); const model = sdk.model("Salesforce/blip-image-captioning-base"); await model.create() const image = "https://as1.ftcdn.net/v2/jpg/03/03/55/82/1000_F_303558268_YNUQp9NNMTE0X4zrj314mbWcDHd1pZPD.jpg" const { error, output } = await model.run({ url: image }); console.log({ error, output })
url
base64