pharmapsychotic/clip-interrogator
Image to prompt with BLIP and CLIP observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 1486
- days_rel: n/a
- days_push: 840
- n_releases_24m: 0
Adoption not part of the score
2982 stars · 434 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Python library that combines OpenAI's CLIP and Salesforce's BLIP to reverse-engineer text prompts from images, optimized for use with text-to-image models like Stable Diffusion. It is available as a pip package, Colab notebooks, HuggingFace Space, Replicate demo, and a Stable Diffusion Web UI extension.
Use cases
- generate a text prompt from an image
- reverse-engineer prompts for stable diffusion
- find what prompt would recreate an existing image
- caption images with detailed style descriptions
- compare different CLIP models for image-to-prompt matching
- integrate image-to-prompt into a python pipeline
When to choose
- you need to derive prompts from reference images for text-to-image generation
- you want a pip-installable library or hosted demo for image captioning with CLIP/BLIP
- you want to pick specific CLIP models like ViT-L-14/openai for Stable Diffusion versions
When to avoid
- you need general-purpose image classification or object detection
- you need a production image captioning service with high throughput
- you don't have GPU resources and need fast inference
Facets
library · maturity stable
machine-learning image-processing prompt-engineering nlp artificial-intelligence image-processing large-language-models python cross-platform clip blip stable-diffusion text-to-image image-captioning pytorch gpu
2 sources
- readme: https://github.com/pharmapsychotic/clip-interrogator · fetched 2026-08-28 · 626338bbd0db
- registry_pypi: https://pypi.org/pypi/clip-interrogator/json · fetched 2026-08-29 · 1ec3ef2ffe61
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| pharmapsychotic/clip-interrogator | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="pharmapsychotic/clip-interrogator")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem