# Local AI & Visual Search

> How Refto's on-device AI models power semantic search, search by picture, colour filtering, OCR, transcription, and suggested tags.

URL: https://refto.one/app/docs/local-ai-and-search
Markdown: https://refto.one/llms.mdx/local-ai-and-search

Refto understands your references using models that run **entirely on your Mac**. Nothing is sent to external AI APIs, and search works completely offline once models are downloaded.

## Model packs [#model-packs]

In **Settings → Models**, Refto organizes on-device AI into three progressive packs so you only download what matches your Mac's memory and workflow:

| Pack | Download size | What it includes | Recommendation |
| --- | --- | --- | --- |
| **Basic** (default) | ~1.3 GB | Apple Vision (built into macOS, no download) + multimodal embedding model | Default for all Apple silicon Macs |
| **Search** | +~0.7 GB | Everything in Basic + local speech-to-text model for audio/video search | Recommended for Macs with 16 GB+ RAM |
| **Vision** | +~1.7 GB | Everything in Search + optional local vision-language model for deeper image understanding | Optional, opt-in when you want richer AI analysis |

Refto also includes a resource governor that automatically pauses heavy background GPU/indexing work while you are actively scrolling, dragging, capturing, or recording—and resumes smoothly when your Mac is idle.

## Ways to find references [#ways-to-find-references]

### Semantic text search (`⌘F` or `/`) [#semantic-text-search-f-or-]

Type what an item **shows** or **means**, not what its file was named—for example, `"serif typography poster"`, `"minimalist dark pricing table"`, or `"warm architectural concrete"`. Refto combines visual embeddings, OCR text, transcripts, titles, tags, and notes.

### Search with a picture [#search-with-a-picture]

Drop any image directly into the search field to find visually similar items and items depicting the same subject. You can also select any item in your library and press **`⇧⌘S`** (or open **Similar**) to inspect its closest visual matches side by side.

### Colour filtering [#colour-filtering]

Every visual item automatically extracts its colour palette. Open the filter bar (**`F`** or **`⇧⌘F`**) and pick a colour swatch or hex value to narrow your library to matching palettes, alongside filters for file type, aspect ratio/shape, rating, tags, and folders.

### On-device OCR [#on-device-ocr]

Apple Vision reads printed and screen text inside screenshots, posters, UI mocks, and PDFs automatically. Any recognized text becomes immediately searchable—and you can run **Copy Text in the Picture** from built-in tools to copy OCR text straight to your clipboard.

### Audio & video transcripts [#audio--video-transcripts]

With the **Search** pack installed, Refto transcribes spoken words in videos and audio clips locally on your Mac. Open an audio or video item and press **`T`** to view its transcript and chapters, and click any line to jump to that timestamp.

### AI-suggested tags [#ai-suggested-tags]

Refto can propose structured tags for incoming items without polluting your taxonomy automatically. Open the **AI Review** queue to step through suggestions rapidly with the keyboard:

- **`↑` / `↓`** or **`K` / `J`**: move between items.
- **`Return` / `A` / `Y`**: accept suggested tags for the focused item.
- You stay in control of which tags enter your library.
