Spectacles analyzes your asset library with a vision model, stores structured metadata and a similarity vector for each image, and exposes endpoints + Twig helpers for finding similar images. Visitors can upload an image and get back the closest matches from your library.

Supported providers

Vision and embedding are configured independently — pick whichever combination suits your budget and quality bar.

ProviderVisionText embeddingImage embeddingNotes
OpenAIgpt-4o, gpt-4o-mini, gpt-4.1text-embedding-3-small / -largeStrong default. JSON mode is reliable.
AnthropicClaude 4.x (Opus / Sonnet / Haiku)Highest-quality descriptions. Pair with another embedder.
Google Geminigemini-2.5-flash, gemini-2.5-protext-embedding-004Fast and inexpensive.
Voyage AIvoyage-multimodal-3voyage-multimodal-3Best similarity results — embeds the image directly, no description-loss.
Ollama (local)llava, llama3.2-vision, bakllavanomic-embed-text, mxbai-embed-largeSelf-hosted, no API costs, slower.

Recommended pairings:

  • Best quality: Anthropic Claude (vision) + Voyage voyage-multimodal-3 (embedding)
  • Best price/perf: OpenAI gpt-4o-mini + OpenAI text-embedding-3-small
  • Self-hosted: Ollama llava + Ollama nomic-embed-text
  • Strict similarity, weak descriptions OK: any vision provider + Voyage multimodal

When the embedding provider is multimodal-capable (currently only Voyage), Spectacles will embed the image bytes directly instead of embedding the text description — this captures visual features the description would lose.

Installation Instructions

To install this plugin, copy the command above to your terminal.

Reviews

This plugin doesn't have any reviews.

Active Installs
1
Version
5.0.1
License
Craft
Compatibility
Craft 5
Last release
July 22, 2026
Activity (30 days)
0
Closed Issues
0
Open Issues
0
Merged PRs
0
Open PRs