New Tool Radar

Local AI

How to Run Moondream 2 with Ollama to Describe an Image

Run the small Moondream 2 vision model locally with Ollama and describe a photo on a modest machine.

Schematic illustration with three step boxes for How to Run Moondream 2 with Ollama to Describe an Image.

Moondream 2 is a small vision model, about 1.8B parameters, that runs on modest hardware. Ollama ships it under the moondream tag. This guide pulls it, asks it about a photo, and shows where a small vision model is good enough and where it is not.

Before you start

  • Ollama installed and running.
  • At least 4 GB of free RAM, plus about 2 GB of free disk.
  • A photo file on your machine.

Pull the model

Download Moondream 2:

ollama pull moondream

Then start a chat:

ollama run moondream

Attach the image and ask one clear question

Attach the photo and ask a single clear question, such as what the main object is or what colour something is. Small models do better with one question at a time than with a long list.

Check the answer against the photo

Open the photo and compare. If the answer is wrong, try a simpler question: Moondream 2 is best at the main subject, not at fine detail.

Worked example

Sample prompt, with a photo of a yellow school bus parked on a street:

What vehicle is in this photo and what colour is it?

The expected answer is a yellow school bus. If the model says a different vehicle or colour, it misread the image: try again with the question “Is there a bus in this photo?”

Expected result

UNTESTED in this guide: no image chat was run while writing it. The expected result is that Moondream 2 answers “a yellow school bus” and the answer matches the photo.

Limitations

Moondream 2 is small and fast, but it is much weaker than a large vision model on detail, text and counting. Use it for the main subject of a photo, not for reading signs or counting objects.

Sources

See all