ComfyUI  >  Nodes  >  comfyui_bmab >  BMAB KSampler Hires. Fix With Upscaler

ComfyUI Node: BMAB KSampler Hires. Fix With Upscaler

Class Name

BMAB KSamplerHiresFixWithUpscaler

Category
BMAB/sampler
Author
portu-sim (Account age: 343 days)
Extension
comfyui_bmab
Latest Updated
6/9/2024
Github Stars
0.1K

How to Install comfyui_bmab

Install this extension via the ComfyUI Manager by searching for  comfyui_bmab
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter comfyui_bmab in the search bar
After installation, click the  Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

BMAB KSampler Hires. Fix With Upscaler Description

Enhance image resolution and quality with high-res sampling and advanced upscaling for AI artists.

BMAB KSampler Hires. Fix With Upscaler:

The BMAB KSamplerHiresFixWithUpscaler node is designed to enhance the resolution and quality of your images by combining high-resolution sampling with advanced upscaling techniques. This node is particularly useful for AI artists who want to improve the details and clarity of their generated images. By integrating both high-resolution sampling and upscaling in a single node, it simplifies the workflow and ensures that the final output is of superior quality. The node leverages various upscaling methods to provide flexibility and control over the final image quality, making it an essential tool for achieving professional-grade results.

BMAB KSampler Hires. Fix With Upscaler Input Parameters:

bind

This parameter represents the BMAB bind object, which contains the initial image data and context required for processing. It is essential for the node to function as it provides the base image and relevant metadata.

steps

Defines the number of sampling steps to be performed. More steps generally result in higher quality images but will take longer to process. The default value is 20, with a minimum of 0 and a maximum of 10000.

cfg_scale

This parameter controls the classifier-free guidance scale, which influences the strength of the guidance during sampling. A higher value can lead to more detailed images but may also introduce artifacts. The default value is 8.0, with a range from 0.0 to 100.0.

sampler_name

Specifies the name of the sampler to be used. Options include various samplers provided by comfy.samplers.KSampler. The default option is 'Use same sampler'.

scheduler

Determines the scheduler to be used for the sampling process. Options include various schedulers provided by comfy.samplers.KSampler. The default option is 'Use same scheduler'.

denoise

Controls the amount of denoising applied during the sampling process. A value of 1.0 means full denoising, while lower values retain more of the original noise. The default value is 0.4, with a range from 0.0 to 1.0.

scale

Specifies the scaling factor for upscaling the image. The default value is 2.0, with a range from 0 to 4.0.

width

Defines the width of the output image. The default value is 512 pixels, with a minimum of 0 and a maximum defined by nodes.MAX_RESOLUTION.

height

Defines the height of the output image. The default value is 512 pixels, with a minimum of 0 and a maximum defined by nodes.MAX_RESOLUTION.

block_number

Indicates the number of blocks to be used in the high-resolution fix process. The default value is 3, with a range from 1 to 32.

start_percent

Specifies the starting percentage of the high-resolution fix process. The default value is 0.0, with a range from 0.0 to 1.0.

end_percent

Specifies the ending percentage of the high-resolution fix process. The default value is 0.35, with a range from 0.0 to 1.0.

downscale_after_skip

A boolean parameter that determines whether to downscale the image after skipping certain steps. The default value is True.

downscale_method

Specifies the method to be used for downscaling the image. Options include "bicubic", "nearest-exact", "bilinear", "area", and "bislerp".

upscale_method

Specifies the method to be used for upscaling the image. Options include "bicubic", "nearest-exact", "bilinear", "area", and "bislerp".

image

An optional parameter that allows you to provide an initial image for processing. If not provided, the image from the bind object will be used.

lora

An optional parameter for providing a BMAB lora object, which can be used to apply additional modifications during the sampling process.

BMAB KSampler Hires. Fix With Upscaler Output Parameters:

BMAB bind

This output parameter returns the updated BMAB bind object, which contains the processed image data and context. It is essential for further processing or saving the final image.

image

This output parameter provides the final upscaled and high-resolution fixed image. It is the main output that you will use for your artistic projects, ensuring enhanced details and clarity.

BMAB KSampler Hires. Fix With Upscaler Usage Tips:

  • Experiment with different upscale_method options to find the best quality for your specific image.
  • Adjust the steps parameter to balance between processing time and image quality.
  • Use the denoise parameter to control the level of detail and noise in the final image.
  • Utilize the scale parameter to achieve the desired resolution without losing image quality.

BMAB KSampler Hires. Fix With Upscaler Common Errors and Solutions:

"Invalid bind object"

  • Explanation: The bind object provided is either missing or invalid.
  • Solution: Ensure that you provide a valid BMAB bind object as input.

"Unsupported upscale method"

  • Explanation: The specified upscale method is not supported.
  • Solution: Choose an upscale method from the provided options: "bicubic", "nearest-exact", "bilinear", "area", or "bislerp".

"Image dimensions out of range"

  • Explanation: The specified width or height is outside the allowed range.
  • Solution: Ensure that the width and height are within the minimum and maximum values defined by nodes.MAX_RESOLUTION.

BMAB KSampler Hires. Fix With Upscaler Related Nodes

Go back to the extension to check out more related nodes.
comfyui_bmab
RunComfy

© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.