Expanding Vector Search Beyond Text
Supabase has integrated Google's Gemini to generate multimodal embeddings that developers can store and search using pgvector in their Postgres databases. The feature enables similarity search across text, images, video, audio, and documents within a single workflow, expanding the platform's vector capabilities beyond traditional text-only use cases.
The integration leverages Gemini's multimodal embedding models to convert diverse content types into vector representations. Developers can then perform semantic searches that work across formats, such as finding images similar to a text description or locating video segments related to an audio clip. All embeddings are stored directly in Postgres using the pgvector extension, keeping search functionality within the same database that powers the rest of an application's backend.
Supabase announced the feature on LinkedIn and released a demo application through Google AI Studio that developers can remix to test multimodal search in their own projects.
How Multimodal Embeddings Work in Practice
The implementation follows a straightforward pattern. Developers send content to Gemini's embedding API, which returns high-dimensional vectors representing the semantic meaning of that content. These vectors get stored in Postgres columns using pgvector's vector data type. When a user performs a search, the query content generates its own embedding, which is then compared against stored vectors using similarity functions like cosine distance.
What makes this multimodal approach different from text-only vector search is the ability to compare across content types. A single query could surface relevant results from a database containing product descriptions, product images, demo videos, and customer support audio recordings. The vector space created by Gemini's models positions semantically similar content close together regardless of format.
Developers already using Supabase for vector search can extend their existing implementations. The pgvector extension supports multiple distance metrics and indexing strategies, and Supabase has previously added features like visual query analysis tools to help optimize vector query performance.
Use Cases and Developer Access
The multimodal search capability opens several practical applications. E-commerce platforms could let customers search for products using photos or descriptions interchangeably. Media libraries could enable semantic search across mixed content archives. Knowledge bases could surface relevant information whether it exists as documentation, tutorial videos, or recorded presentations.
Supabase provides the demo application as a starting point for developers who want to experiment with cross-format search. The demo runs in Google AI Studio, where developers can modify the code and test different embedding strategies without setting up local infrastructure. Once developers understand the pattern, they can implement similar functionality in production applications using Supabase's hosted Postgres instances.
The integration fits into Supabase's broader pattern of adding AI-adjacent features while maintaining its core identity as a Postgres development platform. Earlier updates included a plugin to help AI agents write better Postgres code and Python type generation for database schemas, both aimed at making Postgres more accessible in AI-powered development workflows.
Developers interested in testing multimodal embeddings can access the demo through Google AI Studio. The feature works with Supabase's existing pgvector implementation, requiring no changes to current vector search setups beyond switching to Gemini's embedding models.
Sources
1 checkedHow we cover tool news: Create With's tool desk drafts these reports with AI from the sources listed above and checks them against those sources before publishing.








