Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pharmapsychotic/clip-interrogator-ext
Stable Diffusion WebUI extension for CLIP Interrogator
https://github.com/pharmapsychotic/clip-interrogator-ext
Last synced: 22 days ago
JSON representation
Stable Diffusion WebUI extension for CLIP Interrogator
- Host: GitHub
- URL: https://github.com/pharmapsychotic/clip-interrogator-ext
- Owner: pharmapsychotic
- License: mit
- Created: 2023-02-11T22:52:11.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-28T06:22:03.000Z (5 months ago)
- Last Synced: 2024-10-04T10:10:26.974Z (about 1 month ago)
- Language: Python
- Size: 128 KB
- Stars: 492
- Watchers: 10
- Forks: 62
- Open Issues: 65
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CLIP Interrogator extension for Stable Diffusion WebUI
This extension adds a tab for [CLIP Interrogator](https://github.com/pharmapsychotic/clip-interrogator)
![Interrogator tab screenshot](https://github.com/pharmapsychotic/clip-interrogator-ext/raw/main/images/prompt_tab.png)
## 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