Generating image embeddings via textual summarisation
This n8n template demonstrates an approach to image embeddings for purpose of building a quick image contextual search. Use-cases could for a personal photo ...
🔌 Nodes & Integrations Used (7)
📖 Implementation & Setup Guide
This n8n template demonstrates an approach to image embeddings for purpose of building a quick image contextual search. Use-cases could for a personal photo library, product recommendations or searching through video footage.
How it works * A photo is imported into the workflow via Google Drive. * The photo is processed by the edit image node to extract colour information. This information forms part of our semantic metadata used to identify the image. * The photo is also processed by a vision-capable model which analyses the image and returns a short description with semantic keywords. * Both pieces of information about the image are combined with the metadata of the image to form a document describing the image. * This document is then inserted into our vector store as a text embedding which is associated with our image. * From here, the user can query the vector store as they would any document and the relevant image references and/or links should be returned.
Requirements * Google account to download image files from Google Drive. * OpenAI account for the Vision-capable AI and Embedding models.
Customise this workflow
Text summarisation is just one of many techniques to generate image embeddings. If the results are unsatisfactory, there are dedicated image embedding models such as [Google's vertex AI multimodal embeddings](https://cloud.google.com/vertex-ai/generative-ai/docs/embeddings/get-multimodal-embeddings).
⚡ How to import this workflow into n8n:
- Click the Direct Download JSON button above to save
Generating image embeddings via textual summarisation.json. - Log in to your n8n Cloud or self-hosted n8n instance.
- In your workflow canvas, click the menu in top-right and select Import from File (or paste the JSON directly).
- Configure your credentials (e.g. API keys, database URLs) in the corresponding node settings.
- Click Execute Workflow to test and switch to Active!
Related RAG & Vector DB Workflows
View All in RAG & Vector DB →AI Document Note Generator from Folder
Production-ready n8n automation template for AI Document Note Generator from Folder built by AhiXLight. Seamlessly connects Local File Trigger, Document Default Data Loader, Text Splitter Recursive Character Text Splitter with 42 configured nodes.
AI-Powered Document Note Generator
Production-ready n8n automation template for AI-Powered Document Note Generator built by AhiXLight. Seamlessly connects Local File Trigger, Document Default Data Loader, Text Splitter Recursive Character Text Splitter with 42 configured nodes.
AI crew to automate fundamental stock analysis Q A workflow
How it works: Using a Crew of AI agents (Senior Researcher, Visionary, and Senior Editor), this crew will automatically determine the right questions to ask ...
Amazon Keyword Suggestion Storage Workflow
Production-ready n8n automation template for Amazon Keyword Suggestion Storage Workflow built by AhiXLight. Seamlessly connects Airtable, HTTP Request with 12 configured nodes.