lucataco/blip3-phi3-mini-instruct-r-v1

BLIP3(XGen-MM) is a series of foundational Large Multimodal Models (LMMs) developed by Salesforce AI Research
Run lucataco/blip3-phi3-mini-instruct-r-v1 with an API
Use one of our client libraries to get started quickly.
Set the REPLICATE_API_TOKEN
environment variable
export REPLICATE_API_TOKEN=<paste-your-token-here>
Learn more about authentication
Install Replicate’s Node.js client library
npm install replicate
Run lucataco/blip3-phi3-mini-instruct-r-v1 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
import Replicate from "replicate";
const replicate = new Replicate();
const input = {
image: "https://replicate.delivery/pbxt/KtacIzXNav6KQBhoK4XorduzIZpxPWLjnMgayp07TPS0oS6T/blip-demo.jpg"
};
const output = await replicate.run("lucataco/blip3-phi3-mini-instruct-r-v1:01188b5c7796f5cbd4a301135932d5294fe10bd75fdca9520e7e92fd4b73321d", { input });
console.log(output)
//=> "There is one dog in the picture. "