clip-interrogator
Generate a prompt from an image
Decision gist · record as of 2026-08-14
Yes, if you need to generate prompts from images and can tolerate dormant maintenance. The package is stable with no known vulnerabilities, but expect no updates or bug fixes. Install only if you're comfortable pinning versions and managing torch dependencies yourself, and if the last release from 2023-03-20 meets your needs.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires torch with GPU support (or CPU fallback); on low-VRAM systems, call config.apply_low_vram_defaults() to reduce memory use.
- Low friction to install, but requires torch and torchvision as runtime dependencies, which are large downloads.
- Maintenance is dormant—last release was 2023-03-20 and no commits since 2024-05-15, so expect no active support or updates.
License · maintenance · safety
MIT (permissive) — MIT license is permissive; you can use this package freely in commercial and private projects with minimal restrictions.
last release 2023-03-20 (1243 days) · last repo commit 2024-05-15 · 2,979 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 289,175 downloads/mo, #8,004 on PyPI
Alternatives
Verify before relying
pip install clip-interrogator
from clip_interrogator import Config, Interrogator
ci = Interrogator(Config(clip_model_name="ViT-L-14/openai"))
print(ci.interrogate(image))- Whether the package works with recent torch versions or if version pinning is needed
- Current state of precomputed embeddings cache and whether downloads still work
- Performance and accuracy changes between version 0.5.5 (in docs) and current 0.6.0
- Exact VRAM requirements and whether 6.3GB and 2.7GB figures remain accurate
What it is and what it does
CLIP Interrogator is a prompt engineering tool that analyzes an image and generates a natural-language text prompt describing it, optimized to work with text-to-image models. It combines CLIP and BLIP to understand image content and produce prompts that, when fed back into a generative model, would recreate similar images.
The package is designed primarily as a library for Python scripts. It requires torch, torchvision, transformers, accelerate, open-clip-torch, and several other dependencies. Configuration options let you trade speed and quality for memory usage, and you can rank custom term lists against images. However, the project is dormant—no releases since 2023-03-20 and no recent commits—so it receives no active maintenance or updates.
Use it for
- Generate prompts from reference images to create similar artwork without manual prompt writing.
- Analyze existing images to understand what visual features a model should prioritize.
- Build custom image-to-prompt pipelines by ranking domain-specific term lists against images.
- Reverse-engineer prompts from generated images to understand model behavior or reproduce styles.
- Batch process image collections to extract descriptive prompts for metadata or tagging.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need to generate prompts from images and can tolerate dormant maintenance.
The package is stable with no known vulnerabilities, but expect no updates or bug fixes. Install only if you're comfortable pinning versions and managing torch dependencies yourself, and if the last release from 2023-03-20 meets your needs.
Install
clip-interrogator on PyPI
Before you install
Low friction to install, but requires torch and torchvision as runtime dependencies, which are large downloads. Maintenance is dormant—last release was 2023-03-20 and no commits since 2024-05-15, so expect no active support or updates.
Requires torch with GPU support (or CPU fallback); on low-VRAM systems, call config.apply_low_vram_defaults() to reduce memory use.
License in practice
MIT license is permissive; you can use this package freely in commercial and private projects with minimal restrictions.
Quickstart
pip install clip-interrogator
from clip_interrogator import Config, Interrogator
ci = Interrogator(Config(clip_model_name="ViT-L-14/openai"))
print(ci.interrogate(image))
Verify before relying
- Whether the package works with recent torch versions or if version pinning is needed
- Current state of precomputed embeddings cache and whether downloads still work
- Performance and accuracy changes between version 0.5.5 (in docs) and current 0.6.0
- Exact VRAM requirements and whether 6.3GB and 2.7GB figures remain accurate
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 9 packagestorchtorchvisionPillowrequestssafetensorstqdmopen-clip-torchacceleratetransformers |
| Maintenance | Dormant 1,243 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 289,175 / month, #8,004 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Intended Audience :: DevelopersIntended Audience :: Science/ResearchLicense :: OSI Approved :: MIT LicenseTopic :: EducationTopic :: Scientific/EngineeringTopic :: Scientific/Engineering :: Artificial Intelligence |
Evidence: clip_interrogator-0.6.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “reverse engineer image prompts”
- clip-interrogatorGenerates natural-language prompts from images by combining CLIP and…
- pyinstxtractor-ngExtracts Python bytecode and resources from PyInstaller-generated…
- bbpbDecode and re-encode Protocol Buffer messages without access to the…
Give your agent the search over MCP, or paste the wish link into any chat.
More Scientific/Engineering packages
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
pandas provides fast, flexible data structures (Series and DataFrame) for loading, cleaning, transforming, and analyzing labeled or relational data in Python.
scipy provides numerical algorithms for mathematics, science, and engineering—including optimization, integration, linear algebra, Fourier transforms, signal and image processing, and ODE solvers—built on numpy arrays.
scikit-learn provides a comprehensive Python library for supervised and unsupervised machine learning, including classification, regression, clustering, dimensionality reduction, and model evaluation tools built on NumPy and SciPy.
Install it if you need to train, evaluate, or deploy supervised or unsupervised learning models.
dill extends Python's pickle module to serialize and deserialize a much wider range of Python objects, including functions, lambdas, classes, and interpreter sessions, to byte streams for storage or network transmission.
Multiprocess is an enhanced fork of Python's standard multiprocessing library that uses dill for better serialization, allowing you to spawn processes with a threading-like API and share complex objects between them.
Install it if you use multiprocessing and encounter pickle serialization limits with lambdas or complex objects.
See also dynamicprompts · open-clip-torch · diffusers · clip-benchmark · compel · clip-anytorch · transparent-background · chatterbox-tts · click-prompt