camenduru / moe-llava
MoE-LLaVA
Run camenduru/moe-llava 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 camenduru/moe-llava 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 = {
input_image: "https://replicate.delivery/pbxt/KKwRwdjnYkfeOPaYS4grNRxN11dhO31QUwFNdhcAibey34cC/EICar.jpg"
};
const output = await replicate.run("camenduru/moe-llava:89fdc330e9ec99dd986e132609a042a040d5d2103749765df45b99c5fe540138", { input });
console.log(output)
//=> "The unusual aspect of this image is that a man is standi...