Last updated
EmbeddingGemma 2: searching text, images, video and audio in one vector space
Sharing a vector space and sharing one index are different problems.
EmbeddingGemma 2 maps text, images, video and audio into one 768-dimensional space. At 740M parameters and 1.49 GB it runs on a laptop under Apache-2.0.
What one shared space means
Ordinary search compares text with text. A multimodal embedding places images and text in the same coordinate system, so text can find images and images can find text.
EmbeddingGemma 2 combines a 270M text model with 170M vision and 300M audio encoders for 740M total, and accepts combined input so clips with sound and captions work too.

Why not mix with an existing index
Every embedding model defines its own space. Even at matching dimensions the coordinates mean different things, so vectors from another model in the same index return nonsense matches.
It is tempting to think a projection to matching dimensions fixes it, but no mapping between the two spaces was learned. Rebuilding the index is more predictable.
What searches this enables
Searching documents by photo is the clearest case: a whiteboard image finds the related minutes. Lectures with audio but no captions become searchable by sound.
Accuracy is lower than text-to-text comparison, though. Use image or audio search to narrow candidates and confirm in the source.
| Looking for | Query | How to check |
|---|---|---|
| Document | Photo | Open the source |
| video | Recording | Check timestamps |
| image | Sentence | View the thumbnail |

Decisions at ingestion

Terminology notes
Frame — A single image that makes up part of a video.
Back to the textGPU — A processor designed to handle many calculations in parallel. It performs model computations during AI inference.
Back to the text
Frequently asked questions
- What should you check first in this article?
- EmbeddingGemma 2 maps text, images, video and audio into one 768-dimensional space. At 740M parameters and 1.49 GB it runs on a laptop under Apache-2.0.
Read next
Executable programs and extensions
How can you search your local photos and recordings with EmbeddingGemma 2?
Model setup recipes
Which embedding model should you use for Korean document search? Qwen3, BGE, and EmbeddingGemma 2
Executable programs and extensions
When local RAG answer is wrong: Search, chunk, model diagnosis order
memory and model
turbovec: shrink the RAM a RAG index needs
