Last updated 16 May 2026
Enable CLIP-powered semantic search to find content by natural language description across your entire library.
StreamStash uses OpenCLIP (ViT-B/32), a vision-language AI model, to understand what's in your downloaded images and videos. Instead of searching by filename or username, you can search by what you see:
The model extracts visual embeddings from keyframes and matches them against your text query using cosine similarity.
AI search requires the Power tier. The AI components (OpenCLIP, PyTorch, NumPy) ship inside the Power installer, so there is no manual setup.
Once the model is downloaded, StreamStash automatically begins indexing your library in the background:
When you search, your text query is converted into a CLIP embedding and compared against all stored frame embeddings using a cosine dot-product. The best-matching frame per media item is returned, sorted by confidence score.
AI search is included in the Power tier. No manual installation is needed: the components ship with the Power installer and the model downloads itself on first use.
If you want to sweep all existing content for anything not yet indexed, click the Rebuild Index button on the Search page, or call the API. Items already in the index are kept and skipped:
POST /api/search/reindex The search index is stored in a separate SQLite database at:
%APPDATA%\StreamStash\clip_index.db This does not affect the main app database. You can safely delete this file to reset the index; it will be rebuilt automatically in the background.
AI search indexes downloaded media from these platforms:
The one-time model download may have failed. Check your internet connection, restart StreamStash so the indexer tries again, or check the logs for the exact error.
Indexing speed depends on your CPU. The model processes in batches and unloads between batches to avoid memory issues.
CLIP works best with descriptive phrases rather than single words. Try "person standing on a beach" instead of just "beach". The model understands visual concepts, not metadata.
| Endpoint | Method | Description |
|---|---|---|
/api/clip-search?q=<query> | GET | Search with optional limit and platform params |
/api/search/stats | GET | Index statistics (total embeddings, items by platform) |
/api/search/reindex | POST | Trigger full background reindex |
/api/search/frame/<id> | GET | Serve a matched keyframe image |