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 > Erase

ComfyUI Node: Erase

Class Name

ComfyTV.EraseStage

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

Erase Description

Facilitates precise removal of unwanted elements from video regions for enhanced visual focus.

Erase:

The ComfyTV.EraseStage node is designed to facilitate the removal of subtitles or other unwanted elements from specific regions of a video. This node is particularly useful for video editors and AI artists who need to clean up video content by erasing text or graphics that may distract from the main visual elements. By specifying a region within the video, users can precisely target and erase these elements, enhancing the overall quality and focus of the video. The node operates by allowing users to define the exact coordinates and dimensions of the region to be erased, ensuring that only the desired area is affected. This targeted approach helps maintain the integrity of the surrounding video content while effectively removing unwanted elements.

Erase Input Parameters:

region_x

The region_x parameter specifies the x-coordinate of the top-left corner of the region to be erased. It determines the horizontal starting point of the area within the video where the erasure will occur. The value can range from 0 to 8192, with a default of 0, allowing for precise control over the horizontal positioning of the erasure region.

region_y

The region_y parameter defines the y-coordinate of the top-left corner of the region to be erased. It sets the vertical starting point of the area within the video where the erasure will take place. The value can range from 0 to 8192, with a default of 0, providing precise control over the vertical positioning of the erasure region.

region_w

The region_w parameter indicates the width of the region to be erased. It determines how wide the erasure area will be, allowing users to specify the horizontal extent of the region. The value can range from 0 to 8192, with a default of 0, enabling users to adjust the width according to their specific needs.

region_h

The region_h parameter specifies the height of the region to be erased. It determines the vertical extent of the erasure area, allowing users to define how tall the region will be. The value can range from 0 to 8192, with a default of 0, providing flexibility in adjusting the height of the erasure region.

video

The video parameter is an optional input that allows users to provide the video file from which the region will be erased. This input is crucial for the node to perform its function, as it specifies the source video that will undergo the erasure process.

Erase Output Parameters:

video

The video output parameter provides the processed video with the specified region erased. This output is essential as it delivers the final video product, free from the unwanted elements that were targeted for removal. The output video maintains the original quality and format, ensuring that the erasure process does not degrade the overall video content.

Erase Usage Tips:

  • Ensure that the region_x, region_y, region_w, and region_h parameters are set accurately to target the exact area you wish to erase. This precision will help maintain the integrity of the surrounding video content.
  • Use the video input parameter to provide a high-quality source video, as this will ensure the best results after the erasure process.

Erase Common Errors and Solutions:

"Invalid region dimensions"

  • Explanation: This error occurs when the specified region dimensions exceed the boundaries of the video or are set to zero.
  • Solution: Double-check the region_x, region_y, region_w, and region_h parameters to ensure they are within the valid range and correctly define the desired region.

"Video input not provided"

  • Explanation: This error indicates that the video input parameter has not been supplied, which is necessary for the node to function.
  • Solution: Provide a valid video file as input to the video parameter to enable the erasure process.

Erase 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.

Erase