This video, the third installment in the ComfyUI Advanced Understanding series, focuses on ControlNet and Upscaling techniques. Key topics covered include:
Apply ControlNet and Apply ControlNet (Advanced).start_percent, end_percent).Canny Edge Preprocessor is used to extract edges from the reference image, making it understandable for ControlNet.low_threshold, high_threshold) in Canny adjust the detail level of the extracted edges.image input of the Apply ControlNet (Advanced) node [Image 12].Load ControlNet Model node is used to select the control_v11p_sd15_canny.safetensors model.strength of 1.0 is often too high, as it gives the ControlNet too much control.strength to 0.7 allows the base model (checkpoint) more creative freedom while still maintaining the pose guidance.start_percent and end_percent control the duration of ControlNet's influence during sampling.strength to 1.0 from 0% to 30% of steps, then 0% strength for the rest, ensures initial composition is strong, while allowing the model freedom later.dpmpp_2m_sde or euler_ancestral is beneficial when start_percent is greater than 0, as they offer more freedom in noise movement between steps.DWPose Estimator node is used as the preprocessor.DWPose Estimator is configured to detect body, hands, and face.Realistic Vision checkpoint is used for the base model, and the prompt is adjusted to "beautiful blonde woman standing wearing a fashion pink dress".control_v11f1e_sd15_tile.safetensors model is used.end_percent (e.g., to 0.8) for Tile ControlNet can increase its influence throughout the generation process, making the output more closely resemble the reference colors.Upscale Image By node, applying standard interpolation methods like Lanczos or Bicubic.Upscale Latent By node, which operates on the compressed latent representation of the image.Inject Noise node is used, taking the upscaled latent image and a noisy latent image (from Noisy Latent Image node) as inputs, as shown in the workflow [Image 18].strength parameter of Inject Noise controls how much new noise is added, influencing the level of detail generation.start_at_step and end_at_step parameters of the KSampler determine when the noise injection occurs.start_at_step is set to the point where the image was last stable before upscaling (e.g., 12 steps if initial generation was 25 steps).dpmpp_2m_sde) is often recommended for noise injection to provide the model more freedom to add details, leading to a more refined image [Image 25].Image Tile node is used to split the image into a batch of smaller images (tiles). Parameters include cols, rows, and overlap.Image From Batch nodes are used to extract individual tiles for processing.Depth Anything V2) and Tile ControlNet with tiling, shown in the complex workflow [Image 26].Image Composite Masked nodes.Solid Mask and Feather Mask nodes are used to create soft edges between the tiles, blending them smoothly.openmodeldb.info, are specifically trained to enhance image resolution and detail.Upscale Image (using Model) node is used to apply these models, as seen in the workflow [Image 32].Upscale Model Loader node loads the desired upscaling model (e.g., 4x_UltraSharp.pth).Image Apply LUT node (Look-Up Table) can be used to apply color grading or correction to match desired color profiles [Image 32].strength to fine-tune the color output, resulting in a detailed image [Image 31].ComfyUI_UltimateSDUpscale or Tiled Diffusion can automate many of these steps for daily use.