{"library":"compel","type":"library","category":null,"description":"Compel is an active Python library, currently at version 2.3.1, designed to enhance prompting for transformers-type text embedding systems. It provides a flexible and intuitive syntax for sophisticated prompt weighting, blending, and concatenation, commonly used with Hugging Face `diffusers` pipelines. The library aims to give users granular control over how text encoders interpret complex prompt strings, and it maintains a regular release cadence with ongoing development.","language":"python","status":"active","version":"2.3.1","tags":["prompting","transformers","text-embedding","stable-diffusion","diffusers","AI","image-generation"],"last_verified":"Mon May 25","install":[{"cmd":"pip install compel","imports":["from compel import Compel","from compel import CompelForSD","from compel import CompelForSDXL","from compel import ReturnedEmbeddingsType","from compel import DownweightMode"]}],"homepage":null,"github":"https://github.com/damian0815/compel","docs":null,"changelog":null,"pypi":"https://pypi.org/project/compel/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":10,"avg_install_s":76.3,"avg_import_s":18.86,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/compel/compatibility"}}