ComfyUI: Scaling-UP Image Restoration, SUPIR (Workflow Tutorial)

Поділитися
Вставка
  • Опубліковано 21 гру 2024

КОМЕНТАРІ • 197

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

    @21:29 Slight oversight. Connect the Width and the Height to the downscale from the Image Resize at the bottom (divisible by 32 group) and NOT THE ORIGINAL. Thanks to the user "dr.gurn420" for correctly catching this oversight. The oversight would affect only if Downscaling an non 32 divisible image. Would have no effect if using the rinse and repeat (upscale downscale method) as shown in the video.

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

      Do you mean from the "Divisible by 64" group? I'm reading what you wrote here as exactly what is already happening in the video.

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

      Additionally, are you supposed to connect the image output from the image crop in the "divisible by 64" group and apply that to the image resize image input in the "upscale factor" group? or are you supposed to use the original image as seen in the video? I dont understand why you wouldn't always use the cropped image especially if your upscale factor group is already changing the size to the cropped image heights & widths

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

      Please Check the video further. All output from the image resize is connected to the switch which passes on to the upscale. If you are doing directly connect from the bottom group to upscale factor.

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

      @@KQforever Yes divisible by 64 group (as per that section of the video), When making the video it I was still testing it was 64, then in between I had to switch to 32, finally went with 32. if it works with 32, it will work with 64.

  • @Martin-bx1et
    @Martin-bx1et 8 місяців тому +4

    I think this is probably the most useful ComfyUI tutorial that I have ever watched (and I have watched tons). I am gathering together a suite of workflows that let me blend 3D generated product designs with AI actors and backgrounds and this workflow allows me to easily add a convincing level of blended detail. Most of all I was able to understand what I am doing thanks to your efforts.

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

    Great tutorial. Appreciate the fact that you didn't just dictate what needs to be done but explained as many relevant parameters are possible, going into the "why" of them.

  • @tengdongmei
    @tengdongmei 8 місяців тому +6

    This is one of the most difficult tutorials I have ever heard, almost did not understand, I think I will re-watch several times, hoping to finally understand, thank you very much

    • @ЭаоуиПРайм
      @ЭаоуиПРайм 8 місяців тому

      www.youtube.com/@stephantual

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

      I agree with you. This is God level

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

      Yep, pretty complex just to sharpen a picture. But Hey! Going through it helps you understand better how ComfyUI works.

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

      The guy is working with advanced users. A lot of the setup is for ease of use anyways.

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

      Lost me at math 😂 really needs to be a simple node for doing the resizing. Will simply it a lot

  • @anduvo
    @anduvo 8 місяців тому +4

    Awesome tutorial, very detailed, many thanks for explaining all the parameters, that's very valuable!

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

    It was a very long video, but it was a class that got me hooked one by one. I think I'll be able to try many things thanks to this kind, detailed explanation. thank you!😍

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

    Thank you a lot for such level of precision and the step to step process. Very interesting and effective

  • @RodrigoNishino
    @RodrigoNishino 8 місяців тому +2

    Very cool to see your workflow and learn about new nodes

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

    Best UA-cam Tutorial for Photos... Thank you very much!

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

    You are the best, this is a very helpful video.

  • @ДимитърМарков-ж1э
    @ДимитърМарков-ж1э 7 місяців тому

    Thanks for all the effort you put into explaining every step!

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

    This video is awesome. I'm brand new to all of this but hoping to be able to use this to upscale my landscape photography for larger print sizes. Hopefully I'll be able to figure all of this out.

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

    how to implemet this in krita

  • @Kikoking-y9b
    @Kikoking-y9b 7 місяців тому +1

    Great Tutorial iam thankful
    Somehow in the node ' image resize' i don't have the 'multiple_of', its missing idk why.

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

      Thank you! That image resize is from comfy essentials custom node, there are multiple image resizes look for the one with the wrench icon.

    • @Kikoking-y9b
      @Kikoking-y9b 7 місяців тому

      @@controlaltai iam sorry but its still missing i updated several times and days passed.
      The ' multiple _of' is only missing, somehow.
      I use now the size of the 'Supir Denoiser' preview to be able to get the nearest size that is devisible by 32.
      If you know other solution to work with 'multiple of' you can tell me, please.
      :)

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

      Other solutions are complicated to explain in a comment. You have to do a whole math conversion set of nodes that check divisibility of 32 then send the image width and height to inputs of the image resize. I still think you are using the wrong image resize node. There are several. Enable tags to confirm which image resize node are you using in comfy.

    • @Kikoking-y9b
      @Kikoking-y9b 7 місяців тому

      @@controlaltaiSorry, whats the meaning of : enable tags to confirm.
      I didn't understand how to enable tags, whats that.
      By the way i have other question.
      I did exactly the same workflow with the same reference image and seed and all things. Except the fp-8 unet , i have it on false becauss i have only 8000vram and 32 Gg system Ram.
      Now the question is that i get other output than you got. The face is someone else, its not bad but its different than yours. Is it normal if this happens?

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

      Go to settings and enable badges, this way you can see what custom node does the node belong to. It will show the custom node name on the to right. Okay so, about the different face, that's normal. This is because the image I used has a massive data loss, generative ai is what the name says it is. With every seed you may get a different face. Also using fp8 means less precission. The adding of new data won't be the same as fp 16 or fp32. People normally mis understand the word restore and think the ai would know exactly what the face looked like. Thats un true cause the AI sees what you see just bit more, the word restore comes since it maintains the structure of everything else, like it gets that there is an emblem of sort on the top of the hat, there is a strap for the hat, etc. So its completely normal to get a different face for such a massively lost image.

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

    Thank you for your instructions and rapid answer. I deleted my comment since it does not make sense anymore (first i type comments then the solution comes right away). I watched your video severel times. It took me two hours to understand that it is not "upscaler". You have to upscale image first - then it refines. Again, thank you.

    • @controlaltai
      @controlaltai  4 місяці тому +1

      No worries and welcome. Always happy to help. Yeah all this comfy stuff is pretty complicated. I try to explain as much as I can. But it's too taxing when watching the video. So I understand. Feel free to ask any further questions if any.

  • @汤春晖
    @汤春晖 7 місяців тому +1

    Hello, I would like to inquire whether it is possible to attempt running this workflow with a 6G graphics card and 32G of memory.

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

      Hi, no this workflow won't work with a 6Gb VRAM. I recommend 12 to 16 GB at least.

    • @汤春晖
      @汤春晖 7 місяців тому

      @@controlaltai Yes, I tried this workflow, but it didn't work out, haha... Hello, I would like to ask if you have considered developing a workflow that involves sketching, coloring, and assigning material textures to objects. From a product design perspective, this kind of workflow aligns with the product design process and is highly practical, but I am unsure if current technology supports it to achieve ideal results. If it can be implemented, I believe many people would enjoy it.

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

    What AI voice do you use?

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

    Excellent tutorial :). There is one thing I cannot get to work though - Gemini. I've followed the instructions in the video, used the manager to download/install the gemini nodes, but I do not seem to have any gemini folder. I do have a gemini flash folder (I also installed that one). Any ideas as to how to fix this?

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

      Thanks. It should be in custom nodes folder. If it's not there it's not installed.

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

    I am also trying to use the "Realistic Vision V6.0 B1" and the "epicrealism_naturalSinRC1VAE" model, but whenever I select it , I get the error "SUPIR_model_loader_v2: Failed to load SDXL model" first. When I then choose the "SUPIR-v0q.ckpt" again, it shows this error "SUPIR_conditioner: 'NoneType' object is not callable" - any idea what I am doing wrong?

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

      Supir is SDXL only. And you are using SD 1.5 models. Choose Real Vis XL or Epic XL version models.

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

      @@controlaltai Thanks a lot! My issue is that with the default model it paints fine hair on her forehead between her eyes (there are wrinkles on the original image). any idea how I can avoid that? Is there a way I can turn down "creativity"?

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

      @@jungjunger6929follow the settings shown in the video. I have used the least creativity to maintain consistency to original.

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

    I cannot find the image resize tool, and there is no 'multiple_of' option in my tools. I hope you can give me some guidance. Thank you.

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

      When you search for image resize look out for the one with the wrench icon. It's from comfy essentials node.

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

    Something weird is going on with Math Expression for me - it does not accept Width, Height, ImpactInt - shows an error in the console: Return type mismatch between linked nodes: a, INT != INT,FLOAT,IMAGE,LATENT
    When I put Convert Any node between all a and b inputs, it started working.

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

      Hi, I just tested after your comment, everything is working fine here. Maybe if you build the workflow there is some mis connection or error. If you can email me your build, I can have a look at it and diagnose what is wrong. mail @ controlaltai . com (without spaces). Send the build where you are getting the error. Along with the image you are upscaling.

  • @dr.gurn420
    @dr.gurn420 8 місяців тому

    hey - great video!

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

      Hey, Thanks! Okay, you got the oversight accurately. Let me explain what I was thinking when I did that. If the image is divisible by 32, the crop will not do anything. If not, it will crop the image to the nearest number, which is divisible by 32.
      For the downscale, you are correct. The image resolution is from the original, but the image source is from the cropped. The correct way would be to connect the cropped width and height to the downscale input instead from the original.
      Why it doesn't matter. Because if you have a high res image, we are not going to use SUPIR for restoration. The image is already high res and proper.
      The downscale method here is a rinse-and-repeat method, meaning you take a low-res image and correct it by making it divisible by 32, which is done during upscale, we then use that to downscale, upscale again (rinse and repeat). The divisibility by 32 is fixed during the first upscale pass. Therefor calculation will always be correct in the downscale in the second and subsequent passes, whether width and height are coming from the crop output or the new original.
      This is an oversight from my side, as the downscale was never meant to be used for directly inputting a 4 K image, for example, and downscaling to upscale. It was meant for low-res, to upscale through multiple passes. The first pass would correct the divisibility by 32.
      So, you are the first person to get this oversight correctly. To answer your query, the 100% correct way would be to take the width and height values of the downscale from the cropped output.
      I got the oversight; however, I did not correct it since I only use the downscale for the rinse and repeat, so the res is always divisible by 32, no matter if it is coming from the original or crop output.
      (by image crop output I mean, the width and height from the image resize node in the bottom group)
      I have pinned a message mentioning the correction for the oversight.

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

    Hi, i need help, i have problem in 23:09 . when i connect "IMAGE" to "get image size" the line to original image disconnected. i cant double line like in the video. same problem when i connected "crop image output" to image resize downscale node. how to get double line like that??

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

      Hi, are you taking about the switch ? Inputs? For that just drag and drop the outputs it will keep adding inputs to that node automatically. That's switch any node from impact pack

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

      @@controlaltai No, in 23:09 you can connect multiple lines to a single node, "get image size" from upscale factor got two line, but mine gets disconnected and only allows a single line.

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

      Get image size from comfy essential has a single image input, where am I connecting two inputs there. The switch any node has multiple inputs and only a single input goes to get image size. The get image size has two outputs. Please clarify or email a screenshot circling what you mean exactly.

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

      @@controlaltai Thank you, sorry its my misunderstanding the node, still new here. i follow your workflow tutorial till the end and its WORK now!. Subscribed!

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

    Thank you for the details and excellent video!. I tried this workflow with a black and white photo and the result is very bad, is there a black and white node to replace the Color Match node?

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

      Hi, thanks!! For black and white photos don't use color match. Just bypass. We use color match because sometimes during upscaling the color is lost. If the image is black and white there would be no color loss issue. So bypass that node.

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

      @@controlaltai Thank you for the response !, I didnt find a link to the workflow, is there one?, am trying to follow your video and build the workflow, but its taking quite some time :)

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

      @@SamBeera workflows are shared to paid UA-cam channel members only: Join this channel
      ua-cam.com/channels/gDNws07qS4twPydBatuugw.htmljoin

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

    great vid btw what about coloring and old black and white photo? i think the color match mkl is not enough for it

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

      Thanks. You need ControlNet Recolor for that. Here is the workflow tutorial ua-cam.com/video/hTSt0yCY-oE/v-deo.htmlsi=8JqhnKyic6HmUkee

  • @Amithyst-MAL
    @Amithyst-MAL 4 місяці тому

    Thank you, Seth!

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

    O Brasil manda um abraço! But 2 hours trying to do your job, which is wonderful, but there are a lot of details. Could you not make the Workflow .json file available?

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

      JSon is made available for paid channel members. However you can replicate everything shown. Video has everything shown how to create the workflow.

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

    Hi there, I have some issues with my output image, it's look different from the original image, can you please explain where can I fix this problem? Many thanks!

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

      Hi, what’s your input image? A person? Is the image too pixelated low resolution?

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

    I wonder why I only find Upscales solutions. Is there no way to use a 1024x1024 image and enhance it in detail at same 1024x1024? Is it required to upscale in higher resolution?

    • @controlaltai
      @controlaltai  4 місяці тому +1

      You can Upscale like 1.5x in SUPIR and Downscale back to 1024. You will get all the details. That's basically how it works, maybe I am wrong. if you want to do it at 1024x1024 only, then I think only sharpen will work. Usually a 1.25x upscale also adds a lot of details.

  • @marcoantonionunezcosinga7828
    @marcoantonionunezcosinga7828 4 дні тому

    Would it be possible to do this with a low-resource PC? Is there a website where this can be done for free?

    • @controlaltai
      @controlaltai  4 дні тому +1

      SUPIR requires a license. If you don’t have a powerful system you can rent a you and run workflows there. Probably like run pod or something.

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

    Is there any download for this workflow? Patron membership account?

    • @controlaltai
      @controlaltai  Місяць тому +1

      UA-cam Membership only for now: ua-cam.com/channels/gDNws07qS4twPydBatuugw.htmljoin

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

      @@controlaltai Nice i would love to join your courses 🙂

  • @陈建兴-o7w
    @陈建兴-o7w 7 місяців тому

    I use a tiles node, but the generated image is still in tiles and will not be merged into a single image. What is the reason for this? Is the size of the segmented image appropriate?

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

      Has the process completed at the end, what is your tile size and stride value, along with vram and system ram?

    • @陈建兴-o7w
      @陈建兴-o7w 7 місяців тому

      @@controlaltai 4090 graphics card, 64G memory,
      I uploaded a workflow video on my homepage, ua-cam.com/video/ApgTbjfFsag/v-deo.html Can you take a look and help me solve the problem?
      I have tried sizes over 1280 * 1280, Supir cannot repair images. If it is an image above 1280, how should we handle it? thanks

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

      The video does not show the last part. Do one thing send me your workflow, because obviously there is something wrong, I need to check your workflow on my system. Images above 1280to 1280 should not be a problem., if you have 24gb vram you can upscale to 2k from that resolution. mail @ controlaltai . com (without spaces).

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

    There is no Manager button on my ComfyUI, please help.

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

      You have to install the manager manually

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

      @@controlaltai how to install it?

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

    Great nice work, I have a problem with the Gemini module, I have the api-key I put it in the json file as you explained but I have an error.

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

      Thanks! Gemini will give error on any photo with a face. They have blocked people photos. So even if you upload on gemini pro in browser, it gives error. Everything else works.

  • @gohan2091
    @gohan2091 8 місяців тому +3

    As a newbie to comfyui, I'm overwhelmed both in the complexity and the amazing results. Do I understand it all? No but I would love to play around with it. I have 64GB RAM and a 4090 gpu with 24GB VRAM. To download your workflow, I have to be a paid subscriber?

    • @controlaltai
      @controlaltai  8 місяців тому +9

      Hi, yes for the json, however nothing is hidden behind a paywall in regards to the tutorial. I always showcase everything in the video, showing how to build the entire workflow. But do appreciate any support given. 👍🙏

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

      @@controlaltaiI see. How does your workflow differ from other Supir workflows available? do they have the divisible by 8 and 32 nodes etc that you have? ar they dynamic like yours?

    • @controlaltai
      @controlaltai  8 місяців тому +5

      @gohan2091 You can check out the SUPIR workflow by Dev himself, who implemented this, you will get it under custom node, SUPIR, examples folder. The SUPIR upscale group in the video that’s what the basic workflow consist off, everything else is additional and done by me.
      Also the settings used for the sampler are very different. The workflow will give consistent accurate results, with these settings. The only limiting factor I see is the hardware. If I had better hardware I would just use full tiling for every image and be done with it.
      The workflow has dynamic automation for practical use. For example, you don’t want to calculate every image manually, different tile setting is a unique approach, ability to switch things on the fly and so on….I cannot speak about other SUPIR workflows. I have only seen the default given by the dev.
      Edit: divisibility by 8 is taken care of by comfy, not 32. The issue comes to convert to 8/32 both. You can always manually convert crop outside comfy. Images generated using Stable diffusion won't have any compatibility issues.

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

      @@controlaltaiWe appear to have the same hardware. It's the best we can get at the moment (without spending tens of thousands) I must admit, I am not fully understand the 3 different modes but I will re-watch your video later. I am using the dev workflow now, cannot even figure out how to increase the size but it's definitely improving quality. I am having to guess settings though like s_chum, s_noise, DPMPP eta etc. I guess with your workflow, I would still have to guess the settings?

    • @controlaltai
      @controlaltai  8 місяців тому +2

      @@gohan2091 I do explain the settings in detail, it’s complicated. If you want consistent, high accuracy result, try with the settings I used, changes in the setting mostly result in creative output, which personally, should be avoided for upscaling. But yeah, for example if you want some color change or add more details etc, you have play around with it.
      The tiles matter, in terms of vram usage. Typically close to original, will always give best quality, but above 2k it’s very difficult on 24gb vram. Secondly, on that setting it takes more time, if doing in batches, then maybe a middle ground would be a good balance on speed and quality.
      It just good to have flexibility in the workflow.

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

    It might be better to do an upscale or downscale image the first, and then resize the image to a multiple of 32?

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

      The multiple of 32 applies only if it's not a multiple of 32. Technically it's doesn't matter. You would want the image to be as close to the original as possible. There is no image upscaling before conversion otherwise supir gives error. Downscale is case to case bases. Once the image is a multiple of 32. The entire multiple of 32 process is ignore and nothing in terms of resolution happens to the image.

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

      I agree with you @andrewq7125 . This workflow makes the assumption that you don't start with a downscale. So as long as you start with an upscale it works fine.
      I have a partially blurry image I wanted to try this workflow on with a size of 3168 (w) by 4752 (h). The workflow cropped the image down to 3168 by 3168 but then when downscaled 4x it becomes 792 by 792 which cannot be divided by 32. If I changed the crop factor to being divisible by 128 instead of 32 it worked fine. It just doesn't make sense to have to manually calculate those things in advance considering how automated this workflow is, so best to change the workflow to start with the downscale at the very least, bypass it if not downscaling and then crop and upscale.
      That being said, it's a good tutorial though. As a beginner there's alot I've learned from this tutorial

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

      Hi, I saw the oversight some days back, as pointed out by another user, and provided a solution in a pinned comment. If you start downscaling from the beginning, you just have to make one change.
      "@21:29 Slight oversight. Connect the Width and the Height to the downscale from the Image Resize at the bottom (divisible by 32 group) and NOT THE ORIGINAL. Thanks to the user "dr.gurn420" for correctly catching this oversight. The oversight would affect only if Downscaling an non 32 divisible image. Would have no effect if using the rinse and repeat (upscale downscale method) as shown in the video."
      I hope with this change, the workflow is now fully automated, even in the case of downscale first.

  • @FgAg-xl7yg
    @FgAg-xl7yg 8 місяців тому

    Sorry for the off-topic question, but I was hoping to rely on your knowledge and expertise. Do you know any xl models that have a strong understanding of various backgrounds and environments, such as the interiors of public restrooms, gyms, or trains

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

      Ermm sorry, I am not aware on any such specifically trained models. However I am sure you will find something at civil ai. The only way is to download and test with your prompts as they don't say on what dataset the model is trained in.

    • @FgAg-xl7yg
      @FgAg-xl7yg 8 місяців тому

      @@controlaltai 👍 so seems like the best approach is to experiment with different models and find the ones that work well..in my testing even SD3 doesn't seem to have a perfect grasp of room structures, so it might be challenging with XL but yeah I'll see what I can find. Thanks!

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

    As always, awesome. do you have a link to the finished model. I'm confused 😅

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

      Thanks, What do you mean link to the finished model? Which models are you referring to.

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

      @@controlaltai I meant workflow 😄

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

      You can build the workflow yourself. Everything is shown in the video step by step. I don't hide anything.

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

      @@controlaltai Unfortunately, I can't build it like you have. It gives a lot of errors. That's why I asked. Do you have a workflow and can you share it? 😉

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

      Sorry no. I share everything in the video.

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

    Hello and thanks for the video! I'm a newbie of ComfyUi and I am looking for a workflow img2img that let me "simply" improve realistic detail skin face (texture, pores, etc). Your workflow looks so great but to hard for me :) (my fault!)
    Do you think I can find what I'm looking for?
    Thanks again!

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

      Hi, yeah don't use this workflow, this one is complicated and its not image 2 image. Check out this Ultimate SD Upscale tutorial which allows you to do image 2 image in Comfy easily. ua-cam.com/video/NDw9AjjW1t4/v-deo.html

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

      @@controlaltai Thanks for replying! I saw the tutorial and indeed is easy, but my problem remain, the img generated is still unrealistic (ok, I know fro the tutorial you used an art image) maybe I have to look for some upscaler that gives more realistic appearance to the skin? If it exist :)
      Thanks!

    • @controlaltai
      @controlaltai  7 місяців тому +2

      @@giusparsifal skin is different, and realistic skin is very different, along with the upscale a specific checkpoint would be needed to add details only to skin, plus some Lora’s to make the skin natural. AI has a habit of making the skin like plastic. Civit AI would be a good resource for the checkpoint and Lora. Juggernaut, RealVisXL are two very good checkpoints for skin. Check the trained settings for steps and cfg. Hope this helps.

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

      @@controlaltai yes, I generally use epicrealism as checkpoint too, the problem, for me, is create a workflow to get what I wish...
      Thanks anyway, you're very kind!

  • @WilliamSky-g6p
    @WilliamSky-g6p 3 місяці тому

    Where can I download JSON file please?

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

      JSON files are not shared publicly. They are shared only with paid channel members as an additional bonus who support the channel monetary. However you don't need the json file, as everything is shown in the video on how to build the workflow. We never hide the workflow build.

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

    Good afternoon, how can I find json?the link does not work, the white screen please help!it is very necessary(((

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

      Hello, What link doesn't work? JSON is for channel members. And what does white screen help mean. Elaborate

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

      ​@@controlaltaiI joined a UA-cam community, but nothing happens!!!

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

      ​@@controlaltaia blank screen, dots and a cross...empty...

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

      Well I cannot help with that. Check with UA-cam support if memberships is supported in your country. As far as I can see you are not a member, maybe a subscriber. Contact UA-cam support for further help.

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

    SUPIT e Gemini ConfyUI is not available on ConfyUI Manager (there's no install button). I tried to install using git clone but without sucess. Someone can help?

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

      Its SUPIR, try searching again. I can find it in manager. What environment are you running comfy in?

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

      @@controlaltai Sorry, typing error. Now it works!, python is 3.11 (in the zip file ComfyUI is cu121); Congratulations for your explanation and patience.

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

      Great and Thank You!

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

    Can you share the json workflow file please?

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

      Workflow json is shared to UA-cam paid channel members. You can create the workflow yourself. I have explained everything in the video, nothing about the workflow creation is behind a paywall.

  • @tailongjin-yx3ki
    @tailongjin-yx3ki 8 місяців тому

    hi, after duplicating all your workflow, i can use restore dpm/edm sampler ,but when i use tiled restore dpm/edm sampler it caused error'
    The size of tensor a (48) must match the size of tensor b (128) at non-singleton dimension 3', how can i fix this? many ths

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

      Hi, When using tiled restore, ensure that the tile size is default, this won't cause the error. Do not use the standard or full tile size with tile restore, for some images the number is not divisible correctly.

    • @tailongjin-yx3ki
      @tailongjin-yx3ki 8 місяців тому

      @@controlaltai cool😀, but cause another error'Error occurred when executing ColorMatch:
      stack expects a non-empty TensorList'🙏

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

      Do one thing close and restart command prompt and run tiles fresh. Make sure the color match nodes source is correct. I never encountered that color error. Use the default one. Let me know.

    • @tailongjin-yx3ki
      @tailongjin-yx3ki 8 місяців тому

      @@controlaltai i tried several times, it occurs ocasionally, dont know why

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

      Well only way to know for sure is to check the workflow. And the image. Sendnit to me via email will have a look mail @ controlaltai. com without spaces

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

    TNX! Great tutorial, but there is no way to get JSON File, cuz UA-cam membership not allowed in certain countries(. Any chance to get json from ur tutorial?

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

      I show everything in the tutorial video. You can just follow that and make the workflow yourself.

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

      @@controlaltai Yup, TNX again)

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

      @@Gmlt3000 Definity unfollowed. People are taking this "workflow" too far as if they are the people that MADE the software. peace.

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

    why not just autocrop the image with a-amod64?

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

      I don’t know what that is, but am learning new things every day. If you could elaborate…

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

      @@controlaltai Sorry, I guess % is more common for Modulo. So the function above should be "a-(a%64)" where a is your input resolution, which allows you to get the nearest resolution divisible by 64 (or 32 etc. as needed).
      To elaborate, assuming an image with a width of 550px, the function above would be 550-(550%64) = 550 - (38) = 512.
      Regardless, thanks for the elaborate Tutorial.

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

      ​@@thevoid6756 Thanks for the explanation. Yup I am aware of this.

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

    how to download json? i am the member

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

      JSon is only made available for paid channel members who monetarily support the channel. You can, however, just watch the entire tutorial and create the workflow. Everything is shown in the video. We make it a point with every tutorial that the entire workflow can be created for free and not hide the creation process behind the paywall.

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

    Hey, how can i get json file? Thx!

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

      Hi, Check the members post in community. You should have access to it.

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

      @@controlaltai Got it Gaurav Seth! Thanks for your work!

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

    great video! is the workflow available anywhere? :)

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

      Thank you!! The json is made available for paid channel members. But you can create the workflow yourself as well. Nothing is hidden in the video, as in everything is shown on how to build it.

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

    How do you fix a damaged photo

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

      Thats complicated to explain in a comment. I do explain it in the video. If you have any specific questions, feel free to ask.

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

      ​@@controlaltai i would absolutely love if you could make a tutorial of how to remove bends scratches and such, if possible 🤩

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

      A tutorial is not warranted for that, as it’s dependant on the image. But basically using fooocus in paint technique, masking, cssr or SUPIR bend and scratches can be removed. The workflows depends on the image, hence the tutorial won’t matter, as what will work for a single image won’t work for any other.

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

      ​@@controlaltai okay i saw it a while ago in a tutorial in stable diffusion automatic1111 tho.. But They did use inpainted and it actually worked for a couple of pictures.. Maybe i should see if i can find that again and see if i can replicate in comfyui..

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

      @@supernielsen1223 check out the refinement method in the yolo world in paint out paint workflow. I don’t have a cssr workflow but SUPIR or cssr both should work for restoring.

  • @DJVARAO
    @DJVARAO 8 місяців тому +2

    Well, it didn't work for me. Some images got sharp but most of them got noisy.

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

      What's the upscale factor? For good enough images (very clear) 2x upscale will work, 1x spoils it, 1.5x little better....

  • @Renato-v4b
    @Renato-v4b 5 місяців тому

    download workflow link?

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

      I have explain everything in the video. You can create the workflow following the tutorial.

    • @Renato-v4b
      @Renato-v4b 5 місяців тому

      @@controlaltai I created it, but my native language is Portuguese, so my workflow had a lot of errors because I couldn't understand English, I would like the link to download it, please.

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

      Sorry but ready made json workflows are available only for paid channel members.

  • @video-sketches
    @video-sketches 8 місяців тому

    Hello Friend. Thanks for such a detailed video. This is just a masterpiece. But there is an incomprehensible moment. We are going to engage in an increase. But you have a group to reduce the image (downscale). I reviewed the video several times, but no longer understand what the meaning is in this group? Why do we reduce the image? What is the role of this group? What will happen if you remove it?

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

      Hi, please rephrase the exact name of the group as shown in the video. Is it downscale or are you talking about 4x upscale?

    • @video-sketches
      @video-sketches 8 місяців тому

      @@controlaltai Sorry friend, that's google auto-translate. I'm from Russia and I use a translator. I stand corrected. I'm interested specifically in the group with the image reduction. timecode 34:13

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

      @video-sketches Hi, check this 44:31 on why downscale is there. Basically, you can upscale to add details downscale then upscale again, to get desired results.

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

    I'm seeing so many of these videos for Supir but not a single person has shared the workflows. I am sick and tired of just going through an explanation for this, can someone share the damn workflow for this

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

    Error 400 - Invalid API :(

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

      I refreshed it and it worked

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

      Happy to know you got it working. If there is anything I can help you with let me know.

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

    How to use "instruct pix 2 pix" & "SDXS" in comfyui?

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

      Tutorial for Pix2Pix will be out next week....:)

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

    This is great. Thank you!

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

    Correct - and now extrapolate this to a visual person who can do this and has the technical know-how.
    "Ai wont take your job, but a person using AI - absolutely will" --- Jensen Hwang, CEO of Nvidia 2020

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

    This was a lot like this mathclass meme, starts out simple, get distracted for a second and suddely the whole board is full, luckily this is a video, pause rewind and replay. Phew that was a lot. What if your old images are discolored or faded? Like an old polaroid that turned very red over the years

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

      For old images discoloration it's a bit more complicated. The first thing is to get it to restore to some degree, 1k. Then you have to use another workflow probably the ControlNet re color one.
      ua-cam.com/video/hTSt0yCY-oE/v-deo.htmlsi=bF4qIFUg3K7lnMrk
      The simplest trick would be to make the image black and white and then add color again.
      Finally use SUPIR again to upscale for 2k or higher.
      For cracks and other stuff you can use Fooocus inpainting as shown here...
      ua-cam.com/video/wEd1wPlCBaQ/v-deo.htmlsi=yQJibUveCYe_oaFl

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

    Supir video 😂

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

    Resolved

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

      There is no image to seed node.

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

      @@controlaltai my bad, I've edited the comment above!

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

    It's too much info at the middle. You lost me when you doing the upscale, downscale, and setup the swiches and such.
    I think setting things neatly is nice but it's personal preference and in this case it's not about SUPIR at all.
    Let say I only want to know upscaling 2X I would have to scrub your video back and forth try to go through your switches connection and oh yeah where does that height and width go again???

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

      Well, watch the video right at till the end where the techniques used especially the cases where downscale upscale and downscale are used repeatedly to upscale a single photo. These switches were not added for personal preference only. To show some of the supir techniques you require them. You can however skip just go to the next section. Don't add the switch only the 2x upscale. Connect the height and width from the bottom to the upscale factor input. Wherever the switch connects to.

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

    what a heck am i doing lol😂😂 -im used to stable diffusion and now this...wtf_

    • @controlaltai
      @controlaltai  Місяць тому +1

      Yeah a bit of a learning curve but fully controllable

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

    rip beginner who follow this node in youtube.

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

    Please don't use word "restore" when you generate new data from nothing.

    • @amorgan5844
      @amorgan5844 8 місяців тому +2

      Grandpa is now an AI model.

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

      jupp, its a replace generator with a guide.

    • @Mr.GentlemenX
      @Mr.GentlemenX 5 місяців тому +2

      It actually means exactly what "restore" means, bro: replacing the damaged item with a new one. Don't be too hard on yourself, bro.

    • @Gumibeer77
      @Gumibeer77 5 місяців тому +1

      Quite interesting, how do you “restore” photos?

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

      So a restorator of a damaged oil painting, who restores the painting by substituting damaged areas by painting those in again, must not call his work restoring neither? Please use brain before spreading nonsense.

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

    Specs:
    4070ti 12gb
    32gb ram
    i9
    I got this error when running it
    Error occurred when executing SUPIR_first_stage:
    Allocation on device 0 would exceed allowed memory. (out of memory)
    Currently allocated : 2.47 GiB
    Requested : 4.39 GiB
    Device limit : 11.99 GiB
    Free (according to CUDA): 0 bytes
    PyTorch limit (set by user-supplied memory fraction)
    : 17179869184.00 GiB

    • @controlaltai
      @controlaltai  8 місяців тому +3

      Switch to default tile, use custom resolution, don't upscale 2x. Check original image size. If higher than 1024 then downscale to 1024. One of the above issues, low vram/system ram

  • @ВзаимныйВзаимный-ш9и
    @ВзаимныйВзаимный-ш9и 8 місяців тому

    Am I correct in understanding that this workflow does not use the juggernaut model? I saw different tutorials and they used juggernaut sdxl model everywhere

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

      Yes, it uses RealVis_XL version 4 (baked vae), normal one.