Image to prompt with BLIP and CLIP
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
pharmapsychotic 0cdd1e1cb2 Merge remote-tracking branch 'origin/main' into lib 2 years ago
clip_interrogator Make into a reusable library 2 years ago
data Merge branch 'main' of github.com:pharmapsychotic/clip-interrogator into main 2 years ago
.gitignore Make into a reusable library 2 years ago
LICENSE Initial commit 2 years ago
README.md Make into a reusable library 2 years ago
clip_interrogator.ipynb Fix for when uploaded image has alpha channel 2 years ago
main.py Make into a reusable library 2 years ago
requirements.txt Make into a reusable library 2 years ago

README.md

clip-interrogator

Run Version 2 on Colab, HuggingFace, and Replicate!

Open In Colab Generic badge Replicate


Version 1 still available in Colab for comparing different CLIP models

Open In Colab


Want to figure out what a good prompt might be to create new images like an existing one? The CLIP Interrogator is here to get you answers!

The CLIP Interrogator is a prompt engineering tool that combines OpenAI's CLIP and Salesforce's BLIP to optimize text prompts to match a given image. Use the resulting prompts with text-to-image models like Stable Diffusion.