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
- LM Studio docs — download and run local LLMs; serve local models on OpenAI-like endpoints
- Reading image-only PDFs with a local vision model in LM Studio — a vision-capable model loaded on the local server accepts an image in a chat message; the image goes in as a data URL with base64 bytes in an image_url part
- LM Studio guide — the local server exposes an OpenAI-compatible API at http://localhost:1234/v1
Checked 2026-11-28.
