Collections

Chat with images

Vision models process and interpret visual information from images and videos. You can use vision models to answer questions about the content of an image, detect and locate objects, extract text using optical character recognition (OCR), verify a person’s identity through facial features, etc.

Here’s an example using the yorickvp/llava-13b vision model to generate recipe ideas from an image of your fridge:

fridge

And here’s how you can run the model from your JavaScript code:

import Replicate from "replicate";
const replicate = new Replicate();

const output = await replicate.run(
  "yorickvp/llava-13b:01359160a4cff57c6b7d4dc625d0019d390c7c46f553714069f114b392f4a726",
  {
    input: {
      image: "https://replicate.delivery/pbxt/KZOUXoMy3OxnyOeIA0LNzhtWDjBZLm9T6IPm5lbKcFT8lybo/fridge.png",
      prompt: "Here's a photo of my fridge today. Please give me some simple recipe ideas based on its contents.",
    }
  }
);
console.log(output);

If you don’t need reasoning abilities and just want to get descriptions of images, check out our image captioning collection →

Recommended models

lucataco / qwen2-vl-7b-instruct

Latest model in the Qwen family for chatting with video and image models

Updated 6 months, 1 week ago

179.2K runs

lucataco / ollama-llama3.2-vision-90b

Ollama Llama 3.2 Vision 90B

Updated 6 months, 2 weeks ago

3K runs

lucataco / ollama-llama3.2-vision-11b

Ollama Llama 3.2 Vision 11B

Updated 6 months, 2 weeks ago

1.9K runs

daanelson / minigpt-4

A model which generates text in response to an input image and prompt.

Updated 1 year, 1 month ago

1.8M runs

yorickvp / llava-v1.6-vicuna-13b

LLaVA v1.6: Large Language and Vision Assistant (Vicuna-13B)

Updated 1 year, 5 months ago

3.4M runs

zsxkib / uform-gen

🖼️ Super fast 1.5B Image Captioning/VQA Multimodal LLM (Image-to-Text) 🖋️

Updated 1 year, 5 months ago

2.3K runs

adirik / kosmos-g

Kosmos-G: Generating Images in Context with Multimodal Large Language Models

Updated 1 year, 6 months ago

4.5K runs

lucataco / qwen-vl-chat

A multimodal LLM-based AI assistant, which is trained with alignment techniques. Qwen-VL-Chat supports more flexible interaction, such as multi-round question answering, and creative capabilities.

Updated 1 year, 8 months ago

825.4K runs

adirik / owlvit-base-patch32

Zero-shot / open vocabulary object detection

Updated 1 year, 8 months ago

24.4K runs

cjwbw / internlm-xcomposer

Advanced text-image comprehension and composition based on InternLM

Updated 1 year, 9 months ago

164.4K runs

cjwbw / unival

Unified Model for Image, Video, Audio and Language Tasks

Updated 1 year, 10 months ago

993 runs

cjwbw / unidiffuser

One Transformer Fits All Distributions in Multi-Modal Diffusion at Scale

Updated 2 years, 3 months ago

1.2K runs