Skip to main content

InstantID: What It Is, What It Needs and Licence Limits

InstantID keeps one face across SDXL images from a single reference photo. What it needs in ComfyUI, its research-only licence terms and the consent rule.

Founder of IImagined.ai

Published
Oct 11, 2026
Updated
Oct 13, 2026
Reading time
11 min read
Quick answer

InstantID keeps one face across SDXL images from a single reference photo, with no training, by combining a face identity embedding with a landmark ControlNet called IdentityNet. It needs an SDXL checkpoint, a ComfyUI node pack, the InsightFace antelopev2 face models and about 4.2 GB of InstantID files. Its checkpoints and the InsightFace models are released for research purposes only, and the face you feed it must be your own, a fictional persona's, or one you have written permission to use.

InstantID is a tuning-free method that reproduces one face across SDXL images from a single reference photo, by pairing a face identity embedding with a landmark ControlNet called IdentityNet. It needs an SDXL checkpoint, a ComfyUI node pack and the InsightFace face models, and both its checkpoints and those face models are released for research purposes only.

Checked 13 October 2026 against the InstantID repository, its licence file and disclaimer, the Hugging Face model card and file listing, and the technical report; the ComfyUI_InstantID README, examples folder and node source; the InsightFace licence section and licensing page; and the IP-Adapter FaceID model card. The settings are the projects' own recommendations, not scores from a test of ours.

This page is one branch of our consistent character AI guide, which compares every method for holding a face. If you have not chosen a method yet, start there.

What is InstantID?

InstantID comes from the InstantX team, with authors at Xiaohongshu and Peking University. The technical report describes the design as "strong semantic and weak spatial conditions": an identity embedding says who the person is, and a landmark image says roughly where the face sits. The authors credit IP-Adapter and ControlNet as the work it builds on.

What happens to your one photo
  1. 01
    Reference image

    One sharp face. Only the largest face in the frame is used.

  2. 02
    InsightFace antelopev2

    Finds the face and outputs an identity embedding and facial keypoints.

  3. 03
    Adapter

    ip-adapter.bin feeds the embedding into the model.

  4. 04
    IdentityNet

    A ControlNet that places the face using the keypoints.

  5. 05
    SDXL checkpoint

    Your prompt sets the scene, outfit and style.

  6. 06
    Image

    The same face, posed like the reference unless you supply other keypoints.

Two things follow from that design. The face is read by a recognition model and not copied as a picture, so the method targets identity, not the hair and lighting of that one photo. And the head is posed from the reference's keypoints by default, which is why untouched InstantID sets all face the camera the same way.

What InstantID needs

FileSizeFolderWhat it is
ip-adapter.bin1.69 GBComfyUI/models/instantidThe adapter that carries the identity embedding. Named after IP-Adapter, which it is based on
ControlNetModel/diffusion_pytorch_model.safetensors2.5 GBComfyUI/models/controlnetIdentityNet, the landmark ControlNet
antelopev2 face modelsSeparate downloadComfyUI/models/insightface/models/antelopev2InsightFace detection and recognition. Not the classic buffalo_l pack
Before you download anything
  • ComfyUI updated to the latest version: the node pack's README asks for it
  • An SDXL checkpoint. The README says "at the moment this is only for SDXL"
  • The ComfyUI_InstantID node pack, through the Manager or a git clone into custom_nodes
  • insightface, with onnxruntime and onnxruntime-gpu, in ComfyUI's Python environment
  • About 4.2 GB of disk for the two InstantID files, plus the antelopev2 models
  • One sharp, front-facing reference image with one person in the frame
  • The licence section below read, and a decision made about paid use

The repository publishes no VRAM figure. You are loading an SDXL checkpoint plus a 2.5 GB ControlNet and a 1.69 GB adapter, so expect it to need more memory than SDXL alone; the README's only advice is CPU offloading and VAE tiling for its Python pipeline. What SDXL itself needs is in our SDXL guide, and ComfyUI's documented requirements are on the ComfyUI statistics page.

InstantID licence limits: read the face model's terms

InstantID is free to download and restricted in use. Four licences meet in one graph, and the one people miss belongs to the face model.

