PhotoMaker
A local AI portrait generator that uses reference images and text prompts to preserve a person's identity without additional LoRA training.

PhotoMaker generates personalized portraits and artwork from reference images and text prompts. It's for people creating photos or avatars that retain a person's recognizable features across different settings and styles.
- Identity from reference photos: Use several images of the same person to improve resemblance without additional LoRA training for that person.
- Prompted scenes and styles: Describe a setting or appearance in text to create realistic photos or stylized images while retaining identity attributes.
- Artwork and old photos: Use paintings, sculptures or historical photographs as references for realistic portraits, or change the subject's age or gender while preserving identity traits.
- Identity mixing: Combine references from different people into a new face and adjust how much each identity contributes.
- Model compatibility: Use PhotoMaker as an adapter with other base models and LoRA modules for different visual styles.
PhotoMaker can run locally through a Gradio interface, including on macOS. Community implementations support Windows, ComfyUI and WebUI. The local implementation uses Python and PyTorch. Separate hosted demos on Hugging Face and Replicate process generation through cloud services.
The official project provides PhotoMaker and PhotoMaker V2 checkpoints and local inference examples. The PhotoMaker license uses Apache 2.0 with exceptions for third-party components. Base models and face-analysis components retain their own terms.