ComfyUI > Nodes > comfyui-MJAPI-party > 自动抠图

ComfyUI Node: 自动抠图

Class Name

KouTuNode

Category
🎨MJapiparty/Tools_api
Author
MoJIeAIGC (Account age: 4197days)
Extension
comfyui-MJAPI-party
Latest Updated
2026-03-25
Github Stars
0.04K

How to Install comfyui-MJAPI-party

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

自动抠图 Description

Automates image background removal using advanced techniques for precise and efficient cutouts.

自动抠图:

KouTuNode is designed to automate the process of image background removal, commonly referred to as "cutout." This node leverages advanced image processing techniques to separate the foreground from the background in an image, making it an invaluable tool for artists and designers who need to isolate subjects for further editing or compositing. By integrating with an external API, KouTuNode ensures high-quality results with minimal manual intervention. Its primary goal is to streamline the workflow for users who require precise and efficient background removal, thus enhancing productivity and creativity in digital art projects.

自动抠图 Input Parameters:

image

The image parameter is the primary input for KouTuNode, representing the image from which the background will be removed. This parameter is crucial as it determines the subject that will be isolated. The image should be provided in a compatible format, and its quality will directly impact the effectiveness of the cutout process.

seed

The seed parameter is an integer that influences the randomness of the background removal process. By default, it is set to 0, but setting it to -1 will enable a random seed, which can lead to variations in the output. This parameter is useful for achieving different results with the same input image, allowing for experimentation and fine-tuning.

mask

The mask parameter is optional and allows users to provide an additional image that acts as a guide for the cutout process. This mask can help refine the areas to be kept or removed, offering more control over the final output. If not provided, the node will rely solely on its internal algorithms to determine the cutout regions.

自动抠图 Output Parameters:

output

The output parameter is the resulting image after the background removal process. It contains the isolated subject with the background removed, ready for further editing or integration into other projects. The quality and accuracy of the output depend on the input parameters and the effectiveness of the cutout algorithm.

自动抠图 Usage Tips:

  • Ensure that the input image is of high quality and resolution to achieve the best cutout results.
  • Experiment with different seed values to explore variations in the cutout process and find the most suitable result for your project.
  • Utilize the mask parameter to guide the cutout process, especially for complex images where the subject and background have similar colors or patterns.

自动抠图 Common Errors and Solutions:

"运行异常,请稍后重试"

  • Explanation: This error indicates a runtime exception, possibly due to network issues or API unavailability.
  • Solution: Check your internet connection and ensure that the API service is operational. Retry the operation after a short wait.

"未获取到有效图片 URL"

  • Explanation: This error suggests that the node failed to retrieve a valid image URL, which is necessary for processing.
  • Solution: Verify that the input image URL is correct and accessible. Ensure that there are no typos or network restrictions preventing access.

"下载图片失败"

  • Explanation: This error occurs when the node is unable to download the image from the provided URL.
  • Solution: Double-check the image URL for accuracy and ensure that the server hosting the image is reachable. Consider using a different image source if the problem persists.

自动抠图 Related Nodes

Go back to the extension to check out more related nodes.
comfyui-MJAPI-party
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.