New Tool Radar

Local AI

How to Run Pixtral with Ollama to Describe an Image

Run Mistral's Pixtral vision model locally with Ollama and ask it to describe a photo.

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

Pixtral is Mistral AI’s 12B vision-language model, and Ollama ships it under the pixtral tag. This guide pulls the 12B build, sends it a photo, and checks the description against the photo itself.

Before you start

  • Ollama installed and running.
  • At least 16 GB of free RAM for the 12B build, plus about 8 GB of free disk.
  • A photo file on your machine.

Pull the model

Download the 12B build:

ollama pull pixtral:12b

Then start a chat:

ollama run pixtral:12b

Attach the image and ask a specific question

Attach the photo and ask a specific question, such as what is happening in the scene or what objects are on a table. Keep to one question at a time.

Check the description against the photo

Open the photo and compare each claim, especially counts and small objects, where vision models most often go wrong.

Worked example

Sample prompt, with a photo of a desk with a laptop, a notebook and a coffee cup:

List the objects on the desk in this photo, one per line.

The expected list names a laptop, a notebook and a coffee cup. If an object is missing or invented, the model misread the image.

Expected result

UNTESTED in this guide: no image chat was run while writing it. The expected result is a list naming a laptop, a notebook and a coffee cup, matching the photo.

Limitations

A 12B vision model needs a strong machine and is slow on a plain CPU. It can misread small objects, counts and text. Treat the description as a draft until you check it against the photo.

Sources

See all