Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > NKD Klein Tools > 😺NKD Klein Postsampling

ComfyUI Node: 😺NKD Klein Postsampling

Class Name

NKDKleinPostsampling

Category
😺NKD Nodes/Klein
Author
nekodificador (Account age: 2573days)
Extension
NKD Klein Tools
Latest Updated
2026-06-17
Github Stars
0.06K

How to Install NKD Klein Tools

Install this extension via the ComfyUI Manager by searching for NKD Klein Tools
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter NKD Klein Tools 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

😺NKD Klein Postsampling Description

Refines sampled images for seamless integration with original content, enhancing colors and edges.

😺NKD Klein Postsampling:

The NKDKleinPostsampling node is an integral part of the Klein workflow, designed to finalize and refine images processed through a sampling chain. This node is the counterpart to the NKD Klein Presampling node and is used to complete the image processing pipeline by taking the output from your sampler and the initial bundle from the start of the chain to produce a polished final image. It is particularly useful for tasks that require seamless integration of sampled images with original content, such as inpainting or detailing. The node ensures that the final image is ready for use by recomposing sampled patches onto the original image at full resolution, maintaining the integrity of the original colors and edges. This process is enhanced by optional features like color matching and seamless edge blending, which can be adjusted to suit the specific needs of your project.

😺NKD Klein Postsampling Input Parameters:

image

This parameter accepts the image output from your sampler. It serves as the primary input for the node, allowing it to process and integrate the sampled image with the original content. The quality and characteristics of this image will directly impact the final output, as it forms the basis of the recomposition process.

bundle

The bundle input carries essential data from the NKD Klein Presampling node, including information about the original image, crop details, and any masks used during processing. This data is crucial for accurately recomposing the sampled image onto the original, ensuring that all elements align correctly and that any detailing or inpainting is applied precisely where needed.

uncrop_feather

This parameter controls how softly the regenerated zone blends back into the original image. It accepts integer values ranging from 0 to 256, with a default value of 10. Higher values result in a more gradual transition between the sampled and original areas, creating a smoother blend, while lower values maintain a crisper edge.

match_original_colors

This float parameter, with a default value of 0.0, determines the extent to which the colors of the sampled image are adjusted to match those of the original image. A higher value increases the color matching effect, ensuring that the final image maintains a consistent color palette throughout.

😺NKD Klein Postsampling Output Parameters:

composite

The composite output is the final image produced by the node, which integrates the sampled image with the original content. This output is ready for use and reflects all the adjustments and recompositions made during the postsampling process, including any color matching and edge blending applied.

debug

The debug output provides a visual representation of the differences between the composite image and the original background. This can be useful for troubleshooting and ensuring that the recomposition process has been executed correctly, allowing you to identify any areas that may require further adjustment.

😺NKD Klein Postsampling Usage Tips:

  • Ensure that the image input is of high quality, as this will directly affect the final output. A well-sampled image will result in a more seamless integration with the original content.
  • Adjust the uncrop_feather parameter to achieve the desired level of blending between the sampled and original areas. Experiment with different values to find the optimal setting for your specific project.

😺NKD Klein Postsampling Common Errors and Solutions:

OpenCV (cv2) is not installed

  • Explanation: This error occurs when the node attempts to use OpenCV for seamless edge blending, but the library is not installed.
  • Solution: Install the opencv-python package to enable seamless edge blending and auto-detect features. You can do this by running pip install opencv-python in your command line or terminal.

Image and mask mismatch

  • Explanation: This error can occur if the image and mask inputs do not align correctly, leading to issues in the detailing or inpainting process.
  • Solution: Ensure that the mask used in the bundle input matches the dimensions and alignment of the image input. Double-check the settings in the NKD Klein Presampling node to ensure consistency.

😺NKD Klein Postsampling Related Nodes

Go back to the extension to check out more related nodes.
NKD Klein Tools
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.

😺NKD Klein Postsampling