Run SDXL Locally With ComfyUI (2024 Stable Diffusion Guide)

Ғылым және технология

Here's how to install and run Stable Diffusion locally using ComfyUI and SDXL.
Discover More From Me:
🛠️ Explore hundreds of AI Tools: futuretools.io/
📰 Weekly Newsletter: www.futuretools.io/newsletter
😊 Discord Community: futuretools.io/discord
🐤 Follow me on Twitter: / mreflow
🧵 Follow me on Threads: www.threads.net/@mr.eflow
🐺 My personal blog: mattwolfe.com/
Resources From Today's Video:
Install Automatic1111 (First Guide): • Install Stable Diffusi...
GitHub - ComfyUI: github.com/comfyanonymous/Com...
GitHub - ComfyUI-Manager: github.com/ltdrdata/ComfyUI-M...
Install ComfyUI on Mac: • Install ComfyUI on Mac...
stable-diffusion-xl-base-1.: huggingface.co/stabilityai/st...
stable-diffusion-xl-refiner-1.0: huggingface.co/stabilityai/st...
sdxl-vae: huggingface.co/stabilityai/sd...
Civitai: civitai.com/
Train A Model With Your Face: • Inject Yourself into t...
SDXL Workflow Templates: civitai.com/models/118005/sdx...
Sponsorship/Media Inquiries: tally.so/r/nrBVlp
#stablediffusion #ComfyUI #sdxl
Time Stamps:
0:00 Intro
0:35 Why Stable Diffusion?
1:53 Why ComfyUI?
3:11 System Requirements
4:22 Installation Step-By-Step
9:51 The ComfyUI Dashboard
12:00 ComfyUI Manager Add-On
13:26 Setting Up ControlNets
17:22 Finding Even More Models
18:26 Injecting Your Face into The Images
20:09 Sharing Workflows
21:05 Final Thoughts

