---
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://mixpeek.com/.well-known/search?q={query}"
  method: GET
  documentation: "https://mixpeek.com/llms.txt"
---

Search & Discovery

7 min read

Updated 2026-10-06

# How Do I Search Photos, Video and Audio on the Device, Without Uploading Them?

To search photos, video and audio on a phone or laptop without uploading them, embed each item with a multimodal model running on the device, keep the vectors in a local index, and search it with text, a photo or a voice memo. EmbeddingGemma 2 does this in about 567 MB of RAM.

![Ethan Steininger](/people/ethan.webp)

By [Ethan Steininger](/blog/authors/ethan), Founder & CEO, Mixpeek

On-Device AI

Multimodal Embeddings

EmbeddingGemma

Video Search

Privacy

[Run this on your own data. Try it as you read.Search your own archive →](https://studio.mixpeek.com/namespaces/create?mode=managed&utm_source=homepage&utm_medium=guide_cta&utm_campaign=mvs_onramp)

[One-click templateGroup millions of video scenes by themeSort a video archive of millions of scenes into themes you can browse, so you can see what is in it without knowing what to search for.Deploy it](/templates/footage-intelligence)

## How do I search photos, video and audio on the device, without uploading them?

  
  
Run an embedding model on the device, store its vectors in a local index, and search that index. A multimodal embedding model turns each photo, each short stretch of video and each audio clip into a vector in one shared space, and a text query or an example becomes a vector in the same space, so "the clip where the dog jumps into the lake" finds the right video without anything leaving the phone or laptop. Google's EmbeddingGemma 2 (September 2026, Apache-2.0) is an open model built for exactly this: text, images, video and audio in one 768-dimension space, in about 191 MB of RAM for text and 567 MB with every encoder loaded, on a Pixel 11 Pro with quantization.  
  

## What does the pipeline look like?

  
  
1\. **Pick what to embed.** A photo is one input. Video and audio are cut into segments, because one embedding has a fixed budget (see below). 2. **Embed each item locally.** Load only the encoders you need: text alone, text and images, or everything. 3. **Store the vectors in a local index.** A small vector store inside the app (an embedded database or a flat file of vectors) is enough for tens of thousands of items. Keep the file path and the segment's start time next to each vector. 4. **Search.** Embed the query, whether text, a photo or a voice memo, and return the closest vectors with their file and timestamp. 5. **Re-embed only what changes.** New photos and recordings are embedded as they arrive; nothing else is redone.  
  

## How long can a clip be?

  
  
Everything in one input shares a budget. In EmbeddingGemma 2 that budget is 8,192 tokens:  
  

Input

Cost

Most that fits in one embedding

Text

1 token per subword

8,192 tokens

Image

280 tokens (default)

about 29 images

Video

140 tokens per frame, 1 frame per second by default

about 58 seconds

Audio

25 tokens per second, mono 16 kHz

about 5.5 minutes

  
  
So a 20-minute video becomes about 25 segments of 45 to 50 seconds each, and each search result points to the segment with its start time. Shorter segments find moments more precisely and cost more embeddings.  
  

## How much storage do the vectors need?

  
  
A 768-dimension vector in 32-bit floats is 3,072 bytes. Models trained with Matryoshka representation learning, EmbeddingGemma 2 among them, let you keep only the first 512, 256 or 128 numbers and re-normalize. At 256 dimensions a vector is 1,024 bytes, so 100,000 segments take about 100 MB, and Google's card reports quality close to the full vector at that size. Below 256, multimodal quality drops sharply on the card's benchmarks, so test it on your own library first. Queries and the library must use the same size.  
  

## What goes wrong most often?

  
  
*   **Running in float16.** EmbeddingGemma 2 overflows float16 and returns NaN or quietly worse vectors with no
error. Use bfloat16 where the hardware supports it and float32 elsewhere.*   **Skipping the task prefix.** Text queries embed better with the search prefix, and documents with
"title: ... | text: ...". Images, video and audio take no prefix.*   **One embedding for a whole long video.** It will not fit the budget, and even when it does, a single vector
cannot tell you where in the video the match is. Segment it.*   **Expecting text and images to score alike.** Text-to-text matches score higher than text-to-image matches in
most shared spaces, so a mixed result list ranks text first. [The modality gap](/guides/modality-gap-cross-modal-retrieval) explains why and how to rebalance.  
  

## When does it stop fitting on the device?

  
  
On-device search suits one person's library on one device. It gets harder when the library is shared by a team, lives in cloud storage already, or grows past what a phone should store and re-embed. That is the point where the same embeddings move to a server-side index.  
  
Mixpeek reads your files where they already live, in S3, GCS or any bucket, and turns what's in them into data your software can search, classify and moderate. Video is indexed by scene with timestamps, starting at $0.045 a minute on the [rate card](/pricing). If you already produce EmbeddingGemma 2 vectors, [MVS](/mvs) stores and searches your own vectors on object storage. Mixpeek does not run EmbeddingGemma 2 as a managed extractor today. Related: [how to find one specific moment in hours of footage](/guides/how-to-find-one-specific-moment-in-hours-of-footage) and the [EmbeddingGemma 2 model page](/model/google/embeddinggemma-2).  
  

## Frequently Asked Questions

  
  

### How do I search photos, video and audio on the device, without uploading them?

  
  
Embed each photo, video segment and audio clip with a multimodal embedding model running locally, store the vectors in a local index, and search it by embedding the query the same way. EmbeddingGemma 2 is an open model built for this, at about 567 MB of RAM with all encoders loaded.  
  

### Can I search video with a voice memo?

  
  
Yes, with a model that puts audio and video in one space. The voice memo is embedded as audio and compared with the video segments' embeddings, so the closest segments come back with their timestamps.  
  

### How long a video can one embedding cover?

  
  
With EmbeddingGemma 2's defaults, about 58 seconds: one frame per second at 140 tokens a frame within an 8,192-token budget. Longer videos are split into segments.  
  

### How much does on-device multimodal search cost?

  
  
The model is free under Apache-2.0 and runs on the device, so there is no per-item fee. The costs are device memory (about 191 MB for text only, 567 MB for everything) and storage, about 1 KB per item at 256 dimensions.

## Run this on your own data

Point Mixpeek at the storage you already have and search your video, images, audio, and documents the way this guide describes. Build starts at $25/mo for up to 1M vectors.

[Search your own archive](https://studio.mixpeek.com/namespaces/create?mode=managed&utm_source=homepage&utm_medium=guide_cta&utm_campaign=mvs_onramp)[Read Docs](/docs)

[Explore MVS](/mvs)[See pricing](/pricing)

## Related guides

[

Search & Discovery

### How to Find the Full Video From a Clip or a Screenshot

To find the full video from a clip, search with one clear frame. Reverse image search covers the public web. For a library you own, a frame search returns the source video and the second it came from. A request you can run with no key, results from four test frames, and what happens when the clip was edited.

Read guide →](/guides/search-full-video-from-clip)[

Search & Discovery

### Video Embedding Models in 2026: Limits, Prices, and a Search You Can Run

A video embedding model turns a stretch of video into a vector that a sentence or a frame can search. The models teams use in 2026 with their limits, dimensions and prices (Marengo, Vertex, Gemini Embedding 2, Amazon Nova, Voyage, Qwen3-VL, InternVideo2, SigLIP 2 and more), a text query and a frame query you can run with no key, and what goes wrong.

Read guide →](/guides/video-embedding-models)[

Search & Discovery

### How to Search Inside Videos in iconik with Natural Language

iconik search matches metadata, so finding a moment by what is on screen needs an index built from the footage. Compare iconik's own AI search, the iconik and TwelveLabs connector, and syncing iconik to Mixpeek, with setup steps, costs and FAQs.

Read guide →](/guides/iconik-video-search)