Visit ComfyUI Online for ready-to-use ComfyUI environment
Enhance AI model resolution handling with shift parameter for precise outputs.
The ModelSamplingAdvancedResolution
node is designed to enhance the resolution handling capabilities of AI models by allowing users to set a "shift" parameter using either exponential or linear scaling methods. This node is particularly beneficial for models like SD3.5M and Flux, which default to exponential scaling, and SD3.5L and SD3 2B beta, which use linear scaling. By adjusting the shift parameter, you can fine-tune the model's resolution processing, leading to more precise and tailored outputs. This node is essential for AI artists who wish to optimize their models' performance in generating high-resolution images, ensuring that the scaling method aligns with the specific requirements of their project.
The model
parameter represents the AI model that you wish to apply the advanced resolution sampling to. It is a required input and serves as the base upon which the resolution adjustments will be made. This parameter is crucial as it determines the initial configuration and capabilities of the model before any modifications are applied.
The max_shift
parameter defines the upper limit of the shift value that can be applied to the model's resolution. It has a default value of 1.15, with a minimum of 0.0 and a maximum of 100.0. This parameter is adjustable in increments of 0.01. By setting the max_shift
, you control the extent to which the model's resolution can be increased, allowing for finer details in the output.
The base_shift
parameter sets the starting point for the shift value, with a default of 0.5, a minimum of 0.0, and a maximum of 100.0. Like max_shift
, it is adjustable in increments of 0.01. This parameter is essential for establishing the baseline resolution adjustment, ensuring that the model's output begins with a consistent level of detail.
The width
parameter specifies the width of the output image in pixels. It has a default value of 1024, with a minimum of 16 and a maximum determined by the node's maximum resolution capability. The width is adjustable in steps of 8 pixels. This parameter is vital for defining the horizontal dimension of the output, impacting the overall aspect ratio and detail level.
The height
parameter determines the height of the output image in pixels, with a default value of 1024, a minimum of 16, and a maximum set by the node's maximum resolution capability. Like the width, it is adjustable in steps of 8 pixels. This parameter is crucial for setting the vertical dimension of the output, affecting the aspect ratio and the amount of vertical detail.
The output model
parameter represents the modified AI model after the advanced resolution sampling has been applied. This output is crucial as it reflects the changes made to the model's resolution handling capabilities, allowing for improved image generation with the specified shift and scaling adjustments.
max_shift
and base_shift
values to find the optimal balance between detail and performance for your specific model and project requirements.width
and height
parameters to match the desired output resolution, keeping in mind the aspect ratio and the level of detail you wish to achieve.shift
value calculated from max_shift
and base_shift
exceeds the allowable range.max_shift
and base_shift
values are set within the specified limits and adjust them to maintain a valid shift range.width
or height
exceeds the node's maximum resolution capability.width
and height
values to fall within the permissible range, ensuring they do not surpass the maximum resolution limit.RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Playground, enabling artists to harness the latest AI tools to create incredible art.