AI portrait generator for creating personalized digital avatars
Top 92.1% on sourcepulse
EasyPhoto is an AI-powered tool for generating personalized digital doppelgangers and portraits. It targets users who want to create custom AI-generated images of themselves or others, offering a user-friendly interface for training and inference without requiring extensive knowledge of Stable Diffusion WebUI. The primary benefit is the ability to generate realistic and personalized AI portraits using a small set of user photos.
How It Works
EasyPhoto leverages Stable Diffusion's image-to-image capabilities, specifically using LoRA (Low-Rank Adaptation) for fine-tuning. It trains a personalized "digital doppelganger" model from 5-20 user portrait images. During inference, it combines this LoRA model with template images and ControlNets (canny with color for fusion images, OpenPose for replaced images) to ensure similarity and stability. A two-stage diffusion process is employed, with the second stage using higher resolution for enhanced detail.
Quick Start & Requirements
git clone https://github.com/aigc-apps/EasyPhoto.git
, cd EasyPhoto
, pip install -r requirements.txt
, python app.py
Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
The project notes that dataloader num workers
is not effective on Windows due to potential errors. Training is recommended with images not featuring glasses, as mixed usage may affect results.
1 year ago
Inactive