Back to Typesense

AI Image Search

docs-site/content/guide/reference-implementations/ai-image-search.md

latest1.6 KB
Original Source

AI Image Search

This demo showcases Typesense's ability to perform image similarity search and image search using text descriptions.

This implementation uses Next.js 14 App Router for the front end and typesense-js client SDK for sending queries to Typesense.

Live Demo | Source Code

Key Highlights

  • Here's how to configure the collection schema to enable image search.
  • Here's how to index large JSONL data containing base64 strings of images in batches.
  • Here's how to configure the query parameters to search for similar images. Tip: You should exclude the embedding field from search result for faster loading speed.
  • Here's how to configure the query parameters to search for images using text descriptions.