ComfyUI > Nodes > ComfyUI > HiDream-O1 Patch Seam Smoothing

ComfyUI Node: HiDream-O1 Patch Seam Smoothing

Class Name

HiDreamO1PatchSeamSmoothing

Category
advanced/model
Author
ComfyAnonymous (Account age: 763days)
Extension
ComfyUI
Latest Updated
2026-05-13
Github Stars
112.77K

How to Install ComfyUI

Install this extension via the ComfyUI Manager by searching for ComfyUI
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI 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
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

HiDream-O1 Patch Seam Smoothing Description

Enhances model outputs by smoothing seams in image generation through patch-grid averaging for seamless visuals.

HiDream-O1 Patch Seam Smoothing:

The HiDreamO1PatchSeamSmoothing node is designed to enhance the quality of model outputs by addressing and eliminating seams that may appear during the image generation process. This node achieves its purpose by averaging the model output across multiple shifted patch-grid positions, particularly during the later stages of sampling. By doing so, it effectively cancels out seams that can occur when different patches of an image are stitched together. This method is particularly beneficial for AI artists who aim to produce seamless and visually appealing images, as it ensures a smoother transition between patches, resulting in a more cohesive final image. The node is categorized under advanced model operations and is marked as experimental, indicating its cutting-edge approach to solving common issues in image generation.

HiDream-O1 Patch Seam Smoothing Input Parameters:

model

This parameter represents the model input that the node will process. It is essential for the node to function, as it provides the base data upon which the seam smoothing operations will be performed.

start_percent

This parameter determines the point in the sampling process at which the blending operation begins. It is expressed as a percentage, with a range from 0.0 to 1.0, where 0.0 represents the start of the sampling and 1.0 represents the end. The default value is 0.8, meaning the blending starts when 80% of the sampling is complete. Adjusting this value affects when the seam smoothing effect is applied during the image generation process.

end_percent

This parameter specifies the point in the sampling process at which the blending operation ends. Like start_percent, it is expressed as a percentage, ranging from 0.0 to 1.0. The default value is 1.0, indicating that the blending continues until the end of the sampling process. This parameter allows you to control the duration of the seam smoothing effect.

pattern

This parameter defines the shift layout used during the seam smoothing process. It offers two options: "single_shift" and "symmetric". The "single_shift" option involves one pass at the natural patch grid with additional offset passes, while the "symmetric" option involves all passes being off-grid, with shifts split around the origin. The default setting is "single_shift". This parameter influences the pattern of shifts applied to the patches, affecting the final image's smoothness.

passes

This parameter determines the number of passes per gated step during the seam smoothing process. It offers options such as "2", "4", "ramp_2_4", and "ramp_2_4_8". The default is "2", which means a fixed number of two passes. The "ramp_*" options allow the pass count to increase as sampling approaches the end, providing more smoothing where seams are most visible. This parameter controls the intensity and effectiveness of the seam smoothing operation.

blend

This parameter specifies the blending method used to combine the shifted patch outputs. It offers three options: "average", "window", and "median". The default is "average", which applies an equal-weight mean. The "window" option uses Hann-windowed weighting to favor each pass away from its patch boundaries, while the "median" option uses a per-pixel median to reject wraparound-outlier passes. This parameter affects how the final image is composed from the shifted patches.

strength

This parameter controls the interpolation between the natural-grid prediction (0) and the averaged result (1). It ranges from 0.0 to 1.0, with a default value of 1.0. Adjusting this parameter allows you to fine-tune the balance between the original model output and the seam-smoothed result, providing flexibility in achieving the desired level of smoothing.

HiDream-O1 Patch Seam Smoothing Output Parameters:

model

The output parameter is the processed model, which has undergone the seam smoothing operation. This output is crucial as it represents the final image with reduced or eliminated seams, resulting in a more visually appealing and cohesive image. The effectiveness of the seam smoothing process is reflected in this output, making it an essential component for AI artists seeking high-quality image generation.

HiDream-O1 Patch Seam Smoothing Usage Tips:

  • To achieve optimal seam smoothing, start with the default settings and adjust the start_percent and end_percent parameters to control when the smoothing effect is applied during the sampling process.
  • Experiment with different pattern and passes settings to find the best combination for your specific image generation task, as these parameters significantly impact the smoothness and quality of the final image.
  • Use the blend parameter to test different blending methods and determine which one produces the most visually pleasing results for your images.

HiDream-O1 Patch Seam Smoothing Common Errors and Solutions:

"Invalid start and end percentages"

  • Explanation: This error occurs when the end_percent is less than or equal to the start_percent, which is not a valid configuration.
  • Solution: Ensure that the end_percent value is greater than the start_percent value to define a valid range for the seam smoothing effect.

"Strength value out of range"

  • Explanation: This error indicates that the strength parameter is set outside its valid range of 0.0 to 1.0.
  • Solution: Adjust the strength parameter to a value within the specified range to ensure proper interpolation between the natural-grid prediction and the averaged result.

HiDream-O1 Patch Seam Smoothing Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

HiDream-O1 Patch Seam Smoothing