Skip to content

Official code for PuLID: Pure and Lightning ID Customization via Contrastive Alignment

License

Notifications You must be signed in to change notification settings

LucindeAI/PuLID

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PuLID

📖 PuLID: Pure and Lightning ID Customization via Contrastive Alignment

arXiv arXiv
Zinan Guo*, Yanze Wu*✝, Zhuowei Chen, Lang Chen, Qian He
(*Equal Contribution, ✝Corresponding Author)
ByteDance Inc

🚩 Updates

Examples

Images generated with our PuLID examples Applications

pulid_demo.mp4

🔧 Dependencies and Installation

# clone PuLID repo
git clone https://github.com/ToTheBeginning/PuLID.git
cd PuLID
# create conda env
conda create --name pulid python=3.10
# activate env
conda activate pulid
# Install dependent packages
pip install -r requirements.txt

⚡ Quick Inference

Local Gradio Demo

python app.py

Online HuggingFace Demo

Thanks for the GPU grant from HuggingFace team, you can try PuLID HF demo in https://huggingface.co/spaces/yanze/PuLID

Citation

If PuLID is helpful, please help to ⭐ the repo.

If you find this project useful for your research, please consider citing our paper:

@article{guo2024pulid,
  title={PuLID: Pure and Lightning ID Customization via Contrastive Alignment},
  author={Guo, Zinan and Wu, Yanze and Chen, Zhuowei and Chen, Lang and He, Qian},
  journal={arXiv preprint arXiv:2404.16022},
  year={2024}
}

📧 Contact

If you have any comments or questions, please open a new issue or feel free to contact Yanze Wu and Zinan Guo.

About

Official code for PuLID: Pure and Lightning ID Customization via Contrastive Alignment

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%