图像生成Apache-2.0Python

PhotoMaker

Customize realistic photos of a person from a few reference images.

Star 数
10.1K
Fork 数
808
未关闭 Issue
159
最近提交
2024-10-31

数据来自 GitHub API · 更新于 2026-10-15

PhotoMaker 是什么?

PhotoMaker by Tencent ARC encodes one or more photos of a person into an ID embedding, then generates new photos or stylized images of them from a text prompt — no LoRA training required.

主要功能

  • Stacks multiple reference photos for better identity
  • Realistic and stylized modes
  • SDXL-based with Gradio demo

系统要求

平台
Linux · Windows
显卡
NVIDIA
显存
11 GB+ (per README)

如何安装 PhotoMaker

根据项目 README 整理。开源项目更新很快,请以 GitHub 页面上的最新说明为准。

Gradio demo

  1. 1
    Clone and install.
    git clone https://github.com/TencentARC/PhotoMaker.git
    cd PhotoMaker
    pip install -r requirements.txt
  2. 2
    Launch the local demo.
    python gradio_demo/app.py

优势

  • Fast identity customization
  • Good realism

不足

  • Research-grade setup

PhotoMaker 替代品对比

软件Star 数许可证平台显存
PhotoMaker

Customize realistic photos of a person from a few reference images.

10.1KApache-2.011 GB+ (per README)
InstantID

Identity-preserving generation from a single face photo.

12KApache-2.016 GB+ recommended for the demo
IP-Adapter

Use an image as a prompt — style and subject transfer for diffusion models.

6.7KApache-2.06 GB+
ComfyUI

Node-based interface for diffusion models — images, video and audio.

137.6KGPL-3.04 GB minimum for SD1.5; 12 GB+ recommended for FLUX and video models
Stable Diffusion WebUI (AUTOMATIC1111)

The classic browser UI for Stable Diffusion with a massive extension ecosystem.

165.1KAGPL-3.04 GB minimum (with --medvram/--lowvram), 8 GB+ recommended
Stable Diffusion WebUI Forge

A faster, leaner fork of the A1111 WebUI with FLUX support.

13.1KAGPL-3.06 GB+ (FLUX NF4/GGUF variants run on 6–8 GB)

相关模型

常见问题

PhotoMaker 免费吗?

是的——PhotoMaker 是开源软件,采用 Apache-2.0 许可证。商用前请确认软件及模型权重的许可条款。

PhotoMaker 支持 Windows、Mac 和 Linux 吗?

PhotoMaker 支持:Linux, Windows。

运行 PhotoMaker 需要什么配置?

NVIDIA. VRAM: 11 GB+ (per README)

如何安装 PhotoMaker?

1. Clone and install. 2. Launch the local demo.

PhotoMaker 有哪些好的替代品?

常见替代品包括 InstantID, IP-Adapter, ComfyUI, Stable Diffusion WebUI (AUTOMATIC1111),详见本页对比表。

可以不安装、在线使用 PhotoMaker 吗?

如果只想要结果,AiLoft 可在浏览器中运行 GPT Image 2.5、Nano Banana Pro 等顶级图像模型,无需显卡和配置。

不想安装?直接在浏览器里生成图片

无需显卡、驱动或 Python。在线使用 GPT Image 2.5 和 Nano Banana Pro,并排对比效果。