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 > Smart Image Crop and Stitch

ComfyUI Extension: Smart Image Crop and Stitch

Repo Name

ComfyUI-Smart-Image-Crop-and-Stitch

Author
HallettVisual (Account age: 638 days)
Nodes
View all nodes(2)
Latest Updated
2026-06-25
Github Stars
0.03K

How to Install Smart Image Crop and Stitch

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

Smart Image Crop and Stitch Description

Smart Image Crop and Stitch offers mask-driven crop and stitch nodes for ComfyUI, enhancing inpaint and edit workflows by allowing precise image modifications.

ComfyUI-Smart-Image-Crop-and-Stitch Introduction

ComfyUI-Smart-Image-Crop-and-Stitch is an innovative extension designed to enhance your image editing workflows, particularly when working with high-resolution images. This extension is a custom node pack for ComfyUI, aimed at streamlining processes such as inpainting, detailing, resizing, and editing. By focusing on specific areas of an image, it allows for faster and more efficient processing. The extension automatically crops the necessary parts of an image based on an active mask, processes these parts, and then seamlessly stitches them back into the original image. This tool is particularly useful for AI artists who want to make precise edits without affecting the entire image, saving both time and computational resources.

How ComfyUI-Smart-Image-Crop-and-Stitch Works

The extension operates through two main nodes: the Smart Image Crop and the Smart Image Stitcher. Imagine you have a large canvas, and you only want to paint over a small section. Instead of repainting the entire canvas, you can focus on just that section. Similarly, this extension allows you to isolate and work on specific parts of an image.

  1. Smart Image Crop: This node identifies the area of interest using a mask. It can detect even faint masks and convert them into solid ones. The node then crops the image around this mask, ensuring that the dimensions are suitable for processing models. If no mask is present, it offers options to either bypass, resize, or crop the entire image.
  2. Smart Image Stitcher: Once the cropped section is processed, this node reintegrates it back into the original image. It offers various blending modes to ensure that the edited section merges seamlessly with the rest of the image.

ComfyUI-Smart-Image-Crop-and-Stitch Features

  • Mask Detection and Processing: Detects light grey masks and converts them into solid masks. It can also fill holes in the mask and adjust its size by growing or shrinking it.
  • Flexible Output Sizes: Automatically adjusts the crop dimensions to model-friendly values like 1024 or 1280 pixels, ensuring compatibility with various processing models.
  • Preview Overlay: Provides a visual overlay that shows the mask tint and crop border, helping you visualize the area being processed.
  • Blending Modes: Offers different modes such as Box Feather, Mask Feather, and Hard Paste to blend the processed section back into the original image.
  • Color Matching: Optionally matches the color of the processed section with the original image for a more cohesive look.
  • No-Mask Modes: Provides options for handling images without masks, such as bypassing, resizing, or cropping the full image.

ComfyUI-Smart-Image-Crop-and-Stitch Models

The extension does not specify different models but is designed to work seamlessly with various image processing models by ensuring that the cropped sections are compatible in terms of size and format.

What's New with ComfyUI-Smart-Image-Crop-and-Stitch

The extension is continually updated to improve performance and user experience. Recent updates have focused on enhancing the precision of stitching, optimizing memory usage, and integrating features like pre-resizing and outpainting directly into the crop node. These improvements ensure that the extension remains efficient and user-friendly, providing AI artists with a powerful tool for their creative workflows.

Troubleshooting ComfyUI-Smart-Image-Crop-and-Stitch

If you encounter issues while using the extension, here are some common solutions:

  • Problem: The mask is not being detected properly.
  • Solution: Ensure that the mask is fully opaque. Even slight transparency can affect detection. Use image editing software to verify the mask's opacity.
  • Problem: The processed section does not blend well with the original image.
  • Solution: Experiment with different blending modes and enable color matching to achieve a seamless integration.
  • Problem: The extension is running slowly.
  • Solution: Switch from CPU to GPU mode if possible, as this can significantly speed up processing.

Learn More about ComfyUI-Smart-Image-Crop-and-Stitch

To further explore the capabilities of this extension, you can access additional resources such as tutorials and community forums. These platforms provide valuable insights and support, helping you make the most of the extension in your creative projects. For more information on ComfyUI, visit ComfyUI on GitHub.

Smart Image Crop and Stitch Related Nodes

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.

Smart Image Crop and Stitch detailed guide | ComfyUI