ComfyUI Image Upscaling: Unveiling the Best Methods! (ControlNet, UltimateSD, Iterative, HiresFix)

Sdílet
Vložit
  • čas přidán 13. 06. 2024
  • 🎨 Dive into the world of image upscaling with our latest video, as we explore and compare various methods using ComfyUI! 🚀
    ComfyUI: github.com/comfyanonymous/Com...
    ComfyUI Manager: github.com/ltdrdata/ComfyUI-M...
    Checkpoint Models: civitai.com/
    Upscale Models: openmodeldb.info/
    ControlNet(1.5) Models: huggingface.co/lllyasviel/Con...
    ControlNet(SDXL) Models: huggingface.co/lllyasviel/sd_...
    Workflow: github.com/dataleveling/Comfy...
    ImpactPack: github.com/ltdrdata/ComfyUI-I...
    UltimateSD: github.com/ssitu/ComfyUI_Ulti...
    ControlNet Auxiliary Preprocessors: github.com/Fannovel16/comfyui...
    Install ComfyUI and ComfyUI Manager: • Quick & Easy ComfyUI a...
    In this comprehensive guide, we break down different image upscaling techniques and their impact on image quality. Watch as we dissect each method, providing a detailed walkthrough and insights to help you understand the nuances of image enhancement.
    We showcase side-by-side comparisons of images upscaled with each method, allowing you to witness the differences firsthand. From subtle nuances to significant enhancements, our visual journey helps you make informed decisions about which method suits your needs.
    After rigorous testing and analysis, we share our thoughts on which method emerged as the champion in our image upscaling showdown.
    📈 Timestamps:
    0:00 - Introduction
    0:57 - Requirements
    1:27 - Base Image
    1:49 - Normal Upscale
    2:11 - Model Upscale
    2:53 - Iterative Latent
    4:50 - Iterative Image
    5:23 - UltimateSD
    8:27 - Hires Fix
    9:06 - Results Comparison
    9:43 - Load Image
    10:32 - Outro
    My Hardware Specs
    GPU: 24GB VRAM
    RAM: 32GB
    CPU: 24 Core
    👍 If you're looking to enhance your images with ComfyUI or simply interested in the world of AI image upscaling, don't miss out on this in-depth exploration! Hit that like button, subscribe for more content, and let us know your thoughts in the comments below.
  • Věda a technologie

