ComfyUI > Nodes > ComfyUI-ArchAi3d-Qwen > 🧵 Qwen Image Stitch

ComfyUI Node: 🧵 Qwen Image Stitch

Class Name

ArchAi3D_Qwen_Image_Stitch

Category
ArchAi3d/Qwen/Image
Author
Amir Ferdos (ArchAi3d) (Account age: 1109days)
Extension
ComfyUI-ArchAi3d-Qwen
Latest Updated
2026-04-17
Github Stars
0.05K

How to Install ComfyUI-ArchAi3d-Qwen

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

🧵 Qwen Image Stitch Description

Seamlessly reintegrates processed image regions using advanced blending for cohesive composites.

🧵 Qwen Image Stitch:

The ArchAi3D_Qwen_Image_Stitch node is designed to seamlessly integrate a processed cropped region back into its original image, ensuring a smooth and natural transition. This node is particularly useful for AI artists who work with image manipulation and need to maintain the integrity of the original image while incorporating enhanced or modified sections. By utilizing advanced blending techniques such as feathering, Gaussian, and hard blending modes, the node ensures that the recomposed image appears cohesive and professional. Additionally, the node supports the use of masks for precise blending control, allowing for detailed customization of the stitching process. This functionality is crucial for preserving the original image's quality outside the processed region, making it an essential tool for artists aiming to achieve high-quality image composites.

🧵 Qwen Image Stitch Input Parameters:

processed_image

The processed_image parameter is a tensor representing the cropped and processed section of the original image that you wish to stitch back. This parameter is crucial as it contains the modified content that needs to be reintegrated into the original image. The quality and resolution of this image will directly affect the final output, so it should be processed with care to match the original image's characteristics.

stitch_data

The stitch_data parameter is a dictionary containing metadata about the original and processed images, such as their sizes, crop bounding box, and scaling factors. This information is essential for accurately positioning and scaling the processed image back into the original. It ensures that the stitched region aligns perfectly with the original image's dimensions and location.

mask

The mask parameter is an optional tensor that provides additional control over the blending process. When provided, it allows you to specify which parts of the processed image should be more or less prominent in the final composite. This can be particularly useful for creating smooth transitions or emphasizing specific areas of the processed image.

blend_override

The blend_override parameter is an integer that allows you to manually specify the number of pixels to blend at the edges of the processed image. By default, this is set to -1, which means the node will use the blend settings specified in the stitch_data. Adjusting this parameter can help achieve a more seamless integration, especially when the default settings do not produce the desired effect.

blend_mode

The blend_mode parameter determines the method used for blending the processed image into the original. Options include "feather," "gaussian," "hard," and "mask_only," each offering different levels of smoothness and edge definition. Choosing the right blend mode is crucial for achieving the desired visual effect, with "feather" providing a soft transition and "hard" offering a more defined edge.

debug

The debug parameter is a boolean that, when set to true, enables the output of detailed debug information during the stitching process. This can be invaluable for troubleshooting and fine-tuning the node's performance, as it provides insights into the dimensions and processing steps involved in the stitching operation.

🧵 Qwen Image Stitch Output Parameters:

image

The image output parameter is a tensor representing the final composited image, where the processed region has been seamlessly integrated back into the original. This output is the culmination of the node's stitching process, reflecting all the adjustments and blending techniques applied. It is the primary result that you will use for further processing or final presentation.

🧵 Qwen Image Stitch Usage Tips:

  • Ensure that the processed_image matches the original image's resolution and color profile as closely as possible to avoid noticeable discrepancies in the final composite.
  • Experiment with different blend_mode settings to achieve the desired visual effect, especially when working with images that have complex textures or patterns.
  • Utilize the mask parameter to control the blending process more precisely, allowing for creative effects or to emphasize specific areas of the processed image.

🧵 Qwen Image Stitch Common Errors and Solutions:

Mismatched Image Dimensions

  • Explanation: This error occurs when the dimensions of the processed_image do not align with the expected dimensions based on the stitch_data.
  • Solution: Verify that the processed_image has been correctly scaled and cropped according to the stitch_data specifications before attempting to stitch it back into the original image.

Invalid Blend Mode

  • Explanation: This error arises when an unsupported value is provided for the blend_mode parameter.
  • Solution: Ensure that the blend_mode is set to one of the supported options: "feather," "gaussian," "hard," or "mask_only."

Missing Stitch Data

  • Explanation: This error occurs when the stitch_data parameter is not provided or is incomplete.
  • Solution: Make sure that the stitch_data dictionary contains all necessary information, such as original size, crop bounding box, and scaling factors, to facilitate accurate stitching.

🧵 Qwen Image Stitch Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-ArchAi3d-Qwen
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.

🧵 Qwen Image Stitch