FAST, EASY, and FREE Generative AI Tool [Stable Diffusion | Fooocus]

Sdílet
Vložit
  • čas přidán 6. 07. 2024
  • JOIN OUR DISCORD! / discord In this tutorial, I give you an introduction to Stable Diffusion using the WebUI Fooocus - perhaps the fastest, easiest and free way to get started with generative AI to date. We will create a space helmet made from Chinese porcelain as an example. If you have any questions or want to see more tutorials for generative AI, let me know in the comments!
    Support my work by getting the wallpaper from this video!
    miroleon.gumroad.com/l/wallpa...
    Fooocus on GitHub - github.com/lllyasviel/Fooocus...
    7zip Download - www.7-zip.org/
    Guidance Scale Explanation - getimg.ai/guides/interactive-...
    Computerphile on Stable Diffusion - • How AI Image Generator...
    Find my other artwork on Instagram - / miroxleon
    Follow me on Twitter - / miroxleon
    For all other links and contact, visit my website - miroleon.de/links
    Previous Three.js Parallax Tutorial • Create this 3D PARALLA...
    Previous Three.js Tutorial Gradient HDRs • Level Up Your Renderin...
    Previous Three.js Tutorial Introduction • Create this 3D WEB REN...
    Previous Three.js Surface Imperfection Tutorial • Improve Your THREE.JS ...
    0:00 Introduction
    0:16 Download Fooocus
    0:30 Download 7zip
    0:51 Unpacking Fooocus with 7zip
    1:00 Starting Fooocus
    1:40 Opening the WebUI
    2:08 First Prompt
    2:21 System Requirements
    3:00 Checking GPU and VRAM
    3:30 Prompt Improving by Weighting
    4:25 Fooocus Advanced Settings
    4:35 Set Resolution and Ratio
    4:44 Quality vs Speed Mode
    5:30 Negative Prompt
    5:45 Seed
    6:24 Styles in Fooocus
    7:08 Fooocus Model, LoRA, and Refiner
    7:26 Guidance Scale
    7:56 Fooocus Output Folder
    8:22 Fooocus Log File
    8:43 Fooocus Image Input
    8:49 Creating Variations
    9:08 Image Prompts
    9:12 Fooocus Inpainting
    9:44 Fooocus Outpainting
    9:58 Image Upscaling
    10:25 Outro
    #GenerativeAI #GenerativeAIart #StableDiffusion #Fooocus #GitHub #Free #FreeDownload #Tutorial #Beginners #BeginnersGuide #BeginnerFriendly