Komentáře • 45

  • @evanerichards
    @evanerichards Před 23 dny +1

    Supir and Hidiffusion would be good methods to add into your tests now! Thanks for posting this.

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

    Thank you very much for such a detailed oriented video on upscaling! Very nice comparisons among all different methos. I will keep watching this clip until I remember everything! Wonderful video!

  • @brgtubedev001
    @brgtubedev001 Před 4 měsíci +1

    Hi Han, thanks for making this video. It's a really good explanation and walkthrough on upscaling. I've been experimenting with upscaling, and have watched a number of videos. Yours is the most coherent and straightforward explainer I've seen. Thanks again, and all the best for your channel!

  • @jeanyap8320
    @jeanyap8320 Před 4 měsíci +2

    Thanks this is really insightful for a beginner like me. Can’t wait for you to upload more videos in the future!

  • @WalidDingsdale
    @WalidDingsdale Před 4 měsíci

    this upscale comparision is informative, thank you for this detailed walkthrough.

  • @snowflakeandyou5983
    @snowflakeandyou5983 Před 2 dny

    Absolutely insightful, thanksss

  • @colaaluk
    @colaaluk Před 4 měsíci +1

    Great video

  • @yasminastitou
    @yasminastitou Před 4 měsíci +1

    What do you do exactly on 1:59 to get that Normal Upscale window? It seems you just drag, but it can't be. I have been stuck for hours. Did you press any keys, could you break it down? Thanks!

    • @DataLeveling
      @DataLeveling  Před 4 měsíci +3

      Ahh my bad, I duplicated the 'Base Image' node which is a default 'Preview Image' node using Alt + Click and rename it to 'Normal Upscale' for easy comparison.

    • @yasminastitou
      @yasminastitou Před 4 měsíci

      Haha I knew something was off. Editing gets the best of us. However I do not have "Base Image" I have "Save Image" by default. When I duplicate, it doesn't show the upscaled pic. It's empty@@DataLeveling

    • @DataLeveling
      @DataLeveling  Před 4 měsíci +1

      I see, so ComfyUI have 'Save Image' that will save images to the '../ComfyUI/output folder' and 'Preview Image' that will only display the image without saving. The ones that I am renaming are the 'Preview Image' nodes, you can search it by double clicking on a blank space or dragging out from the blue dot at the right side of 'VAE Decode' node.
      When the image is not showing, it is probably because the lines are not connected, at 2:00 I have edited out the footage where I join the lines from the 'Upscale Image By' node to the 'Normal Upscale' node. @@yasminastitou

  • @jeffkoh001
    @jeffkoh001 Před 27 dny

    Hi Han, thanks for the totorial. im in Singapore as well .lets meet for a drink or two if you are keen.

  • @user-pz2co7wg2j
    @user-pz2co7wg2j Před 4 měsíci

    Is there an imgae2upscale workflow?
    I want to convert stock images to a higher resolution.

    • @brgtubedev001
      @brgtubedev001 Před 4 měsíci +2

      It's the same workflow as the above, except instead of upscaling a generated image, you use an image loader and load the image you want to upscale to the "upscale image by" node. You can add CLIP guidance if you want too, in case that's important to you.

  • @user-dn1ol7ep1h
    @user-dn1ol7ep1h Před 4 měsíci +1

    Why My Comfyui got this error when running your workflow, could you please guide me to fix it? I will appreciate that! "Error occurred when executing UltimateSDUpscale:
    mat1 and mat2 shapes cannot be multiplied (154x2048 and 768x320)"

    • @DataLeveling
      @DataLeveling  Před 4 měsíci +1

      Hello, sure thing :)
      This error usually means that there is a conflict between the ControlNet model versions and the Checkpoint model versions. If your checkpoint model ver is SD1.5 you will have to download the Controlnet(1.5) models from huggingface.co/lllyasviel/ControlNet-v1-1/tree/main and if its ver is SDXL it will be from huggingface.co/lllyasviel/sd_control_collection/tree/main.
      Hope this helps!

    • @user-dn1ol7ep1h
      @user-dn1ol7ep1h Před 4 měsíci

      Thanks for the quick reply! I resolved the issue following your advice. You're an amazing CZcamsr, appreciated for your kindness and patience.@@DataLeveling

    • @DataLeveling
      @DataLeveling  Před 4 měsíci

      @@user-dn1ol7ep1h Thanks for the kind words :)

  • @im1480
    @im1480 Před 4 měsíci +1

    Dude, I have installed whatever you said and restarted. But still I don't get anything to select for control net
    Do I have to install some model?

    • @DataLeveling
      @DataLeveling  Před 4 měsíci +1

      Hi, yes you have to install the controlnet models from those in the description.
      If your checkpoint model is SD1.5 then you have to use the SD1.5 controlnet models and if it is SDXL then download the SDXL controlnet models.
      Once you download the models, put it into the controlnet folder.

    • @im1480
      @im1480 Před 4 měsíci +1

      @@DataLeveling I have installed openposeXL2.safetensors (through comfyui manager) for sdxl. Is that okay or do you have some Better suggestion?
      And it will be directly installed in the correct folder right?

  • @user-xc5zo2kj3t
    @user-xc5zo2kj3t Před měsícem

    thanks

  • @Darkwing8707
    @Darkwing8707 Před 2 měsíci

    Is there a reason to use lineart instead of the tile controlnet?

    • @DataLeveling
      @DataLeveling  Před 2 měsíci

      Hihi, I only used this as an example!
      The best way is to use a combination of tile + lineart + depth to keep most of the details consistent :)

  • @mythic_trader
    @mythic_trader Před 4 měsíci

    Brother literally thanks a lot❤ Your indepth explanation is soo awesome. Pls make one video of how to make Ai model like Aitana Lopen in 4 Gb Vram device. Also pls share your discord.
    Thanks man❤

    • @DataLeveling
      @DataLeveling  Před 4 měsíci

      I'm glad it helped you understand better :) I am currently working on a video to achieve AI consistent models, will upload soon :) I will also update the discord in my 'About' page once I have done creating it :)

  • @_gr1nchh
    @_gr1nchh Před 4 měsíci

    Could you make an upscale method that works best on lower end GPU? I'm on 4GB so I can't do 50 steps for upscales. Need something a bit lower if possible.

    • @DataLeveling
      @DataLeveling  Před 4 měsíci

      Hi, I don't think the no. of steps affects the VRAM.
      It is the image size thats really pushing it.
      You could try launching ComfyUI with a lower vram setting but I'm not 100% sure it works, solution: github.com/comfyanonymous/ComfyUI/discussions/1177

  • @magimyster
    @magimyster Před 4 měsíci

    maybe for the last image (HiresFix) that didn't look identical ... I think you should have lowered the denoise 😊

  • @SoniInterio
    @SoniInterio Před 2 měsíci +1

    Can i upscale video like this same workflow please reply?

    • @DataLeveling
      @DataLeveling  Před 2 měsíci +1

      Hi, it probably would not work as there will be too much noise added to each frame causing inconsistency, even with controlnet. (There will be alot of stuttering between frames)
      The way I usually use for vid2vid upscaling is to use animatediff -> controlnet (tile, lineart, depth) -> ultimatesd / latent upscale.
      I'm in the process of making an AnimateDiff tutorial, would explain more about it in the video.

    • @SoniInterio
      @SoniInterio Před 2 měsíci

      Can you make a video on this topic?

    • @DataLeveling
      @DataLeveling  Před 2 měsíci

      @@SoniInterioit will be covered in my AnimateDiff video! :)

    • @SoniInterio
      @SoniInterio Před 2 měsíci

      Where is the video give me link please

    • @DataLeveling
      @DataLeveling  Před 2 měsíci +1

      @@SoniInterioIt is still in the making!

  • @kishirisu1268
    @kishirisu1268 Před 26 dny

    Use tiled upscale if you not stuck in 2022

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

    Hello, please update your links in the comments.

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

      Hi, thanks for informing! :) The links will be clickable once CZcams verifies my identification 👍

  • @edumaganto
    @edumaganto Před 2 měsíci

    upscale by control net metod?

    • @DataLeveling
      @DataLeveling  Před 2 měsíci

      Not exactly a method but I meant to use controlnet as a way of keeping details in conjunction with the upscaling process when going through samplers.
      The best controlnet to go with this would be the tile controlnet.

  • @Cyrecok
    @Cyrecok Před 4 měsíci

    i prefer hiresfix + controlnet tile + big denoise for realistic, sdultimate for others

  • @gibsonl
    @gibsonl Před 4 měsíci

    Model 4x and hires fix that enough