Papers › InstantID: Zero-shot Identity-Preserving Generation in Seconds

InstantID: Zero-shot Identity-Preserving Generation in Seconds

15 Jan 2024arXiv:2401.07519archive 2025-07-28

Qixun Wang, Xu Bai, Haofan Wang, Zekui Qin, Anthony Chen, Huaxia Li, Xu Tang, Yao Hu

There has been significant progress in personalized image synthesis with methods such as Textual Inversion, DreamBooth, and LoRA. Yet, their real-world applicability is hindered by high storage demands, lengthy fine-tuning processes, and the need for multiple reference images. Conversely, existing ID embedding-based methods, while requiring only a single forward inference, face challenges: they either necessitate extensive fine-tuning across numerous model parameters, lack compatibility with community pre-trained models, or fail to maintain high face fidelity. Addressing these limitations, we introduce InstantID, a powerful diffusion model-based solution. Our plug-and-play module adeptly handles image personalization in various styles using just a single facial image, while ensuring high fidelity. To achieve this, we design a novel IdentityNet by imposing strong semantic and weak spatial conditions, integrating facial and landmark images with textual prompts to steer the image generation. InstantID demonstrates exceptional performance and efficiency, proving highly beneficial in real-world applications where identity preservation is paramount. Moreover, our work seamlessly integrates with popular pre-trained text-to-image diffusion models like SD1.5 and SDXL, serving as an adaptable plugin. Our codes and pre-trained checkpoints will be available at https://github.com/InstantID/InstantID.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2401.07519")

Code

Syntology Ran 8 of 10 code samples harvested from 3 repositories linked to this paper; 2 have no recorded run. Of those that ran: 2 ran · our draft was wrong; 6 ran with no contract checked.

By repository: official repository: 8 samples from 1 repository, 7 ran; community (archive-listed): 2 samples from 2 repositories, 1 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

instantid/instantid officialmentioned in papermentioned on GitHubpytorchApache-2.0 report
TheDenk/InstantID-Visual-Prompt mentioned on GitHubpytorchApache-2.0 report
instantstyle/instantstyle mentioned on GitHubpytorch report
instantx-research/instantid mentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

10 samples harvested; 8 ran; 0 honoured the contract we drafted; 2 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · our draft was wrong
6ran
2unverified

Licence: 0 of the 10 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 3 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

FeedForward instantid/instantid/pipeline_stable_diffusion_xl_instantid_img2img.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 5105747c2711b1cb · report
convert_from_image_to_cv2 instantid/instantid/infer_full.py official repository ran Apache-2.0 (permissive) · 3bd312dba3ae6f7b · report
create_unet_diffusers_config instantid/instantid/gradio_demo/model_util.py official repository ran Apache-2.0 (permissive) · 396178580650d8e3 · report
draw_kps instantid/instantid/pipeline_stable_diffusion_xl_instantid.py official repository ran Apache-2.0 (permissive) · 153b62620c0ab2df · report
draw_kps instantid/instantid/pipeline_stable_diffusion_xl_instantid_img2img.py official repository ran Apache-2.0 (permissive) · e28d5d3727a93c7c · report
get_canny_image instantid/instantid/gradio_demo/controlnet_util.py official repository ran Apache-2.0 (permissive) · 65d92c19d39b81be · report
load_checkpoint_with_text_encoder_conversion instantid/instantid/gradio_demo/model_util.py official repository ran Apache-2.0 (permissive) · 56f84435814478bc · report
reshape_tensor instantid/instantid/pipeline_stable_diffusion_xl_instantid_img2img.py official repository unverified Apache-2.0 (permissive) · 4cb2e2a2ca0bec9f · report
resize_img instantx-research/instantid/infer.py community (archive-listed) ran · our draft was wrong Apache-2.0 (permissive) · 1cfa1fd260c26481 · report
retrieve_latents TheDenk/InstantID-Visual-Prompt/pipeline_stable_diffusion_xl_instantid_img2img.py community (archive-listed) unverified Apache-2.0 (permissive) · 8262566e1ed7239a · report

Tasks

Diffusion PersonalizationDiffusion Personalization Tuning FreeImage Generation

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Diffusion Personalization Tuning Free AgeDB InstantID Cosine Similarity 0.713 #2 of 7 Archive leaderboard report
Diffusion Personalization Tuning Free AgeDB InstantID FID 18.598 #2 of 7 Archive leaderboard report
Diffusion Personalization Tuning Free AgeDB InstantID LPIPS 0.437 #2 of 7 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

Diffusion

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections