ComfyUI: Upscale any AI Art or Photo (Workflow)

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hi I am Seth and welcome to the channel did you know you can take any image generated from mid-journey Blue Willow or even a non-aii photo and upscale it for free take this drawing for example I used mid-journey to generate this and I can easily upscale this to 4K or even 8K I have scaled it in seconds with a free tool via comfy UI and stable diffusion let me show you how [Music] if you don't know what stable diffusion or comfy UI is I suggest you check out the link in the description which contains all the basics to get started you must have comfy UI manager installed go to the manager where you can see install custom nodes click there and search for ultimate here you need to install ultimate update scale a script by coyote a I had done one tutorial regarding this tool for automatic 1111. this one is basically a direct script Port from automatic 1111 after installation close the command and restart the UI now I will start from the basics first you need to add a checkpoint I am going to select the official sdxl safe.tensor second I am adding the load image node this allows us to load any image we want to upscale I am selecting an image generated by a mid Journey which is 1024 by 1024 resolution in the checkpoint node you should connect the model clip and vae so first I am adding a negative and positive prompt I would be missing these two nodes into one for Simplicity if you don't know how I am doing this please check out my previous comfy UI video I explained the basis there double-click and search for ultimate and I am adding the ultimate upscale node in the upscale ultimate node you can see that it has inputs for image model positive negative vae and upscale model the model should be connected with the model from checkpoint and then connect to positive and negative points from the prompt's nested nodes for the vae you should again connect from the checkpoint node connect the image input from the load image node in the upscale buy you can choose anything higher than one to a Max of 4. what this does is it will upscale according to the input so if you buy 1.75 it will upscale the image as per the input given change the randomize to fix and let the seed remain at zero for now for an image to image upscale always change the model to none change the tile width and height to 1024 we would need this in the next part of the tutorial we won't change anything else for now because we have selected the model to none in the second part of the tutorial we will change some values as I will show you how to use a prompt for text to image and upscale via this method we need an upscale model input mode so let's do that here I am using the 4X foolhardy romacri upscale model you can use any model this one or the 4X Ultra sharp one and Google search any model name and download it from hugging face now I will connect the image output to either save preview or both nodes for the tutorial I am only connecting a preview node the image is now 4K without any loss and details for the second part of the tutorial I will show you how to upscale using just a text prompt rather than image to image a simple prompt painting of a cat in the forest we need to pass it through a sampler for text to image upscale using this tool for the latent image I will use an empty latent image node and change the resolution to 1024 by 1024 we must also connect to positive and negative conditioning to the case sampler as well as the model the latent output from the case sample should connect to the vae decode node connect the checkpoint vae to the decode node now connect the image output from the vae decode node to the image input in the ultimate SD upscale node thank you now here the denoi strength is completely reversed one means one hundred percent and 0.4 means 40 percent we don't want to put one here because as the image passes through the case sampler to Ultimate SD upscale and it will replace the entire image with bizarre results so I will keep the value at 0.15 to keep the original image generated by the K sampler to make sure the scene fixed annoys value is the same as well in the mode type I am selecting linear as the tiling method this will make tiles of 1024 by 1024 up to the specified resolution ensure the case sampler setting is the same as in the ultimate SD upscale node foreign is done let's try and see what comes up you can see in the command prompt that the image size will be 4096 by 4096 and the tiles amount is 16 meaning it will run 16 times at step 20 to generate the upscale image with your prompt foreign is perfect with this tool I can upscale the 4X image again and again I have upscaled up to 19 000 resolution but it takes some time it's like 64 seconds on my PC which is pretty good this is the perfect tool for me to upscale my mid-journey or blue willow images and any photos I have I hope you got to learn something from this video and if you did I highly appreciate a like thank you for your support so far until next time foreign [Music]
Info
Channel: Control+Alt+AI
Views: 5,990
Rating: undefined out of 5
Keywords: comfyui, stable diffusion, midjourney upscale, midjourney upscale to 4k, midjourney upscale to max, comfyui tutorial, sdxl, ultimate sd upscale comfyui, ultimate sd upscale stable diffusion, ultimate sd upscaler, stable diffusion xl, sdxl 1.0, comfyui nodes, sdxl workflow, comfyui guide, how to upscale midjourney images, img2img, comfyui workflow, comfy upscaler, blue willow upscale, comfyui upscale, comfyui ultimate sd upscale
Id: NDw9AjjW1t4
Channel Id: undefined
Length: 11min 39sec (699 seconds)
Published: Fri Sep 15 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.