ToTheBeginning / PuLID

[NeurIPS 2024] Official code for PuLID: Pure and Lightning ID Customization via Contrastive Alignment
Apache License 2.0
2.14k stars 140 forks source link

PuLID (NeurIPS 2024)

:open_book: PuLID: Pure and Lightning ID Customization via Contrastive Alignment

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

:triangular_flag_on_post: Updates

:soon: update plan

PuLID for FLUX

Please check the doc and demo of PuLID-FLUX here.

We will actively update and maintain this repository in the near future, so please stay tuned.

updates

Below results are generated with PuLID-FLUX. pulid_flux_results

Examples

Images generated with our PuLID examples Applications

https://github.com/ToTheBeginning/PuLID/assets/11482921/9bdd0c8a-99e8-4eab-ab9e-39bf796cc6b8

:wrench: Dependencies and Installation

:zap: 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

:paperclip: Related Resources

Following are some third-party implementations of PuLID we have found in the Internet. We appreciate the efforts of the respective developers for making PuLID accessible to a wider audience. If there are any PuLID based resources and applications that we have not mentioned here, please let us know, and we will include them in this list.

Online Demo

ComfyUI

WebUI

Disclaimer

This project strives to impact the domain of AI-driven image generation positively. Users are granted the freedom to create images using this tool, but they are expected to comply with local laws and utilize it responsibly. The developers do not assume any responsibility for potential misuse by users.

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}
}

:e-mail: Contact

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