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 > ComfyTV > Cutout

ComfyUI Node: Cutout

Class Name

ComfyTV.CutoutStage

Category
ComfyTV/Image
Author
jtydhr88 (Account age: 5469days)
Extension
ComfyTV
Latest Updated
2026-06-11
Github Stars
0.06K

How to Install ComfyTV

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

Cutout Description

Facilitates extraction of specific image portions for focused editing and manipulation, enhancing workflow efficiency and precision.

Cutout:

The ComfyTV.CutoutStage node is designed to facilitate the extraction of specific portions of an image, effectively allowing you to isolate and work with particular areas of interest within a larger visual context. This node is particularly beneficial for tasks that require focused editing or manipulation of image segments, such as creating cutouts for compositing, enhancing specific details, or preparing assets for further processing. By providing a streamlined method for defining and extracting image regions, the CutoutStage node enhances your workflow efficiency and precision, enabling you to achieve more targeted and refined results in your creative projects.

Cutout Input Parameters:

x

The x parameter specifies the horizontal starting point of the cutout region in pixels. It determines the top-left corner's X-coordinate from where the cutout will begin. The value must be within the range of 0 to 8192 pixels, with a default setting of 0. Adjusting this parameter allows you to shift the cutout region horizontally across the image, enabling precise control over the area you wish to extract.

y

The y parameter defines the vertical starting point of the cutout region in pixels. It sets the top-left corner's Y-coordinate for the cutout operation. This parameter accepts values from 0 to 8192 pixels, with a default of 0. By modifying this value, you can move the cutout region vertically, allowing for accurate selection of the desired image segment.

w

The w parameter represents the width of the cutout region in pixels. It determines how wide the extracted area will be, with a minimum value of 2 pixels and a maximum of 8192 pixels. The default width is set to 512 pixels. Adjusting this parameter enables you to control the horizontal extent of the cutout, ensuring that the extracted portion meets your specific requirements.

h

The h parameter indicates the height of the cutout region in pixels. It specifies the vertical size of the area to be extracted, with permissible values ranging from 2 to 8192 pixels. The default height is 512 pixels. By altering this parameter, you can define the vertical extent of the cutout, tailoring the extracted region to fit your project's needs.

video

The video parameter is an optional input that allows you to provide a video source from which frames can be extracted for the cutout operation. This parameter is particularly useful when working with video content, as it enables you to select specific frames for image extraction. If no video is provided, the node will operate solely on static images.

Cutout Output Parameters:

video

The video output parameter provides the resulting video after the cutout operation has been applied. This output contains the extracted region from the input video or image, allowing you to utilize the cutout segment in subsequent stages of your workflow. The output is crucial for integrating the isolated image portion into larger projects or for further processing and editing.

Cutout Usage Tips:

  • Ensure that the x, y, w, and h parameters are set accurately to define the desired cutout region, as these values directly impact the portion of the image or video that will be extracted.
  • When working with video content, use the video input parameter to specify the source, allowing you to extract frames for cutout operations and achieve dynamic results.
  • Adjust the w and h parameters to match the aspect ratio of the desired output, ensuring that the extracted region fits seamlessly into your project's visual composition.

Cutout Common Errors and Solutions:

"Video Clip needs an upstream video — wire one into the video input."

  • Explanation: This error occurs when the node is executed without a valid video input, which is necessary for processing video frames.
  • Solution: Ensure that a video source is connected to the video input parameter before executing the node to avoid this error.

"Video Clip: end_s must be > start_s"

  • Explanation: This error indicates that the specified end time for the video clip is not greater than the start time, which is required for a valid cutout operation.
  • Solution: Adjust the end_s parameter to ensure it is greater than the start_s parameter, allowing for a valid time range for the cutout process.

Cutout Related Nodes

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

Cutout