图像生成Apache-2.0Python

InstantID

Identity-preserving generation from a single face photo.

Star 数
12K
Fork 数
891
未关闭 Issue
187
最近提交
2024-07-18

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

InstantID 是什么?

InstantID generates new images of a person from one reference photo without fine-tuning, combining a face embedding with a landmark ControlNet. It is popular for stylized portraits and avatars and is available as ComfyUI nodes.

主要功能

  • Zero-shot identity preservation from one image
  • Works with SDXL checkpoints and styles
  • Gradio demo and ComfyUI integration

系统要求

平台
Linux · Windows
显卡
NVIDIA
显存
16 GB+ recommended for the demo

如何安装 InstantID

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

Gradio demo

  1. 1
    Clone and install requirements.
    git clone https://github.com/instantX-research/InstantID.git
    cd InstantID
    pip install -r gradio_demo/requirements.txt
  2. 2
    Download the checkpoints listed in the README, then start the demo.
    python gradio_demo/app.py

优势

  • Strong likeness from one photo
  • No training required

不足

  • Heavy VRAM requirements
  • Uses an InsightFace model with non-commercial terms

InstantID 替代品对比

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

Identity-preserving generation from a single face photo.

12KApache-2.016 GB+ recommended for the demo
PhotoMaker

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

10.1KApache-2.011 GB+ (per README)
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)

相关模型

常见问题

InstantID 免费吗?

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

InstantID 支持 Windows、Mac 和 Linux 吗?

InstantID 支持:Linux, Windows。

运行 InstantID 需要什么配置?

NVIDIA. VRAM: 16 GB+ recommended for the demo

如何安装 InstantID?

1. Clone and install requirements. 2. Download the checkpoints listed in the README, then start the demo.

InstantID 有哪些好的替代品?

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

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

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

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

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