Run SDXL Locally With ComfyUI (2024 Stable Diffusion Guide)

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

КОМЕНТАРІ • 432

  • @porcusx
    @porcusx 11 місяців тому +41

    I installed ComfyUI for the first time because of this video. I'd be happy to see more tutorials like this -- including some that may cover more advanced topics. Thanks for covering this!

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

      What kind of specs are you running t on? Does it run well for you so far?

  • @AIAnimationStudio
    @AIAnimationStudio 11 місяців тому +12

    Thanks Matt, I really appreciate the Comfy Ui install video shout out. Great video as always, thanks. I hope you've recovered from CES as well.👍

  • @sleevenocardbehind
    @sleevenocardbehind 8 місяців тому +25

    I'm a noob so this is what I struggled with and how I fixed it:
    1. 'Open in terminal' is not an option when I right-click. Fix: Hold shift, then right-click.
    2. Error message when I paste the ComfyUI Manager. Fix: Google "Git" and install it, then try again.

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

      I did it. It worked for the isntalation but the MANAGER buttom not comes when I refresh the page.

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

      @@davesousa6723 Just try closing it and opening it again this made it for me.

    • @onlyinaxj1421
      @onlyinaxj1421 Місяць тому

      worked, thanks

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

    By far the easiest walk-through process of ComfyUI installation. I've been wanting to try my hand on this but other tutorials out there are so daunting to follow. Thanks a lot for sharing!

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

    Great video. Thanks a lot. I marked this one in my todo list and came back today to go through your process of installing and running it. Great results. I appreciated all the time that you put into this for us.

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

    Thank you, I previously used stable diffusion and went through a lot to download each file on stable diffusion which added extra time to make it work but this is a simple process and only took around 15 minutes compared to an hour and a half on stable diffusion.

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

    Hey Matt, I did the install on a Mac M1 and it worked perfectly. Its slow but it worked. Thanks for the info !!!

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

    Ah! Amazing!! This is what I’ve been looking for. Gonna be installing this over the weekend for sure. Although these instructional videos aren’t as popular, I’m very grateful that you’re creating them! Thank you!

  • @GplayTVBG
    @GplayTVBG 6 місяців тому +1

    12:52 NOTE: I needed to restart the CMD client in order for the button to appear.
    Also it's not a bad idea to add "YourDriveLetter:\YourPrefolderIfAny\ComfyUI\python_embeded\Scripts" to PATH.

  • @latestAiHacks
    @latestAiHacks 11 місяців тому +107

    Wow nice, that's something local that no one can take away from us.

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

      I like your comment

    • @Charlie-phlezk
      @Charlie-phlezk 11 місяців тому

      I comment your like ​@@iresineherb7

  • @theawesomerb2807
    @theawesomerb2807 11 місяців тому +31

    great tutorial , please make more detailed tutorial on this , love it super interesting !

  • @Criptomonedas_Español
    @Criptomonedas_Español 11 місяців тому

    I understand the time and effort It takes to give away a video like this. Thank you, congratullations. You are the BEST!

  • @djstraylight
    @djstraylight 11 місяців тому +21

    I'm glad you installed the ComfyUI Manager, so handy and you can download huggingface models with it.
    All of the local Stable Diffusion programs are still pretty technical compared to Midjourney or DALL-E 3 but you can control everything about the images. The faceswappers for SD are top notch these days.

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

      which face swappers are you talking about can you link them?

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

    This video is gold!!! I understand why they don't do welll on youtube, but I would love a video that goes even more in dept :) keep up the good job my friend!

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

    Yaaaas! :) yeah please more comfy UI tutorials these are great, thanks Matt!

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

    Great tutorial and walk-through! Thank you!
    ComfyUI has become my favorite, especially for the ability to maintain workflows easily.

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

    Thanks for making this, i know you said it wont get a lot of views. I'm sure it took hours to edit and film for not much ROI, i appreciate it.

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

    Thanks for this!
    I was just about to return to and update my SDXL Repo but decided to start a fresh instead.
    It's reassuring to have such an up to date guide.
    Thankyou
    🤜🤛

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

    Thank you so much for this tutorial man. Really in depth and comprehensive for people that are just starting to get into the mix like me. Much love

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

    Amazing video! I had to jump through some extra hoops and figure some stuff out on my own (mainly installing the manager due to the link leading me to the installation of ComfyUI Portable) but it really works!

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

    I'm amazed at how you fit in the time to do these tutorials with all the other stuff you have going on.
    I have not install this but feel like it would be super easy just by following your instructions.
    Thanks

  • @Sid-yn4wo
    @Sid-yn4wo 11 місяців тому +3

    thanks Matt, was looking for this exact tutorial video made more recently. Detailed explanation as always

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

    Thanks Matt appreciate you! Love these deep dives, they're the best on the web. Keep up your legendary work mate!

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

    I've just installed my new 3090!! and was looking exactly for a tutorial for Comfy UI. Many thanks Matt, perfect timing!! XD

  • @joseivanrangelrojas5368
    @joseivanrangelrojas5368 11 місяців тому +6

    I need help please, I tried to run the manager on the terminal but it showed this message:
    git : The term 'git' is not recognized as the name of a cmdlet, function, script file or executable program. Check
    if you typed the name correctly or, if you included a path, check that the path is correct and try again.

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

      Same problem for me

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

      same. any luck?

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

      pls tell me that u have it@@faisalal3435

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

      you have to install the git Extention, i guess, i have the same Problem, Chat.gpt gave me this tip

    • @MrGossner
      @MrGossner 7 місяців тому +1

      Edit: it Workt perfectly!

  • @onoff5604
    @onoff5604 11 місяців тому +6

    Many thanks for the details, would have taken too long for me to dig up all those details from who knows where. More such deepdives would be great. You are a treasure.

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

    This is a very good tutorial!
    Nice explanation!
    I am going to switch to this. You are a absolute journalist and I only follow you.
    MUCH better than all those old MediaCompany's.
    PLEASE, stay independent, we need you.

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

    I was just in the process of trying to figure this out and then saw this video. All of your videos are excellent and, of course, this one had my install up and running with no issue (even though I'm running Ubuntu.). Not sure why they are not the most popular but please, keep them comming.

  • @exuno1107
    @exuno1107 11 місяців тому +6

    Easy to follow and solid tutorial. I hope you'll eventually create advanced tutorials on the many nodes available for ComfyUI. Great job!

  • @siamakshams1923
    @siamakshams1923 3 місяці тому

    Thank you - this was one of the best tutorials I've come across for a long time.

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

    Thankyou for taking the time to post this! Very helpful!

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

    Thanks for the updated video. please keep tutorials coming! 😁

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

    Yes, please make more in-depth videos for this app. I have no problem with the length of these videos. Thx for all ur hard work!

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

    Nice sidenote. you can also drag and drop someons image, if origial in comfy ui and you have the workflow and notes to. And with SDXL you should use 1024 x 1024 as default latent image for better result. Comfy UI is the best creativ tool ever.

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

    Yes, thanks for this. I would love to see you do more on this with animatediff , video to video, prompt travel.

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

    The tools change so fast that I'm glad you make theses videos

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

    i've tried to add the confyui manager, went to the exact file, clicked the right mouse button, however no option to open in terminal is visible, is there a reason

    • @odakyuodakyu6650
      @odakyuodakyu6650 7 місяців тому +1

      its because he has installed some special software for the terminal stuff, he forgot to mention that there, but its not a massive problem, you can look at the git page for that manager thing, and it has advice on how to install it, one of them is you download the git software, then you download a particular .bat file and copy paste it to the certain folder in comfyui and then open the .bat file and suddenly it opens git and does all the code and when you restart comfyui the manager thing is there.

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

      same^^^

    • @Sandy-so2hn
      @Sandy-so2hn 4 місяці тому +2

      1-Go to the folder where you want to open a terminal.
      2-Hold the Shift key and then right-click. You should see the "Open PowerShell window here" option.

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

    Matt, seeing a US UA-camr choose Windows is refreshing. No offense to Mac users, but this choice makes you stand out in my eyes even more. Love your channel! 😄

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

    If it doesn't show Manager option, just restart the whole thing. Refreshing page did not do it for me.

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

    First time watching a video about Stable Diffusion, awesome explanation!! thank you!

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

    THAT, was the easy way to use Stable Diffusion?!! Woah! Not questioning you or ComfyUI. I just can't believe that's the _easy_ way! Would hate to see the real one.
    As always, thanks for the video Matt. 💯

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

      yeah, it's quite technical and requires IQ > 120
      hope poor artists can adapt, may be big pharmas invent some smartifying pills for them or smth

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

      @@VincentPride1986 I hope they do too . 👍

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

    I am loving the video but when I get to the part where you go to to terminal to right click the ComfyUI manager file, it bugs and says " the cmd github is not recognized as a cmdlet, function, scriptfile, or operable program. Check the spelling of the (before mentioned right click address, but too long to type) ANY help here?

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

    Like @porcusx I too watched this and followed the steps to install ComfyUI as a non-programmer / non tech person (but interested in seeing how txt to image can work better than Adobe Firefly / DallE etc) I found it very clear and easy to follow compared to others I have recently watched. Well done & thnx Matt!

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

    Just walked into this, this video made it clear on how to use comfy - thanks

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

    Thank you so much for this information and details, we need to know more about ComfyUI especially how to make videos with it.

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

    Loved this! SD newbie, this was awesome!💪🏻

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

    Great video!! Great tutorial and exactly what I was looking for for a couple of weeks. Nice explaining.
    For who is having problems with the openpose and it says it's missing a file: My map url was way to long and I shortened it, it gave conflict.

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

    Comfy UI has a learning curve. But it is the difference between running apps and writing scripts on the command line. Much more powerful and customizable. And the whole workflow is stored in the image itself. There are a lot of web sites that let people share workflows. Just pick the image you like, download it, and drag and drop that image into comfy ui web page. And you can have a dozen comfy ui web pages open at the same time, with different workflows and prompts in each window. You can start by just changing the prompts in other people's workflow, then you can learn how to add a film grain node or a face fix node just before the save node. There are tons of videos here that show you how to build basic workflows, and other videos that show how to use more advanced nodes. :D

  • @bliny_
    @bliny_ 10 місяців тому +4

    It didnt work with the manager-Add-On. My terminal says, that it dont know what "git" means. I made it exactly like the video

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

      same problem

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

      Same here

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

      Do you have git installed and know what it is.

    • @funsterkeyven
      @funsterkeyven 6 місяців тому +1

      Google "git" and install it for Windows

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

    Hey Matt, you did it brother! :)
    Thanks for the tutorial.

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

    5:19 - You do not need any additional software to unpack 7zip, rar or similar archives on Windows 11 anymore! Just right klick it to unzip it using Window's native functionality ;)
    Microsoft added support for unpacking these archives some time ago.

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

    I love BOTH Introductory ComfyUI (step-by-step) AND advanced ComfyUI! Please ...

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

    Thanks Matt. Just getting started with this stuff. Install was a breeze. What is the difference between the base and refiner checkpoints? What is the VAE for? Yes, I will research myself - but a brief mention in the video would be a bonus.

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

    Thanks for the understandible tutorial... i had a lot of fun while preparing it (low key feeling like the biggest hacker Rn XD)

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

    Thankyou for this Matt,I was able to follow along and install sucessfully.

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

    great step by step tutorial, your explanation is perfect, easy to follow, thanks bro !!

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

    16:25 it keeps erroring on me when it gets to the ControlNetLoader step after I've clicked Queue Prompt

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

    This is the most helpful video on the internet by far. Hope he make more advance video for comfyui

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

    Matt, INVOKEAI is a manager for SDXL, and is WAY easier to use and install for everyday people with no coding, 1 click install and models come pre-loaded

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

      Everyone's got their favorite UI. I'm liking ComfyUI at the moment but, over time, I plan to play with and create videos around all of them. :)
      I made this tutorial because ComfyUI specifically was the one I was getting asked about the most.
      However, if people want the easiest path to using Stable Diffusion, that's why tools like Leonardo and Playground AI exist. Those are way easier than all of this. But some people want to know specifically about things like ComfyUI.

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

      @@mreflow totally makes sense, I'm still gonna download it and try it out, thanks again!

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

      ​@@mreflowtrue. InvokeAi has by far the easyest to use interface for local installation but under the hood brings also nodes.
      They are not yet as develloped as comfy but the overal package is agem. I use both. Comfy, but teach invoke to the architects of my company. And for them.. Invoke excels best. You realy have to take a deep look to it. Comfy is for specialists only whyle invoke for all

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

    Dope man! Finally covered ComfyUI. I hounded you about it in the past lol.

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

    super awesome instruction on installation. much appreciated matt !

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

    Ty! Also that slack notification sound made me double check my work xD

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

    Thanks!

  • @thomaslowrey-g1r
    @thomaslowrey-g1r 11 місяців тому

    Great content. Great pacing. Exactly what I was looking for. Subscribed.

  • @sandro-nigris
    @sandro-nigris 10 місяців тому

    Matt you are the great! I love your detailed tutorial; I'm going to try it now... Thanks!

  • @mido5126
    @mido5126 11 місяців тому +7

    Is there a way to make it more suitable for weaker pc's? If so, would you be willing to make a little tutorial on it? That would be so awesome!!!
    Thank you for working this hard! I think this looks really comfy now with the new interface and all.

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

    I'm new to all of this, so quite a bit of what you're talking about it over my head.. can you make a newbie guide to getting into github/huggingface/etc (not a full on github guide or anything, just the things that relate to this stuff) those custom workflow/node graphs are something I really would love to see more on too!! :)

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

    Matt: watched but its alot of time for what our kcxu radio station needs but will share with the youngers

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

    i followed the steps and ran the cpu version and dowmloaded the sdxl files ,put them in place and the moment i write the prompt and press queue prompt it tells me "reconnecting " then tells me "failed to fetch"
    so what is the problem ?

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

    Great clip, thx for great content. I have discovered a lot of great tools because of you, keep doing !

  • @diy.coffee
    @diy.coffee 11 місяців тому +2

    Couldn't add manager. I don't see "Open in terminal" when I right click.

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

    Hi, I just followed this video and set up ComfyUI according to how you do but it's giving me completely black images.

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

      I am getting the same

    • @Milesenberg
      @Milesenberg 3 місяці тому

      @@laortizr I hope Matt or someone posts a solution soon.

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

    Thank you so much for this clear and actually usefull step by step tutorials 🙏🙏🙏

  • @AlwaysCensored-xp1be
    @AlwaysCensored-xp1be 10 місяців тому

    Wish I had seen this first, watched a bunch of SD vids and was clueless. This is tge best explanation and ComfyAI is getting installed. Wonder if it will install on my Pi5?

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

    Hi, At 15:01 I have followed all the steps and when i add the preview image node I cannot see a preview image. Just wondering if I am missing something there?

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

    Excellent tutorial. Thanks for taking the time. I hope people are clicking on the thumbs up.

  • @cyberspider78910
    @cyberspider78910 7 місяців тому +1

    Now this video answered my Noob question. Question : Do I need to install stable diffusion with ComfyUI ? Answer : No....Stable diffusion is a concept, it is a logic, it is a model for generative AI. 'Checkpoints' , 'VAE', 'Safetensor' are what makes up stable diffusion. So essentially those are collectively stable diffusion while Automatic1111, ComfyUI etc are just front end user interface.
    If wrong ,please correct my understanding and Sir, it is 'u-lar' not 'oiler'...and Leonhard Euler - he had been the Prince of Mathematics.

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

    Maybe its the weed that I smoked but this was quite the tutorial. Amazing stuff. All those tweaking abillities ! (and uncencored)

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

    Nice Matt, nailed it again

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

    Thank you for putting this together, it was super useful.

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

    Maybe the real *_comfy user interface_* is all the friends we made along the way.

  • @Charlie-phlezk
    @Charlie-phlezk 11 місяців тому

    One of the most useful videos on the internet. Thank you sir.

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

    A1111 for the win 🎉

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

    I love these types of videos, analytics be-damned!!!

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

    That was fantastic, and if you have the chance to provide more detailed video, it would be truly amazing. Thank you!

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

    why did we download refiner one if we didnt use it? can you please enlighten me

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

    Hello Matt, 14:20 Control net openpose model is not available anymore. Which one would be the alternative?

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

    This is amazing!!!!! Thanks so much this de mystified everything for me!!!!! Keep up the great work

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

    That Slack notification made me wonder where the hell I got that notification, only to find out it's your Slack, not mine :D

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

    Great tutorial ty. For other folks on windows 10 the 'open in terminal' option didn't seem to exist for me so I just navigated there using the commands cd Desktop\whatever. Also once I git cloned comfy manager the refresh button on my browser didn't make it visible, I needed to close the session entirely and re-launch run_nvidia_gpu.bat.

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

    Fab video. Thank you. I'm looking at using ComfyUi to create comics. If you are able to do more videos, that would be great. around consistency, comic art (maybe). Thank you again.

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

    Also - the generated image at the end would have the json data already embedded in it. so you can drag and drop the PNG into the window and it will load the full workflow you used along with the settings.

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

    Great stuff, thanks Matt! More in depth tutorials please 💻

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

    Control net basically told me if I installed it with that install my computer would explode. Update did nothing.

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

    When I try running the run_cpu, it just keeps saying
    '.\python_embeded\python.exe' is not recognized as an internal or external command,
    operable program or batch file.
    I added the C:\Python312\ to Environmental Variables but it's still showing up. I don't know what to do.

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

    Wow that was great I look forward to trying it out. Thanks😊

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

    Great job matt I loved it please do more of it

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

    Hey Matt 👋,
    First off, huge thanks for your video on installing ComfyUI - it's been super helpful! 🙌 I'm really into image generation using fooocus, and I've been curious about automating the upscaling of hundreds of images in a folder to the best possible quality. Your insights on ComfyUI make me think it might be the perfect tool for the job.
    Could you possibly create more tutorials in this area, specifically on upscaling? I'd love to set up a process that runs overnight on my computer, handling bulk image enhancement. 🌙💻
    If you or anyone watching has tips or suggestions on this, I'd be incredibly grateful for your expertise. Looking forward to more of your content!
    Cheers,
    Simon 🚀📷

  • @g.1771
    @g.1771 9 місяців тому

    great job as always matt

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

    yes, more tutorials on custom AI please
    Thanks