Image GenerationOpen source codeTencentARC/PhotoMaker

PhotoMaker: Open Source AI Repository & Self-Hosting Guide

Tencent ARC open-source stacked-ID personalization framework combining multiple reference photos into fast zero-shot SDXL/FLUX character variations.

GitHub Stars
10,080 stars
Repository License
Custom (see repo)
Last Push (UTC)
Oct 31, 2024
Check the repo's license. Model weights may have a different license.
Ethical Use Notice: Only use photos, videos, and likenesses of people who have given explicit permission.
git clone https://github.com/TencentARC/PhotoMaker.git
View on GitHub
Installpip install -e . && python gradio_demo/app.py

PhotoMaker: Architecture & Practical Workflow

PhotoMaker V2 encodes several reference portraits into a unified stacked identity embedding fused inside transformer cross-attention layers—generating stylized illustrations or realistic scenes in seconds without test-time fine-tuning.

Recommended End-to-End Pipeline

Supply 2-4 clean authorized reference angles of a character into PhotoMaker V2 Gradio to storyboard consistent comic panels or fictional avatars.

Runtime Target
Self-Hosted / Python (GitHub)
Primary Users
Developers, Avatar Builders
Code License
Custom (see repo)
Focus Topics
open-source, github, portraits, self-hosted, no-watermark

Quick Setup & Installation Steps

Platform target: Self-Hosted / Python (GitHub). Always verify environment variables and dependencies in the upstream repository README.

  1. 1Clone the repository from GitHub: `git clone https://github.com/TencentARC/PhotoMaker.git && cd PhotoMaker`.
  2. 2Review the Custom (see repo) license (Check the repo's license. Model weights may have a different license.) and note any separate terms on external model weights.
  3. 3Install or launch the project directly: `pip install -e . && python gradio_demo/app.py` (use an isolated Python virtualenv, Node workspace, or Docker volume so dependencies remain clean).
  4. 4Validate end-to-end behavior with a small sample input (Supply 2-4 clean authorized reference angles of a character into PhotoMaker V2 Gradio to storyboard consistent comic panels or fictional avatars.)

Hardware & VRAM Notes

Hardware & VRAM guidance: Requires NVIDIA GPU

GPU & VRAM

Requires NVIDIA GPU

System RAM & Storage

16 GB–32 GB system RAM recommended plus 10 GB–40 GB free SSD space for container images, Python dependencies, and model weights.

Runtime Target

Self-Hosted / Python (GitHub)

Strengths & Best For

  • Multi-photo stacked identity encoding
  • Fast inference without per-user training
  • Watermark-free local outputs
  • Best suited for: Developers, Avatar Builders

Limitations & Caveats

  • Check repo/weight license terms
  • Requires NVIDIA GPU
  • Check the repo's license. Model weights may have a different license.

3 Similar Tools on /tools (Image)

Prefer a hosted web app instead of managing local weights or Docker containers? Explore these cloud alternatives.

Browse all tools
Self-Hosted PhotoMaker vs. Hosted Alternatives (GFPGAN & OpenArt)
FactorPhotoMaker (Self-Hosted)GFPGANOpenArt
Execution & PrivacyRuns locally via Self-Hosted / Python (GitHub); data stays on your disk or private server.Hosted cloud web interface; zero local dependency setup required.Hosted cloud web interface; zero local dependency setup required.
Cost & QuotaCustom (see repo) code; bound only by local CPU/GPU hardware.Open Source; subject to vendor free-tier limits or paid plans.Freemium; subject to vendor free-tier limits or paid plans.
Primary FitMulti-photo stacked identity encoding; Fast inference without per-user trainingTencent ARC's practical open-source blind face restoration algorithm widely used to sharpen vintage portraits and low-res scans.Multi-model AI art studio and workflow hub featuring FLUX, SDXL, consistent character tools, and daily free credits with clean downloads.
Key Trade-offCheck repo/weight license termsRequires internet access and vendor account/quota limits.Requires internet access and vendor account/quota limits.

Matching Ready-Made Prompts

All Prompts →

Customize variables in Live Prompt Studio for PhotoMaker workflows.

85mm Golden Hour Cinematic PortraitImage · Candid Documentary Portrait
Open in Studio
Golden Ratio Abstract Tech & Startup LogoImage · Branding, Vector, Minimalist, Logo
Open in Studio

More Open Source Image Generation Repositories

Frequently Asked Questions

What does PhotoMaker do and how does it work?

PhotoMaker (TencentARC/PhotoMaker) is an open-source image generation project with 10,080 stars on GitHub. Tencent ARC open-source stacked-ID personalization framework combining multiple reference photos into fast zero-shot SDXL/FLUX character variations. PhotoMaker V2 encodes several reference portraits into a unified stacked identity embedding fused inside transformer cross-attention layers—generating stylized illustrations or realistic scenes in seconds without test-time fine-tuning.

Is PhotoMaker free to self-host and use commercially?

PhotoMaker provides open source code licensed under Custom (see repo). Check the repo's license. Model weights may have a different license. Always verify both source code and model weight licenses in the GitHub repository before commercial deployment.

What hardware, runtime, or VRAM does PhotoMaker require?

PhotoMaker targets Self-Hosted / Python (GitHub). Typical installation runs via `pip install -e . && python gradio_demo/app.py`. Check repo/weight license terms

How does self-hosting PhotoMaker compare to hosted tools like GFPGAN?

Self-hosting PhotoMaker gives you full local data control, zero per-usage vendor fees, and customizable Self-Hosted / Python (GitHub) pipelines—at the cost of managing your own setup and compute. By contrast, GFPGAN (Open Source) runs in the browser with no local installation, though usage quotas and cloud privacy policies apply.

Is PhotoMaker actively maintained and what workflow fits it best?

Repository metadata records 10,080 stars on GitHub with the latest recorded push on Oct 31, 2024. Supply 2-4 clean authorized reference angles of a character into PhotoMaker V2 Gradio to storyboard consistent comic panels or fictional avatars.