zsxkib
/
jina-clip-v2
Jina-CLIP v2: 0.9B multimodal embedding model with 89-language multilingual support, 512x512 image resolution, and Matryoshka representations
Run zsxkib/jina-clip-v2 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 zsxkib/jina-clip-v2 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 = {
text: "A cute fox",
image: "https://images.stockcake.com/public/f/b/a/fba4da70-95d2-4e86-825b-38c32b15f678_large/fox-in-flight-stockcake.jpg"
};
const output = await replicate.run("zsxkib/jina-clip-v2:5050c3108bab23981802011a3c76ee327cc0dbfdd31a2f4ef1ee8ef0d3f0b448", { input });
console.log(output)
//=> ["uAhEvoVqwDyFtDg+aP6rvHA6xD1iKvY9dBz/vBJCXz4xFSY92mw/vl3...