Komentáře • 30

  • @miroxleon
    @miroxleon  Před 8 měsíci +9

    If you're curious about my wallpaper, you can get it via Gumroad now!
    miroleon.gumroad.com/l/wallpaper_inflate_land

  • @chokdeesam2365
    @chokdeesam2365 Před 8 měsíci +1

    It’s amazing content ! Thank you so much ❤

    • @miroxleon
      @miroxleon  Před 8 měsíci

      Thank you for your kind comment (as always)! It's always such a great pleasure to see names reappear from previous comments! I hope you keep finding value in my videos in the future!

  • @bryanbrewer4272
    @bryanbrewer4272 Před 3 měsíci +1

    you can put whatever resolutions you want in that tab. its very easy.

    • @miroxleon
      @miroxleon  Před 3 měsíci

      Oh, thank you for your comment and the update! Much appreciated!

    • @bryanbrewer4272
      @bryanbrewer4272 Před 3 měsíci

      @@miroxleon i can fil you in if you need.

  • @polgia9314
    @polgia9314 Před 7 měsíci +3

    Very useful video, but i'd like to understand better models and loras, and how to use material from sites like civitai

    • @miroxleon
      @miroxleon  Před 7 měsíci

      Thank you for your comment! I can surely do another tutorial for more advanced techniques, using models and LoRAs from CivitAI in A1111 and training your own models and LoRAs with Koya. It's good to know that there is demand for this type of video! I'll work on it soon!

    • @polgia9314
      @polgia9314 Před 7 měsíci +1

      @@miroxleon that would be great! personally i'm starting with fooocus, which i find easy to start with but i don't always get the results i want! for example, i'd like to use the same model i created (a person for a sort of comic i'm creating) and i'd like to use poses of other models online, any suggestion?

    • @miroxleon
      @miroxleon  Před 7 měsíci

      ​@@polgia9314 I understand, Fooocus can be somewhat limited in that regard. To get started, have a look at how to install A1111. For models, I personally had the best quality/time performance with a model called "Cyber Realistic", which you can find on CivitAI. However, I have only little experience with "comic" style models. For controlling poses, you should have a look at ControlNet and OpenPose. With those, you can determine the pose of the character that the AI will render, which then also helps with consistency. There is also the OpenPose Editior for A1111, with which you can easily manipulate a pose and adapt it to your needs (there are also people who post their poses for OpenPose online to download). I'm keen to make a more detailed tutorial about this in the near future, but in the meantime, you are also welcome to join our discord. There, we also have an AI channel where you can chat and ask your questions (although there are many other more specialised AI Discords, too)!
      discord.gg/4GcfAxJDXc

    • @polgia9314
      @polgia9314 Před 6 měsíci +1

      @@miroxleon thanks a lot for your advice, I’m gonna look into it 😄

  • @spence9593
    @spence9593 Před 7 měsíci +1

    How do you start it once its already installed after a fresh window boot? Do you need to remember the link or do you have to reinstall and click the link again?

    • @miroxleon
      @miroxleon  Před 7 měsíci +2

      Thank you for your comment! I'm not perfectly sure if I understand the question correctly, but I'll try to answer in the best way I can: Since Fooocus comes as an embedded package, you don't have to "install" anything in the common sense of the term. What happens when you first run the .bat file is that the terminal opens, which then downloads the required models so that Stable Diffusion can turn your prompt into an actual image (as a reminder: Fooocus is the user interface; Stable Diffusion is the algorithm; Python is the language). So, once you downloaded all the necessary files, you can run Fooocus via the .bat file. When you close Fooocus by closing the terminal and rebooting your PC, you can start it in the same way that you started it the first time. Simply double-click the .bat file in the original folder. It doesn't have to download everything again. The models are stored automatically in the folder. However, Fooocus is regularly updated, so sometimes it will download updated models as well. You simply have to keep the terminal open for as long as you use Fooocus. If you close the terminal, Fooocus will also close. When you open Fooocus via the .bat file again, it should start the local server itself and automatically open the UI in the browser again. Otherwise you can type the link or ctrl + click the link in the terminal to open the web UI again.
      So, you just keep that one folder that you originally downloaded and always start Fooocus there. If you want to "uninstall" Fooocus, simply delete that folder. There shouldn't be anything else you have to do to "uninstall" it. Since this is not the same intuitive way to open programs such as Photoshop etc., you can make it a bit easier to start by right-clicking on the .bat file, searching for "Create Shortcut", which might be hidden under "Show more options" and then copy-paste the shortcut to your desktop or pin it to your start menu. Then you can simply double-click that shortcut and it will start the terminal to run the Fooocus UI. Again, the terminal has to stay open for Fooocus to run. When you close the terminal, Fooocus closes as well and probably the browser which started to show the Fooocus UI will also close.
      I hope my long-winded explanation helped a bit to clarify the usage of Fooocus. If I didn't answer your question, please feel free to ask again. You're also welcome to join our discord if you need any further help or want to exchange more ideas with the community!
      discord.gg/wxj6YTDuEW

  • @italotorres3653
    @italotorres3653 Před 6 měsíci +1

    how many interations/second are you getting in this 3080 mobile? i am thinking about to buy a 3080ti laptop with 16gb vram.

    • @miroxleon
      @miroxleon  Před 6 měsíci +1

      Thank you for your comment! I must confess that I just changed my setup, so I cannot easily check the old setup's performance and cannot recall the it/s (or s/it) from the top of my head. What I can say is that Stable Diffusion (whether through Fooocus or A1111) ran decently well on that Razer 14 with the 3080. Sure, the fans start spinning, and doing AI animation work isn't fun, but for single image generation, I'd assume a laptop with a 3080ti laptop edition to be equipped well enough. I'll try to run a test soon and get back to you, though! You can also join our Discord and put your question in the AI channel. Then it'd be easier to get back to you once I did a test (and maybe others can help as well)!
      discord.com/invite/3xxNV52MCZ

    • @miroxleon
      @miroxleon  Před 6 měsíci +1

      I managed to check the old setup with the Razer 14/3080 Laptop GPU now. I hope this isn't too late and still is helpful for you...!
      This isn't comprehensive by any means, but on Fooocus, the laptop peaks at around 1.55 it/s. When I do a quick test through A1111, I tend to be at around 1.15 s/it. I haven't spent time optimising or benchmarking this in this setup yet, so these are the out-of-the-box numbers. If you have any further questions, you can still join the conversation on Discord!

  • @alexfernandesportrai
    @alexfernandesportrai Před 7 měsíci +1

    Hi thanks for the video. To Uninstall, do I just delete the folder?

    • @miroxleon
      @miroxleon  Před 7 měsíci +1

      Thank you for your comment! You mean to uninstall Fooocus? Yes, you simply delete the folder to "uninstall". Since the entire "program" is just the execution of Python scripts, and since Python is embedded in the Fooocus folder, once you delete the folder, there shouldn't be any traces left on your hard drive (unless you copy-pasted stuff from the Fooocus folder to other locations on your hard drive). I hope this helps. If you have any further questions, don't hesitate to ask!

    • @alexfernandesportrai
      @alexfernandesportrai Před 7 měsíci +1

      Thank you 🙏

  • @mecharun4996
    @mecharun4996 Před 3 měsíci +1

    Spend 6gb for every time open the ai model? Or just one time

    • @miroxleon
      @miroxleon  Před 3 měsíci +1

      Thank you for your comment! No worries, you should only have to wait for the download of the model once! Sometimes there are Fooocus updates that come with new models, so they will download together with the update. But you don’t have to re-download and wait for the model every time you open the app! I hope this helps!

    • @mecharun4996
      @mecharun4996 Před 3 měsíci +1

      @@miroxleon thankyou

  • @CRISSBLAZINY
    @CRISSBLAZINY Před 7 měsíci +1

    On a mac can work?

    • @miroxleon
      @miroxleon  Před 7 měsíci +3

      Thank you for your comment! It's quite a bit more difficult on Mac OS and since I don't have an M1 or M2 Apple device, I wasn't able to test it yet. You can refer to this unofficial guide on the official GitHub repository for this. I hope this helps. AI tools natively for Mac OS are a bit more rare these days, but I hope you find something that works for you...!
      github.com/lllyasviel/Fooocus#mac

  • @FloNocode
    @FloNocode Před 5 měsíci +1

    Hi, it work with Apple M1 or just in windows ? ?

    • @miroxleon
      @miroxleon  Před 5 měsíci +1

      Thank you for your comment! The short answer is 'yes', although I cannot verify, as I don't have an Apple Silicon device. However, there is an unofficial guide on how to use Fooocus on M1 and M2 devices. As they say: "You can install Fooocus on Apple Mac silicon (M1 or M2) with macOS 'Catalina' or a newer version. Fooocus runs on Apple silicon computers via PyTorch MPS device acceleration. Mac Silicon computers don't come with a dedicated graphics card, resulting in significantly longer image processing times compared to computers with dedicated graphics cards."
      Here is the link to the instructions:
      github.com/lllyasviel/Fooocus?tab=readme-ov-file#mac
      I wish you the best of luck and success getting this to run on your M1 device! Feel free to let us know how this went!

    • @FloNocode
      @FloNocode Před 5 měsíci +1

      @@miroxleon Thanks you for your return ! Your video is really interesting

    • @miroxleon
      @miroxleon  Před 5 měsíci

      Thank you very much!

  • @thebadsideofme4229
    @thebadsideofme4229 Před 5 měsíci

    Can i run it on a rtx 3050 laptop

    • @miroxleon
      @miroxleon  Před 5 měsíci

      Thanks for your comment! The answer is: it depends, but it should work. I did a quick web search which showed that there are different versions of the RTX 3050 Laptop GPU. There are versions from 4GB to 8GB VRAM. Principally, both should work, but it's difficult to estimate without knowing the entire specs. However, you can check the VRAM yourself easily, as described and shown at 2:21 of the video. I would just give it a try to run Fooocus if I were in your situation. My best guess is that it might be slow, but it should work anyway...! Feel free to let us know how it went if you try to run it. Then, if someone else is trying to run Fooocus on a 3050 in the future, they might find value in this info!