Clip Interrogator by pharmapsychotic ported to an extension. Features a variety of clip models and interrogate settings.
Go to file
pharmapsychotic 0f1a4591f8 Add "Send to" buttons, thanks to @Dahvikiin 2023-09-09 20:35:46 -05:00
images Screenshot 2023-02-11 17:12:01 -06:00
scripts Add "Send to" buttons, thanks to @Dahvikiin 2023-09-09 20:35:46 -05:00
.gitignore create gitignore and exclude python cache files 2023-02-21 12:30:18 -05:00
LICENSE Initial commit 2023-02-11 16:52:12 -06:00
README.md renaming analyse to analyze 2023-06-27 19:25:35 +02:00
install.py Switch to clip-interrogator 0.6.0 now that webui uses new transformers version 2023-09-09 20:20:39 -05:00

README.md

CLIP Interrogator extension for Stable Diffusion WebUI

This extension adds a tab for CLIP Interrogator

Interrogator tab screenshot

Installing

  • Go to extensions tab
  • Click "Install from URL" sub tab
  • Paste https://github.com/pharmapsychotic/clip-interrogator-ext and click Install
  • Check in your terminal window if there are any errors (if so let me know!)
  • Restart the Web UI and you should see a new Interrogator tab

API

The CLIP Interrogator exposes a simple API to interact with the extension which is documented on the /docs page under /interrogator/* (using --api flag when starting the Web UI)

  • /interrogator/models
    • lists all available models for interrogation
  • /interrogator/prompt
    • returns a prompt for the given image, model and mode
  • /interrogator/analyze
    • returns a list of words and their scores for the given image, model