InstantID: Everything you need to know

Поділитися
Вставка
  • Опубліковано 6 лют 2025

КОМЕНТАРІ •

  • @escopetadoce
    @escopetadoce 11 місяців тому +10

    These tutorial series has really SHOWN (and not just said) how powerful Comfy is. People know it is powerful but never really got a deep explanation like these series.
    Mateo, true legend. Don't need to watch other youtubers regurgitating stuff other youtubers have said. THESE are the true tutorials!

  • @titanium5
    @titanium5 11 місяців тому +15

    Love it. Learned more in 15 minutes than I have in a month of struggling with basics. Thank you!

  • @unsivilaudio
    @unsivilaudio 9 місяців тому +13

    God, there was so much to unpack in this video...I'm going to be coming back to this for months to understand it.

  • @chromo48
    @chromo48 4 місяці тому +6

    I'm coming from A1111/Forge and trying like hell to learn Comfy. Your videos showed me just how insanely capable comfyui is and helped me understand what's actually going on in the process of generating an image. Can't believe I delayed learning this UI for so long -- it was daunting, but I finally feel like I'm beginning to understand it. Very valuable content!

  • @sk1jung
    @sk1jung 11 місяців тому +8

    We respect and support every lecture you give.Kudos to you for your overwhelming knowledge.

  • @Cadmeus
    @Cadmeus 11 місяців тому +5

    Going to add one more comment here about how much I learned from this! The CFG rescale trick is going to be really useful, I had no idea it could improve multiple conditioning like that. Thank you ^_^

  • @AkoZoom
    @AkoZoom 29 днів тому +1

    Very well a PRO, and your slow voice is a PLUS !
    Then when you add some nodes, you do that a bit too fast, even we can go back to watch clearly. But a very good full of tricks Video ! TY

  • @jh5776-i8j
    @jh5776-i8j 11 місяців тому +1

    Don't have the time or motivation to dive into this, but a tutorial of this quality deserves kudos even from someone like me. :)

  • @2424media
    @2424media 11 місяців тому +76

    By far the best ComfyUI tutorials on YT. Thank you so much 🙏

    • @kingtut_AI
      @kingtut_AI 11 місяців тому

      100%

    • @Cloud3623423423
      @Cloud3623423423 11 місяців тому +4

      100%
      This guy is the goat- writes the nodes and gives useful and detailed instruction on how to use them.

    • @gdizzzl
      @gdizzzl 11 місяців тому +1

      Agreed

    • @uv10100
      @uv10100 11 місяців тому +1

      I also agree.

    • @yingliu3335
      @yingliu3335 11 місяців тому +2

      100%

  • @sifeyanis591
    @sifeyanis591 11 місяців тому +20

    The man knows how stable diffusion's brain works, your the best instructor I've ever seen Mateo, keep the great work

  • @davidb8057
    @davidb8057 11 місяців тому +5

    Thank you Mateo, your channel is definitely my favorite UA-cam channel on the topic.

  • @spraygospel5539
    @spraygospel5539 11 місяців тому +10

    Amazing, most simple character tutorial ever.
    please make more tutorial about multi-IDs . Like :
    - making 2+ characters fight scene
    - putting the characters in a portrait with "multi area conditioning" nodes
    - applying instant ID to objects that can be held by characters (swords, smartphones, etc.)
    Thank you so much man, your instant ID just solve some character consistency problem in comic creation community.

  • @erenliify
    @erenliify 10 місяців тому +2

    im an a1111 user. these connecting nodes, adding bunch of different control-net models just scaring me. I see that is another level. However thats a perfect tutorial! Congrats my friend.

  • @autonomousreviews2521
    @autonomousreviews2521 11 місяців тому +4

    Thank you! I finally got this working as I followed along. Lookin forward to more :)

  • @TheDocPixel
    @TheDocPixel 11 місяців тому

    Thank you again Matt3o for another Best-in-Class tutorial, as a developer and as a ComfyUI teacher!
    You have no equal in this space. Even if there are also a few other good channels, your's IS THE BEST. Period.

  • @dimitrimitropoulos
    @dimitrimitropoulos 11 місяців тому +9

    take care of yourself, because, as I'm sure you can tell, there's an incredibly positive response to your content. it's probably exciting for you but please take it easy and don't burn out because you're just THAT much better than every other content creator on this topic. we need you! lol

    • @latentvision
      @latentvision  11 місяців тому +5

      LOL... okay, I'll take a break 😄

    • @danielmatejka1976
      @danielmatejka1976 11 місяців тому +2

      @@latentvision noooooooo too long ;) you are the GOAT!

  • @LestSovART
    @LestSovART 9 місяців тому +1

    Ты просто боженька чувак! Это невероятно круто! Твое видео в 15 минут надо разбирать неделю!))) Спасибо большое за твою работу!

  • @rudy.d
    @rudy.d 10 місяців тому +1

    Well, yes. You rock. You give us the *what*, and the most important *why*.

  • @RodgerE2472
    @RodgerE2472 11 місяців тому +2

    I spent an hour going through your video. thank you, very helpful.

  • @cerberes
    @cerberes 11 місяців тому +1

    I haven’t watched any comfy ui vids yet but dang this looks fun from an experimenting perspective

  • @macallansteve
    @macallansteve 11 місяців тому +2

    Whew! Amazing as usual. Thank you!

  • @weirdscix
    @weirdscix 11 місяців тому +3

    Another excellent video, thank you

  • @eddiemauro.design
    @eddiemauro.design 11 місяців тому +1

    Complimenti Matteo, every Comyui node that you do, is amazing :)

  • @andreibaramidze172
    @andreibaramidze172 11 місяців тому

    Thank you for your tools development and videos you make, it is amazingly helpful to improve skills and keep moving industry forward!

  • @kajukaipira
    @kajukaipira 3 місяці тому +1

    Amazing videos man. Love u.

  • @831digital
    @831digital 11 місяців тому +5

    I learn more from your videos than all other AI videos combined.

  • @moviecartoonworld4459
    @moviecartoonworld4459 11 місяців тому +1

    Your lectures are always fantastic!

  • @PierrickBignet
    @PierrickBignet 9 місяців тому

    Thank you so much for your hard work. Your tools and tutorials are incredible. You are truly awesome.

  • @blender6665
    @blender6665 11 місяців тому +2

    you are a genius teacher

  • @adrianfels2985
    @adrianfels2985 6 місяців тому

    Holy moly I learned a ton with your video. Thank you!

  • @mordokai597
    @mordokai597 11 місяців тому +3

    instant id works with 1.5/v2 models, if you DON't use the loras, make sure the model is LCM compatible and use LCM lora, cache/retrieve your embeddings with v2 turned on (even if its not) and use LCM sampler, ddim_uniform/kerras scedular (i'm using it right now, and have been for a week) ;)

  • @carstenli
    @carstenli 11 місяців тому

    Another great video packed with valuable insights 🎉 - Thank you Matteo!

  • @banzai316
    @banzai316 11 місяців тому +1

    Great work as usual, thanks!

  • @pika9985
    @pika9985 11 місяців тому

    best comfy related all time guide.

  • @Paulo-ut1li
    @Paulo-ut1li 11 місяців тому

    That's what I was waiting for! Grazie mille

  • @jason-sk9oi
    @jason-sk9oi 11 місяців тому +1

    Amazing work!
    Thank you!

  • @sprinteroptions9490
    @sprinteroptions9490 11 місяців тому +3

    Y'all are correct. Protect this man at all costs.

    • @latentvision
      @latentvision  11 місяців тому

      LOL, thanks for the laugh :D

  • @KodexAnt
    @KodexAnt 10 місяців тому

    Thank you for your help. It would be slightly better if the video had more zoom (lower resolution), enough to identify the model used on a cellphone screen. Thank you, I couldn't find the solution until I came across this video.

  • @1982manga
    @1982manga 11 місяців тому +1

    Sei il migliore, grazie! Ciao!

  • @robmacl7
    @robmacl7 11 місяців тому +1

    Keep up the good work!

  • @swannschilling474
    @swannschilling474 11 місяців тому +1

    You are the best!! ❤

  • @adrianodias
    @adrianodias 11 місяців тому +1

    this is just brilliant. thanks a lot.

  • @juncando
    @juncando 11 місяців тому

    One day, I wish to be as incredible as you. Thank You.

  • @अघोर
    @अघोर 11 місяців тому +1

    Thank you very much 😀 that was helpful.

  • @danieljfdez
    @danieljfdez 11 місяців тому +4

    It’s really difficult not to learn something tremendously useful by watching your master tutorials. It’s simply amazing how much knowledge you own from IA world and especially from ComfyUI. I have no words to thank you enough!

  • @andre.laguerre
    @andre.laguerre Місяць тому +1

    Look like it's not working for me, with the latest version of ComfyUI (Portable 0.3.10)

  • @hleet
    @hleet 11 місяців тому +1

    Let's generate a lot to see if we can have better hands ... (no-hands-picture-shows-up) Oh this is nice ! ;p
    Hands are so uncool in AI generation.
    Love your videos, it's just terribly hard to understand when you start with AI and comfyui.
    So in a nutshell, InstantID is cooler for its style purpose of the final image ? At the end I think that you have to learn every new thing that comes up and make your own choice.
    I'm still on SD1.5 as most of Fanart models are on that one in civitai, SDXL is not really my cup of tea. Cascade is very fast and nice but I miss my SD1.5 ... Waiting for SD3 and hopefully will be easier to make your own lora faster and easier.

  • @1lllllllll1
    @1lllllllll1 3 місяці тому

    @latentvision I’m not sure the batch images node actually would make a difference in the sampler, because the sampler input is an image, not an image batch. So in the end, I think all this does is cycle through the batch, but in the end, it would sample whatever the last image was in the batch.
    I’m guessing in order to truly end up with a little LoRA, one would have to figure out a conditioning weighting batch operation. That would be tremendously useful, but likely result in heavy resource load.

  • @genAIration
    @genAIration 11 місяців тому

    This is masterpiece mate 🙏

  • @meltingdude
    @meltingdude 11 місяців тому

    Thank you Matteo! love your work.

  • @MasterFX2000
    @MasterFX2000 11 місяців тому

    Very great tutorial. Thank you very much!

  • @steveyy3567
    @steveyy3567 8 місяців тому +1

    very informative.thanks.

  • @caseyj789456
    @caseyj789456 5 місяців тому

    Thanks !
    6:22 : recale CFG

  • @Gardener7
    @Gardener7 10 місяців тому +2

    At 5:18, you say that there are far better models for photorealism.
    Can you recommend any for Comfyui in SDXL?
    I have a single photo of someone and can't create a Lora from that, but want to use it for generating other realistic photos.

  • @pixelpisasu
    @pixelpisasu 11 місяців тому +1

    Thanks so much for this ❤

  • @konstabelpiksel
    @konstabelpiksel 11 місяців тому

    this is fire 🔥 thanks!

  • @edits_for_fun
    @edits_for_fun 11 місяців тому +1

    Thank you matteo 😊

  • @tmpda
    @tmpda 9 місяців тому +1

    Great work. Please guide me to install DLib to be used for ComfyUI instantid.
    1.Where to create the folder in the ComfyUI folder
    2. How to install then

  • @seanhayes8542
    @seanhayes8542 11 місяців тому +2

    At 5:08 you said there are far better models for photo realism. What were you talking about specifically and what are the models?

    • @latentvision
      @latentvision  11 місяців тому +1

      check my "face science" video ua-cam.com/video/oBKcjY-JO3Y/v-deo.htmlsi=hF0zDCAuFlZn05sp

  • @DataMysterium
    @DataMysterium 11 місяців тому

    Thank you for sharing part of your knowledge :)

  • @hfoxhaxfox1841
    @hfoxhaxfox1841 11 місяців тому +3

    Can you make one for photorealistic results, please? with all the optimal settings

  • @TheSORCERER-p9l
    @TheSORCERER-p9l 2 місяці тому +1

    Also I have all the IPAdapter stuff installed but there is no Apply IPAdapter?

  • @Justin-AI
    @Justin-AI 11 місяців тому +2

    It's a very amazing tutorial, thanks.❤
    I wonder why in 11:50, you used "condition combined" instead of chaining "positive and negative" conditions of 1st InstantID to 2nd InstantID? 😅

    • @latentvision
      @latentvision  11 місяців тому +1

      instantid is a kind of uncommon controlnet, at the moment that is the best solution, I need to check if I can send the text prompts directly into attention, that would simplify things

    • @Justin-AI
      @Justin-AI 11 місяців тому

      👍 That would be very effective. 🎉

  • @abhinavgupta2659
    @abhinavgupta2659 11 місяців тому +1

    I wait for your videos. I have subscribed to quite a few channels, but yours is the only one with 🔔 on. Thanks! 🙏

  • @karter.design
    @karter.design 11 місяців тому +1

    Great! I was looking for this on your channel, an hour ago!

  • @andrejsshewchenko7190
    @andrejsshewchenko7190 11 місяців тому

    You are a Genius!

  • @industrialvectors
    @industrialvectors 11 місяців тому

    Great video. I wish I could subscribe twice.

  • @zickzack8149
    @zickzack8149 11 місяців тому

    Another really interesting video. If you don't mind me asking, is this all in python? I'm learning how to code and it would be interesting to try to apply some of it to comfyUI to earn more about AI on my coding journey.
    Love your content, keep it coming!

    • @latentvision
      @latentvision  11 місяців тому

      yes, mostly python (and thanks! 😄)

  • @a.zanardi
    @a.zanardi 9 місяців тому

    Matteo, could you cover such functionalities like Patch Attention and the Controlnet Attention? I think only you can help us with it and show the use cases for that, would be very interesting.

  • @toshigen
    @toshigen 8 місяців тому

    Amazing tutorial!! ...I have a question: how to make preview image for only the specify node (with out running Queue Prompt)?

  • @peaceofmind3736
    @peaceofmind3736 10 місяців тому +1

    I am getting a some loss of identity when using image kps for head positioning

    • @riyuanzhuang2486
      @riyuanzhuang2486 9 місяців тому

      do you have solutions for that? I have the same problem

  • @PierrickBignet
    @PierrickBignet 8 місяців тому

    It's me again, with a question this time!
    You are using an image for masking (at 4:48) and you keep the same image through the whole video, even using an inversion mask for the 2nd IpAdapter.
    I'm not quite how this works : are you supposing the mask you are drawing will more or less be where the face of the mona lisa will be, to take only the rest of the painting?
    Wouldn't it be simpler to c/c the reference image, draw a perfect mask on the Mona Lisa''s face and invert it?
    Thank you!

    • @latentvision
      @latentvision  8 місяців тому

      the face position is pretty much fixed and the attention mask is rather loose anyway, so yeah it works :)

  • @EranMahalu
    @EranMahalu 11 місяців тому

    Mind. Blown

  • @Redrascalcat
    @Redrascalcat 11 місяців тому +1

    After installing the package, I cannot access the nodes needed for the program to work. Being human and new at this, I feel that I may have neglected a detail or managed to put something in the wrong place. any assistance would be greatly appreciated.

  • @craftygames
    @craftygames 9 місяців тому

    very good tutorial, but the custom nodes mentioned installation are very hard and painful to not have errors, thus you can't follow the result on this tutorial. im stuck on faceanalysis

  • @noNumber2Sherlock
    @noNumber2Sherlock 2 місяці тому

    You are an absolute master. I've learned so much. However I still can't understand why all my output is a face close up despite trying to show "three-quarters view" or full head and chest or even full body. What am I doing wrong? Thank you!

    • @latentvision
      @latentvision  2 місяці тому +1

      with instantID you can set a reference for the pose

  • @paulotarso4483
    @paulotarso4483 11 місяців тому

    You mentioned InstantID is to add styling to someone's image. And you said there are far better photorealistic face swapping models. Which are the best ones in your opinion, to do the best, most realistic faceswapping? Thank you!

    • @latentvision
      @latentvision  11 місяців тому +1

      if you don't need a lot of control over the style (and facial expression) check my FACE SCIENCE video!

  • @bryanbrewer4272
    @bryanbrewer4272 11 місяців тому +1

    makes my beanbag tingle

  • @mohamedathyq2832
    @mohamedathyq2832 2 місяці тому

    I'm having issues with InstantID Face Analysis node, Could you please give me solution for this error? Thankyou

  • @AlterMax24-YouTube
    @AlterMax24-YouTube 11 місяців тому

    Amazing video. How to do when we are not able to pass under the 1.2 for euclidean and 0.8 for cosine? I used your workflow. It works perfectly with your inpu images but with my personal inputs, I don't have the same results. My 3 images for the InstanID and the IPAdapter are wide and the face enter in a 640x640px...THANK YOU in advance.

    • @latentvision
      @latentvision  11 місяців тому

      that's very hard to say without checking the actual images and workflow. Join my discord I can try to help there

  • @Alexey-m5j
    @Alexey-m5j 11 місяців тому

    Thank you for the most useful information on comfyUI. Your lessons are out of competition.
    Unfortunately, I still can't figure out why there is some kind of noise at the output (without any errors in console), noticed that if you connect the clip text encode directly to ksampler bypassing instantid, then everything is fine with the image, but the face is not too similar.
    And I noticed that it works much faster than other instantid before him, even faster than Forge in webui

    • @latentvision
      @latentvision  11 місяців тому +1

      you probably just need to update comfyui

    • @Alexey-m5j
      @Alexey-m5j 11 місяців тому

      @vision Thx!! Update really solved the problem. It works very fast on my 8gb graphics card!
      Now it really works as regular generation instead of 10+ minutes

  • @Sebastian____1337-0
    @Sebastian____1337-0 11 місяців тому +1

    previus error was solve downloading all models with instantID... but new error came when try the ksampler run
    Error occurred when executing KSampler:
    'NoneType' object has no attribute 'shape'
    SOLVED: need an XL checkpoint... srry.

  • @mithrillis
    @mithrillis 11 місяців тому

    I have to say InstantID is quite effective, especially for creating side faces from only frontal references, which the other face models often refuse to draw. I do run into a weird problem though. It appears my InstantID workflow wants to work at much lower CFG (~2) than what the model would usually prefer (4~6), so I need to either sacrifice background complexity by running very low CFG or risking burning the image with high CFG. I wonder if this is specifically an InstantID issue?

    • @latentvision
      @latentvision  11 місяців тому

      it depends on the checkpoint, if you need 2 it's seriously overtrained. Anyway you can use rescaleCFG

    • @mithrillis
      @mithrillis 11 місяців тому

      @@latentvision I guess the problem is that the checkpoint normally works quite well at CFG=5, but when connected with the Instant ID node, it produces images with weird colours unless I turn down the CFG...

    • @latentvision
      @latentvision  11 місяців тому

      @@mithrillis CFG 5 is very low already. InstantID requires CFG 4-6 if the checkpoint works at 7-8. So if the starting point is 5 it makes sense that you need to lower it to 2-3. Again try with rescalecfg

  • @risasgrabadas3663
    @risasgrabadas3663 9 місяців тому

    Which model is needed in the Load InstantID model node?

  • @yiluwididreaming6732
    @yiluwididreaming6732 11 місяців тому

    Mateo I'm thinking this works best for advanced users of comfy. I'm still reviewing the set up, which is quite complex. However you get what you put in when it comes to the analytics of the spaghetti pipelines and TBH you really are in control of what you want as the final out put. Not for those looking for a quick fix in the production of AI rendering. I remained subbed (for the learning experience and nuance)

    • @latentvision
      @latentvision  11 місяців тому

      check the "basics" tutorials if this is too much :)

  • @fadysaber-b8p
    @fadysaber-b8p 11 місяців тому

    @latentvision Dear Matteo , I am trying to use Depth-anything (Marigold depth estimation) within your InstantID workflow like the one used in the InstantID Huggingface space , but unfortunately I am facing error because the depth-anything model is based on SD1.5 , could you please help me about that , I can give you my workflow to check it .
    And as usual your tutorials are very helpful and easy to learn from it , Thanks a lot. 👍

  • @besocialable482
    @besocialable482 11 місяців тому

    I wonder how do I upscale the art without losing the face likeness from 1024 to 2k or even 4k? I tried a couple of methods but the likeness are totally gone even at low denoising str.

  • @MrTheraseus
    @MrTheraseus 4 місяці тому

    hey there, i cant instal the custom node currently, any idea why? from comfy UI manager

  • @JagatSingh-me8ko
    @JagatSingh-me8ko 3 місяці тому

    Any recommendation for photo realistic model, I tried the same workflow with epicgasm timeline 3:33 but ksampler was failing.

    • @latentvision
      @latentvision  3 місяці тому +1

      realistic vision is generally good

  • @ashokp9260
    @ashokp9260 11 місяців тому

    Amazing!! Will there be an implementation for sd1.5? These models for SDXL are flying way over my 8gb vram system. Tried it on colab though. Vram tops at 14 gigs.😂

  • @Marcus_Fenrirson
    @Marcus_Fenrirson 11 місяців тому

    hello got a problem with my amd 7900xt comfy ui gives me an error. Error occurred when executing KSampler:
    Could not allocate tensor with 20971520 bytes. There is not enough GPU video memory available

  • @Weeenzeeel
    @Weeenzeeel 11 місяців тому

    You're mentioning that there are "far better models for photorealistic results". Which ones are you referring to?

    • @latentvision
      @latentvision  11 місяців тому +1

      check my "face science" video!

    • @Weeenzeeel
      @Weeenzeeel 11 місяців тому

      will do thank you!! @@latentvision

  • @pfbeast
    @pfbeast 11 місяців тому +1

    👌👌

  • @EimantasK
    @EimantasK 7 місяців тому

    What kind of GPU or CPU you're using? Cuz for a simple example I'm already waiting 18min and it's on 87% :D it will take forever to play around with prompts.

  • @thomasherron9866
    @thomasherron9866 11 місяців тому

    can you use a mask and use Instant ID to just inpaint the face/hair area? so you can keep the background and person's clothes exactly the same

  • @zYGote04
    @zYGote04 10 місяців тому +1

    I don't have the "Apply IPAdapter" or the "Load IPAdapter model" nodes and I have IPAdapter install and I see lots of other related nodes.
    Had something changed in recent versions? am I missing something?

    • @latentvision
      @latentvision  10 місяців тому +1

      yeah a new version was released today. I'll post the documentation later.

    • @zYGote04
      @zYGote04 10 місяців тому +1

      @@latentvision Thanks!
      I thought I was losing my mind, I spent half of the day trying to figure out why I don't have the nodes everyone is using.
      Looking forward for the documentation.

    • @AntonRybalkin
      @AntonRybalkin 10 місяців тому

      ​@@latentvision Hi! can you please tell me when you can publish the documentation? or have you already done it?

    • @latentvision
      @latentvision  10 місяців тому +1

      @@AntonRybalkin check my latest video :)

  • @user-nc3he7rt7j
    @user-nc3he7rt7j 11 місяців тому

    Hi! THX for you awesome video!
    Quick question. You used "conditioning combine" to link multiple InstantID in parallel, but what about connecting them in series instead?

    • @latentvision
      @latentvision  11 місяців тому +1

      each instantid controlnet instance has to be patched with the person's embeds. If you connect them in series the embeds get averaged. I'll see if there's some sorcery I can do to make it work, but at the moment this seems to be working.

  • @ericren5390
    @ericren5390 10 місяців тому

    Hi Mateo, in the last Apply instantID advanced part, you said that we can choose to fine-tune ip_weight and cn_strength. Do we set the continuation degree of the reference image style by adjusting the ip_weight, and set the proximity to the facial features and prompt words of the reference image by adjusting cn_weight? Thanks.

    • @latentvision
      @latentvision  10 місяців тому +1

      they work together. ipadapter is a helper for instantid. instantid takes care of both the pose and about 70% of the likeliness.

    • @ericren5390
      @ericren5390 10 місяців тому

      Thanks for your quick response, I will think about it further more to understand it better.@@latentvision

  • @admireruk
    @admireruk 11 місяців тому +1

    I love your vids, But i cannot get indightface to work on my computer, any suggestions?

    • @latentvision
      @latentvision  11 місяців тому

      insightface is a tough cookie. check this thread github.com/cubiq/ComfyUI_IPAdapter_plus/issues/162

  • @Lveddie
    @Lveddie 7 місяців тому

    Cannot execute because a node is missing the class_type property.: Node ID '#11' How to fix it, thank you.