This repository contains an API that uses OpenAI's CLIP model for generating embeddings from text and images. The API is built with FastAPI and can easily be extended to include more functionality.
- Python 3.8+
- FastAPI
- Flask (optional)
- Uvicorn
- Torch, Transformers, PIL
-
Clone the repository:
git clone https://github.com/your_username/clip-api.git cd clip-api