Пікірлер: 370

  • @AIAnimationStudio
    @AIAnimationStudio4 ай бұрын

    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.👍

  • @jokelashjokelash3956
    @jokelashjokelash39564 ай бұрын

    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
    @kimsannes30533 ай бұрын

    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.

  • @porcusx
    @porcusx4 ай бұрын

    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

    2 күн бұрын

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

  • @WarrenWhitlock
    @WarrenWhitlock4 ай бұрын

    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

  • @nuclear_AI
    @nuclear_AI4 ай бұрын

    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 🤜🤛

  • @latestAiHacks
    @latestAiHacks4 ай бұрын

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

  • @iresineherb7

    @iresineherb7

    4 ай бұрын

    I like your comment

  • @phlezktravels

    @phlezktravels

    4 ай бұрын

    I comment your like ​@@iresineherb7

  • @Sir_Olf

    @Sir_Olf

    3 ай бұрын

    Unless your parents take away your PC :P

  • @cbeausoleil
    @cbeausoleil4 ай бұрын

    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!

  • @heathjantango9072
    @heathjantango90724 ай бұрын

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

  • @Sid-yn4wo
    @Sid-yn4wo4 ай бұрын

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

  • @LaminarRainbow
    @LaminarRainbow4 ай бұрын

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

  • @wassimdarraji9852
    @wassimdarraji98523 ай бұрын

    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

  • @ScottVanKirk
    @ScottVanKirkАй бұрын

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

  • @jonny12345anahi
    @jonny12345anahi3 ай бұрын

    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.

  • @gioelerossini9469
    @gioelerossini94694 ай бұрын

    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!

  • @theawesomerb2807
    @theawesomerb28074 ай бұрын

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

  • @tchristell
    @tchristell4 ай бұрын

    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.

  • @scottmahony4742
    @scottmahony47424 ай бұрын

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

  • @redfieldson
    @redfieldson4 ай бұрын

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

  • @MichaelDeNicola
    @MichaelDeNicola4 ай бұрын

    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.

  • @Dogman580
    @Dogman5804 ай бұрын

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

  • @user-no3mi1rt2t
    @user-no3mi1rt2t4 ай бұрын

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

  • @AllanMcKay
    @AllanMcKay4 ай бұрын

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

  • @IsJonBP
    @IsJonBP4 ай бұрын

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

  • @FunOntheRide
    @FunOntheRide4 ай бұрын

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

  • @curtiscain6368
    @curtiscain63684 ай бұрын

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

  • @RookFett
    @RookFett3 ай бұрын

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

  • @u_walk2251
    @u_walk22513 ай бұрын

    super awesome instruction on installation. much appreciated matt !

  • @WernerBeroux
    @WernerBeroux4 ай бұрын

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

  • @onoff5604
    @onoff56044 ай бұрын

    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.

  • @futuregootecks
    @futuregootecks4 ай бұрын

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

  • @JustMe-ty2rp
    @JustMe-ty2rp4 ай бұрын

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

  • @aigirlsjourney
    @aigirlsjourney4 ай бұрын

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

  • @CineSolutions
    @CineSolutions4 ай бұрын

    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!

  • @asholdingsandassets
    @asholdingsandassets4 ай бұрын

    Really great video. I like your tutorials a lot. I learned quite a bit from you. Thank you for doing these videos.

  • @shhagley
    @shhagley10 сағат бұрын

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

  • @bongkem2723
    @bongkem2723Ай бұрын

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

  • @sandro-nigris
    @sandro-nigris3 ай бұрын

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

  • @FreddyOropeza
    @FreddyOropeza2 ай бұрын

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

  • @djstraylight
    @djstraylight4 ай бұрын

    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

    4 ай бұрын

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

  • @phlezktravels
    @phlezktravels4 ай бұрын

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

  • @Autumnsauce
    @Autumnsauce4 ай бұрын

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

  • @PhilippeVanLoo
    @PhilippeVanLoo2 ай бұрын

    Amazing tut Matt !!! Thank you sooo much ! ❤

  • @Kozitaju
    @KozitajuАй бұрын

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

  • @silentLeo7
    @silentLeo73 ай бұрын

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

  • @edmondenterprisesgrouphold3782
    @edmondenterprisesgrouphold37824 ай бұрын

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

  • @g.1771
    @g.17712 ай бұрын

    great job as always matt

  • @Somanybeats
    @Somanybeats4 ай бұрын

    Excellent tutorial! Up and running. Thank you

  • @TomSamadhi
    @TomSamadhi4 ай бұрын

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

  • @momenhassan9153
    @momenhassan91533 ай бұрын

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

  • @EricMooney
    @EricMooney4 ай бұрын

    You save me so much time! Great tutorial as usual.

  • 4 ай бұрын

    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.

  • @exuno1107
    @exuno11074 ай бұрын

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

  • @NewsNavigator101
    @NewsNavigator1013 ай бұрын

    Great job matt I loved it please do more of it

  • @JohnDontFollowMe
    @JohnDontFollowMe4 ай бұрын

    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.

  • @HBaker40
    @HBaker404 ай бұрын

    Cracking good video! Takes up crazy space!

  • @jokosalsa
    @jokosalsa3 ай бұрын

    you are great at tutorials - love this one!

  • @tecnopadre
    @tecnopadre4 ай бұрын

    Another level of video. Well done. Thank you

  • @user-no9pb1bw3p
    @user-no9pb1bw3p3 ай бұрын

    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.

  • @joseivanrangelrojas5368
    @joseivanrangelrojas53684 ай бұрын

    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

    3 ай бұрын

    Same problem for me

  • @faisalal3435

    @faisalal3435

    3 ай бұрын

    same. any luck?

  • @lolnomy8026

    @lolnomy8026

    3 ай бұрын

    pls tell me that u have it@@faisalal3435

  • @MrGossner

    @MrGossner

    Күн бұрын

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

  • @MrGossner

    @MrGossner

    Күн бұрын

    Edit: it Workt perfectly!

  • @makrailston202
    @makrailston2024 ай бұрын

    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!

  • @slawlaskowski
    @slawlaskowski4 ай бұрын

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

  • @user-uz6ji2fj2s
    @user-uz6ji2fj2s4 ай бұрын

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

  • @patrickpope4655
    @patrickpope46554 ай бұрын

    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.

  • @harrylock2512
    @harrylock2512Ай бұрын

    big thanks! the tutorial is quite neat!

  • @spyders03
    @spyders034 ай бұрын

    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

    4 ай бұрын

    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

    4 ай бұрын

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

  • @tomschuelke7955

    @tomschuelke7955

    4 ай бұрын

    ​@@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

  • @AlwaysCensored-xp1be
    @AlwaysCensored-xp1be2 ай бұрын

    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?

  • @JamesRogersProgrammer
    @JamesRogersProgrammer4 ай бұрын

    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

  • @CamilleKleinman
    @CamilleKleinman3 ай бұрын

    awesome tutorial! thank you so much!

  • @manumartinezkcxu
    @manumartinezkcxu4 ай бұрын

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

  • @CHURCHTINGS
    @CHURCHTINGS4 ай бұрын

    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?

  • @Imhotepsankofa

    @Imhotepsankofa

    3 ай бұрын

    same

  • @omega_jay4355

    @omega_jay4355

    2 ай бұрын

    yah same issue here, anyone know the solution

  • @tomaszsikora5667
    @tomaszsikora566715 күн бұрын

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

  • @omma911
    @omma9114 ай бұрын

    Absolutely based tutorial. Thank you!

  • @shellbythebeach33
    @shellbythebeach334 ай бұрын

    I installed SDiff last month via Discord. But I couldn't get to the right place to use it. Thanks for this video!

  • @AG_before
    @AG_before4 ай бұрын

    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

    2 ай бұрын

    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

    2 ай бұрын

    @@VincentPride1986 I hope they do too . 👍

  • @mkfforging
    @mkfforging4 ай бұрын

    Excellent job!

  • @brentccochran123
    @brentccochran1234 ай бұрын

    Great vid! Yes more Cumfy and Stable Diffusion and local install or Colab install please

  • @mido5126
    @mido51264 ай бұрын

    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.

  • @LordJikanRubeusMaxwellKamigawa
    @LordJikanRubeusMaxwellKamigawa2 ай бұрын

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

  • @dakflash9130
    @dakflash91303 ай бұрын

    Thanks a buch, video helped alot!

  • @GES1985
    @GES19853 ай бұрын

    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!! :)

  • @GrooveFederation
    @GrooveFederation4 ай бұрын

    many thanks for this!

  • @rdrstrengthconditioning757
    @rdrstrengthconditioning7574 ай бұрын

    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.

  • @euromotif4126
    @euromotif41264 ай бұрын

    Good stuff i always wanted to run my own node but lacked the programmer skills

  • @marks7502
    @marks75024 ай бұрын

    yes, more tutorials on custom AI please Thanks

  • @VaikunthaStudio
    @VaikunthaStudio4 ай бұрын

    Thank you so much ❤❤❤

  • @jsa-z1722
    @jsa-z17224 ай бұрын

    Matt you are GOLD. ✨✨✨

  • @jasonyu8020
    @jasonyu80202 ай бұрын

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

  • @AmandaPentonOf
    @AmandaPentonOf4 ай бұрын

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

  • @jsa-z1722
    @jsa-z17224 ай бұрын

    This video is BRILLIANT.

  • @watchdog163
    @watchdog1634 ай бұрын

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

  • @peterpancik
    @peterpancik4 ай бұрын

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

  • @goodie2shoes
    @goodie2shoes4 ай бұрын

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

  • @simfor
    @simfor3 ай бұрын

    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 🚀📷

  • @gregorykackosky1303
    @gregorykackosky13034 ай бұрын

    Great. What do you think aout installing it on virtual machine or in container. Is it very bad idea?

  • @stevenbrownell5592
    @stevenbrownell55924 ай бұрын

    You are so awesome - thank you!

  • @Qpopvr
    @Qpopvr2 ай бұрын

    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?

  • @rixturaxathestxygazlephist9373
    @rixturaxathestxygazlephist93734 ай бұрын

    Hey Matt Wolfe can you update the method to install the manager for this ai. When I tried to copy it and paste it on the terminal it says that it doesn’t recognize it. Can you tell me what’s wrong? If is because I don’t have git installed can you tell us how to installed git for free because when I tried it ask me for money on the page where I have to copy the command to paste it on the terminal. I would really appreciate it 😊

  • @richiemiller5691

    @richiemiller5691

    2 ай бұрын

    I don't have the "open in Terminal" option in my right-click folder options, so I have to open Windows Powershell and paste paths into there. I got it to work after many attempts on one computer...but I forgot how I pulled that off and am now struggling to get the manager installed on a second computer. I would love to somehow get that setting to show up in my right-click menu...but I as yet have no clue. Win 10 op sys.

  • @9bitjim
    @9bitjim2 ай бұрын

    Thanks man!, went as videoed. you got my sub..

  • @FreyaLovesGaming
    @FreyaLovesGaming4 ай бұрын

    Fab video Matt 😀, we have ComfyUI already installed and have been playing around with it over last 2 months or so. We looking at making some video to video and struggle with the tutorials. Any ready made workflows on them please or a easy to follow tutorial on that please (So like a dancing video and get an effect like you would with Runway or Kaiber (not sure if I'm explaining what i mean very well LOL :D).

Келесі