{"id":24128214,"url":"https://github.com/kunalvirwal/clip-vectorizer","last_synced_at":"2026-05-07T17:40:12.287Z","repository":{"id":253941934,"uuid":"844727844","full_name":"kunalvirwal/CLIP-Vectorizer","owner":"kunalvirwal","description":"A containerized API for generating Vector embeddings for text and images using the OpenAI CLIP Model utilizing CUDA","archived":false,"fork":false,"pushed_at":"2024-09-02T16:35:54.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-01T03:44:48.442Z","etag":null,"topics":["clip","containerized-services","fastapi","openai","python","python3","vector-embeddings"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kunalvirwal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-19T21:13:56.000Z","updated_at":"2025-01-10T16:57:43.000Z","dependencies_parsed_at":"2025-01-11T18:50:33.894Z","dependency_job_id":null,"html_url":"https://github.com/kunalvirwal/CLIP-Vectorizer","commit_stats":null,"previous_names":["kunalvirwal/clip-vectorizer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kunalvirwal/CLIP-Vectorizer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kunalvirwal%2FCLIP-Vectorizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kunalvirwal%2FCLIP-Vectorizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kunalvirwal%2FCLIP-Vectorizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kunalvirwal%2FCLIP-Vectorizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kunalvirwal","download_url":"https://codeload.github.com/kunalvirwal/CLIP-Vectorizer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kunalvirwal%2FCLIP-Vectorizer/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260336343,"owners_count":22993739,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["clip","containerized-services","fastapi","openai","python","python3","vector-embeddings"],"created_at":"2025-01-11T18:40:27.039Z","updated_at":"2026-05-07T17:40:12.257Z","avatar_url":"https://github.com/kunalvirwal.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ***CLIP-Vectorizer***\nThis is openAI's CLIP model based API that creates text and image vector-embeddings to be stored and query a vector database.\n\n## ***Steps To run on localhost using Docker***\n- Make sure Docker is installed and running (and using WSL2 engine if in windows).\n\n- Follow the steps given in [Nvidia docs](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html) to install nvidia drivers for your distribution (WSL for windows).\n\n- If CUDA drivers are not present or GPU access is not provided to the container, then it will automatically default to computing on CPU.\n\n- This command builds the image to be run inside a container  \n  \u003e `docker build -t vectorizer .`\n\n- Run the program inside a container using\n  \u003e `docker run -it --gpus all -p 5000:8080 vectorizer`  \n\n## ***API routes***\n- `/vectors`   \n\n  \u003e Post route for sending text to be embedded in JSON format.   \n  \u003e Example Input JSON:  \n  \u003e {  \n  \u003e \u0026emsp;\"text\" : \"Your text here\",  \n  \u003e }\n- `/vectors_img`  \n\n  \u003e Post route for sending images to be embedded in form-data format.   \n  \u003e Example Input Form-data:  \n  \u003e Key : file | Value : (Your image file)  \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkunalvirwal%2Fclip-vectorizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkunalvirwal%2Fclip-vectorizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkunalvirwal%2Fclip-vectorizer/lists"}