ComfyUI Node: Custom Crop Area

Class Name

CustomCropArea

Category
SuperUltimateVaceTools
Author
bbaudio (Account age: 164days)
Extension
ComfyUI-SuperUltimateVaceTools
Latest Updated
2025-10-31
Github Stars
0.13K

How to Install ComfyUI-SuperUltimateVaceTools

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

Custom Crop Area Description

Facilitates precise cropping of images or video frames to specified areas for enhanced focus and manipulation in creative projects.

Custom Crop Area:

The CustomCropArea node is designed to facilitate the cropping of images or video frames to a specified area, allowing you to focus on a particular region of interest. This node is particularly useful in scenarios where you need to upscale or manipulate specific sections of an image or video, providing flexibility and precision in your creative projects. By defining the dimensions and position of the crop area, you can effectively isolate and enhance parts of your visual content, making it an essential tool for AI artists looking to refine their work with detailed control over the cropping process.

Custom Crop Area Input Parameters:

width_upscale

The width_upscale parameter determines the width of the area to be cropped and upscaled. It allows you to specify the horizontal dimension of the crop area, ensuring that the selected region is accurately captured and resized. The minimum value for this parameter is 16, the maximum is determined by the system's maximum resolution, and the default value is set to 1280. Adjusting this parameter impacts the horizontal extent of the cropped area, which can be crucial for focusing on specific details within the image or video.

height_upscale

The height_upscale parameter sets the vertical dimension of the crop area to be upscaled. Similar to the width_upscale, this parameter allows you to define the height of the region you wish to crop and enhance. The minimum value is 16, the maximum is constrained by the system's maximum resolution, and the default is 1280. This parameter is essential for determining the vertical scope of the crop, enabling you to capture and upscale the desired section of your visual content effectively.

Custom Crop Area Output Parameters:

result_video

The result_video output parameter provides the final cropped and upscaled video or image section. This output is crucial as it represents the processed visual content that has been isolated and enhanced according to the specified input parameters. The result_video allows you to view and utilize the refined section of your image or video, making it a vital component for further creative manipulation or presentation.

Custom Crop Area Usage Tips:

  • To achieve the best results, ensure that the width_upscale and height_upscale parameters are set according to the specific area you want to focus on. This will help in maintaining the quality and detail of the cropped section.
  • When working with high-resolution images or videos, consider the maximum resolution limits of your system to avoid errors or performance issues. Adjust the crop dimensions accordingly to fit within these constraints.

Custom Crop Area Common Errors and Solutions:

"Resolution exceeds maximum limit"

  • Explanation: This error occurs when the specified width_upscale or height_upscale exceeds the system's maximum resolution.
  • Solution: Reduce the values of width_upscale and height_upscale to fit within the allowed resolution limits.

"Invalid crop dimensions"

  • Explanation: This error is triggered when the crop dimensions are set to values that are not supported, such as negative numbers or zero.
  • Solution: Ensure that the width_upscale and height_upscale parameters are set to positive values within the specified range.

Custom Crop Area Related Nodes

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