PartLicenceWhat the source says
InstantID codeApache 2.0The disclaimer says it is released "for both academic and commercial usage"
InstantID checkpointsResearch purposes onlyStated in the repository disclaimer. The Hugging Face card carries an Apache 2.0 tag, and the repository text is the stricter statement
InsightFace antelopev2 modelsNon-commercial research purposes onlyInsightFace's site offers commercial licences for its model packages and names antelopev2 among them
InsightFace codeMITCovers the library, not the trained models
Your SDXL checkpointIts own licenceA separate file with separate terms

The InstantID disclaimer puts it in one passage: face models from InsightFace "are for non-commercial research purposes only", and "our released checkpoints are also for research purposes only". InsightFace's README says the same about its trained models and lists an address for licensing its open-source recognition packs. If the persona earns money, clear both sets of terms in writing or use a method whose terms you can meet. This is a summary, not legal advice.

Written permission means a signed release that names the person, the uses and the term. Our AI likeness rights guide covers what that document should say and where the legal lines sit.

How to set up InstantID in ComfyUI

The pack to install is ComfyUI_InstantID, the first ComfyUI option the InstantID authors list. It implements InstantID natively. Its maintainer set the repository to maintenance-only mode on 14 April 2025, so keep a copy of the ComfyUI version your graph was built on.

From empty install to first face
  1. 1
    Install the node pack

    Through ComfyUI Manager, or git clone into ComfyUI/custom_nodes.

  2. 2
    Add insightface and onnxruntime

    The pack requires insightface together with onnxruntime and onnxruntime-gpu.

  3. 3
    Place the antelopev2 models

    Unzip them into ComfyUI/models/insightface/models/antelopev2.

  4. 4
    Place ip-adapter.bin

    From InstantX/InstantID on Hugging Face into ComfyUI/models/instantid.

  5. 5
    Place the IdentityNet ControlNet

    ControlNetModel/diffusion_pytorch_model.safetensors goes in ComfyUI/models/controlnet.

  6. 6
    Load the basic example

    Open InstantID_basic.json from the pack's examples folder and choose your SDXL checkpoint.

  7. 7
    Connect your reference image

    Load Image into the image input of Apply InstantID. Set the CFG to 4 or 5 and the latent to 1016x1016.

  8. 8
    Fix the seed and queue

    Change one setting per run from here.

Load Checkpoint (SDXL) Load InstantID Model (ip-adapter.bin)  +  InstantID Face Analysis (provider: CUDA or CPU) Load ControlNet Model (IdentityNet)    +  Load Image (reference) -> Apply InstantID  [weight: 0.8 | start_at: 0 | end_at: 1 | optional: image_kps, mask] -> KSampler  [CFG 4 to 5 | fixed seed while testing] -> VAE Decode -> Save Image

Apply InstantID takes the model and both conditionings in and passes them out again, so it sits between your prompt nodes and the sampler. The other example files cover a posed keypoint image, a depth ControlNet, IP-Adapter styling and a multi-ID graph the maintainer calls "hackish" and slower.

InstantID settings and fixes

  • One default. The project's example code sets ip_adapter_scale and controlnet_conditioning_scale to 0.8. In ComfyUI the standard node has a single weight at 0.8 that drives both.
  • Two dials on the Advanced node. Apply InstantID Advanced exposes ip_weight for the adapter and cn_strength for the ControlNet, both defaulting to 0.8. The README says the adapter accounts for about 25% of the composition and the ControlNet for the rest.
  • Directions from the authors. Raise both for more similarity. For over-saturation lower the adapter first, then the ControlNet. For more text control lower the adapter.
  • More than one reference. The node source averages the face embeddings when you feed it a batch of images, and takes the keypoints from the first image.
SymptomCauseFix
Burnt, over-saturated faceCFG too high, or the adapter too strongLower the CFG to 4 or 5, or add RescaleCFG. Then lower the adapter weight, then the ControlNet strength
Watermark patternsThe README says the training data is full of watermarksUse a size slightly off the standard ones, such as 1016x1016
The same head position every timeThe person is posed from keypoints taken from the referenceSend a different face image to the image_kps input
Outfit or style words ignoredThe adapter is overpowering the textLower ip_weight on the Advanced node
Error: Reference Image: No face detectedInsightFace found no faceUse a larger, front-facing face with nothing covering it

