# Can I make and read images locally?

> Yes. Image generation needs a decent GPU or a Mac with memory to spare, and vision models read screenshots and documents on modest hardware.

Two different jobs share this page. Making images uses diffusion models, which have their own apps and their own hardware needs. Reading images uses vision language models, which run in the chat apps you already have.

## Image generation

### The apps

| App | Platforms | Open source | Best for |
| --- | --- | --- | --- |
| Draw Things | macOS, iPhone, iPad | Partly | The easiest start on Apple hardware |
| ComfyUI | Windows, macOS, Linux | Yes | Full control through a node graph, and the newest models first |
| InvokeAI | Windows, macOS, Linux | Yes | A canvas for editing, inpainting and layering |
| Forge | Windows, Linux | Yes | A classic form-style interface on NVIDIA cards |

ComfyUI is where new image and video models usually appear first. Its node graph looks intimidating, but you can load a ready-made workflow by dropping an image made with it onto the canvas. Draw Things is the gentlest start on a Mac and downloads models from inside the app.

**The catch.** 
ComfyUI's custom nodes are community code that runs with your user's full permissions. A popular workflow can pull in a dozen of them. Install only nodes from projects with a real history, for the same reason as [model files from unknown sources](https://localagi.co/privacy-and-security).

### The memory

Image models are smaller than chat models but less forgiving. A chat model that does not fit spills into slow memory and keeps working. An image model that does not fit often fails outright or slows by ten times.

| Model generation | Parameters | Comfortable memory |
| --- | --- | --- |
| Stable Diffusion 1.5 | about 1B | 4 to 6 GB |
| SDXL and its fine-tunes | about 3.5B | 8 to 12 GB |
| Flux and similar large models | about 12B | 16 to 24 GB, less with 8-bit or GGUF builds |

These cover the model, its text encoder and room for one image at a typical size. Larger images and batches need more.

**Rule of thumb.** 
On a PC, image generation wants an NVIDIA card with at least 12 GB. On a Mac, it wants 24 GB or more and patience.

Image generation is compute-bound, unlike chat. Each image runs the model twenty or more times over the whole picture, so raw GPU power matters more than memory bandwidth. That is why an NVIDIA card is several times faster than a Mac with the same memory. [Which NVIDIA card should I get?](https://localagi.co/nvidia-gpus) and [Is a Mac good for local AI?](https://localagi.co/apple-silicon) cover the trade-offs.

**The catch.** 
Image model licences vary more than chat model licences. Some popular models allow personal use only, and some require a paid licence for commercial work above a revenue threshold. Check the model card before you use the output in a product. [Can I use this model at work?](https://localagi.co/licenses) explains how to read them.

## Vision models

A vision model is a chat model with an image encoder attached. You give it a picture and a question, and it answers in text. It reads screenshots, photos of receipts, charts, handwriting and scanned pages.

Many recent open model families ship a vision version. The model card says "vision", "multimodal" or "image input". In GGUF form the encoder is often a separate small file that the app downloads alongside the model. [Can local models see, listen and speak?](https://localagi.co/beyond-text) covers which families have one.

Vision adds little memory. The encoder is usually a few hundred MB to about 1 GB on top of the language model. The cost is in context, because each image becomes hundreds to a few thousand tokens.

**Try it.** 
With a vision model downloaded in Ollama, put an image path in the prompt and it reads the file.

```bash
ollama run your-vision-model "Transcribe all the text in this screenshot, keeping the layout: ./screenshot.png"
```

In LM Studio, Jan or Open WebUI, drag the image into the chat box instead. If the app refuses the image, the model you loaded has no vision support.

### What vision models are good and bad at

They are good at reading clear printed text, describing a screenshot, pulling numbers from a simple chart and explaining what a UI shows. A mid-class vision model handles most invoices and receipts.

They are bad at small text in large images, dense tables and counting objects. They can also misread a digit and report it with full confidence. For bulk document extraction, check a sample by hand before trusting the rest.

**The catch.** 
Most vision models shrink large images before reading them. A full-page scan at 300 DPI loses its small print. Crop to the part you care about, or split a page into halves, and accuracy jumps.

## Go deeper

### How diffusion differs from chat

A chat model writes one token at a time and each step reads the whole model from memory, so bandwidth sets the speed. A diffusion model starts from noise and refines the whole image over many steps, and each step is a large block of maths. That makes it compute-bound, and the [How do I judge a machine for local AI?](https://localagi.co/three-numbers) weigh differently than for chat.

### Quantized image models

Image models are being quantized too, to 8-bit and to GGUF formats that ComfyUI and Draw Things can load. An 8-bit Flux-class model looks nearly identical to the 16-bit one and halves the memory. Below 8-bit, fine detail and text in images start to suffer sooner than chat quality does.

### Vision for documents versus OCR

Classic OCR is faster and more exact on clean printed pages. Vision models win on messy inputs: photos at an angle, mixed handwriting, and layouts where meaning depends on position. A good pipeline runs OCR first and asks a vision model only about the parts OCR got wrong, and [How do I chat with my documents?](https://localagi.co/chat-with-documents) covers searching across many files.
