HyperAI

InstantID Personalized Photo Generation Demo

InstantID: Generate personalized photos in one second without training

About InstantID

InstantID is a diffusion model-based image generation solution that enables rapid generation of diverse stylized portraits from a single reference image.Just upload a selfie and get a customized AI photo in 20 seconds.

1

It is a SOTA tuning-free method launched by the InstantX project team that can achieve ID-preserving generation with only a single image and support various downstream tasks.

How to use

Run the InstantID model in OpenBayes.

  1. Open a new terminal page 1
  2. Enter the command cd InstantID After carriage return 2
  3. Enter the command python gradio_demo/app.py Press Enter to run the Gradio demo. This process may take a few seconds. 3
  4. After http://0.0.0.0:8080 appears, open the API address to access 4
  5. Upload pictures and prompt instructions to generate custom personalized photos 5

Example Demo

Synthetic Style Demo

Demo

Comparison with previous models

Demo 2

Comparison with existing tuning-free state-of-the-art. InstantID achieves better fidelity and preserves good text editability (faces and styles blend better).

Demo 3

Comparison with pre-trained character LoRA. InstantID does not require multiple images and can still achieve competitive results as LoRA without any training.

Demo 4

Comparison with InsightFace Swapper (also known as ROOP or Refactor). However, in the stylized style, InstantID's work is more flexible in the fusion of face and background.

Related links

  1. InstantID