New Tool Radar

Local AI

How to Ask an LM Studio Vision Model About an Image

Load a vision-capable model in LM Studio, attach an image to the chat, and ask a question the model can only answer by looking at it.

Schematic diagram with three steps: load a vision model in LM Studio, attach an image to the chat, and ask a question about what the image shows.

A vision model is a language model with eyes: it takes an image as well as text, so you can ask what is in a photo, read text out of a scanned page, or check a diagram. In LM Studio that works two ways — in the chat window, by attaching an image, and through the local server, by sending the image in the API request. Both need a model that is actually vision-capable; a text-only model will ignore the image or fail.

Related guide: How to Run a Vision Model and Ask About an Image

Ask in the chat window

Search the Discover tab for a vision model — the model card should say it supports vision or images — download it and load it. Then attach an image to a chat message and ask a specific question about it, such as what text the image contains or how many objects it shows. Ask a question with a checkable answer first: if the model describes something that is not in the image, you have learned not to trust it on that image before you rely on it.

Ask through the API

With the vision model loaded and the server running, send an OpenAI chat completions request whose user message has two parts — a text part and an image_url part, with the image as a base64 data URL. The linked guide uses exactly this shape to have a vision model read scanned PDF pages. Vision inference is slow and uses many tokens, so start with one small image and a short question, and give the request a generous timeout.

Expected result. We checked the LM Studio docs for the local server endpoints and the linked guide for the image_url message shape and the base64 data URL method. We did not run this software ourselves for this guide, so no output here is a recorded result; steps marked UNTESTED were checked against the sources below, not run.

Limits

A vision model can hallucinate details that are not in the image — always check its answer against the image itself. Not every model in LM Studio supports vision, and the model card is the place to check. The API steps in this guide are UNTESTED on this machine; they are from the linked guide, not a run here.

Sources

Checked 2026-11-28.

See all