InstantID's keypoints cover the face only. For body pose, add an OpenPose ControlNet beside it, which the pack supports as an additional ControlNet.

InstantID vs a LoRA vs IP-Adapter

InstantID wins on time to first image. Its README shows results the authors call competitive with character LoRAs "without any training", and that is the right way to use it: to find out in an afternoon whether a face is worth building on.

One photo or a trained file
InstantID
  • One reference image, no training
  • SDXL checkpoints only
  • Guesses angles the photo does not show
  • Checkpoints and face models: research purposes only
  • Good for testing a face and building a dataset
A character LoRA
  • A captioned image set and a training run
  • Trained for whichever model family you choose
  • Has seen every angle you put in the dataset
  • Carries the licence of its base model
  • Good for a persona you will use for a long time

IP-Adapter FaceID sits between the two and has the same catch: its model card says the models are "released exclusively for research purposes" because they rely on InsightFace. For the three-way decision, see face LoRA vs InstantID vs IP-Adapter, and for the other no-training routes, consistent characters without a LoRA.

When you start rejecting more outputs than you keep, your approved renders of a fictional persona become the training set. Our LoRA explainer covers what the file is, the glossary has the short definition of a LoRA, and the free LoRA training steps calculator plans the run. The AI Influencers program goes deeper where this page stops, with lessons on creating the persona, LoRA training for consistent faces and body consistency with ControlNet.

InstantID FAQ

What is InstantID?

InstantID is a tuning-free method from the InstantX team that generates images keeping one face from a single reference image. It pairs an adapter that carries a face identity embedding with a ControlNet called IdentityNet that follows the face's landmarks. The technical report is dated 15 January 2024, and the checkpoints, inference code and demo were released on 22 January 2024.

What do I need to run InstantID?

An SDXL checkpoint, the ComfyUI_InstantID node pack, the insightface library with onnxruntime, the antelopev2 face models, and two InstantID files: ip-adapter.bin at 1.69 GB and the IdentityNet ControlNet at 2.5 GB. The repository gives no VRAM figure. You also need one sharp reference image of a face you have the right to use.

Does InstantID work with FLUX or SD 1.5?

Not in the released files. The ComfyUI_InstantID README says "at the moment this is only for SDXL", and the model card's own example loads the SDXL base model. A Kolors version was announced in July 2024 as still in training. The technical report mentions SD 1.5 compatibility, but no SD 1.5 checkpoint is in the release.

Can I use InstantID commercially?

Read the disclaimer first. The repository says the code is Apache 2.0 for academic and commercial use, the InsightFace face models it depends on are for non-commercial research purposes only, and its released checkpoints are also for research purposes only. InsightFace offers commercial licences for its model packages. For a persona that earns money, clear those terms or choose another method.

What weight should I use for InstantID in ComfyUI?

Start at the default. The Apply InstantID node has a weight of 0.8, the same value the project's example code uses for both the adapter and the ControlNet. The node pack's README says to lower the CFG to 4 or 5, or to add a RescaleCFG node. Raise the weight for more similarity and lower it if the prompt is being ignored.

Can I use InstantID with a photo of a real person?

Only your own face, or a person who has given written permission. InstantID reproduces a face from one photo, so the consent question is the whole question. Reproducing a real person's face without their written permission is not allowed, and the repository's own disclaimer says users are obligated to comply with local laws and use the tool responsibly.

Is InstantID better than training a LoRA?

It is faster to start, not a replacement. The authors show results they call competitive with character LoRAs without any training. A LoRA stores the face in weights learned from many images, so it has seen the profile and the full-body shot, while InstantID works from one photo. A common path is to test a face with InstantID, then train a LoRA.

Free · no card needed

Start with the free Starter Kit.

An AI character bible from AI Influencers, plus four more working files.

Starter Kit5 files · free
All Access · all four programs · $99/mo

One photo gets you a face. A system gets you a persona.

AI Influencers, included in All Access, picks up after the first InstantID render: creating the persona, LoRA training for consistent faces, body consistency with ControlNet and photorealism. The other three programs, weekly coaching and the private community come with the same subscription.

See All Access: $99/mo →30-day money-back guarantee
Free

Ready to train the face properly?

When InstantID has shown the face is worth keeping, the free calculator works out the LoRA training steps for your image set.