ComfyUI > Nodes > DJZ-Nodes > Video Ring Painter

ComfyUI Node: Video Ring Painter

Class Name

VideoRingPainter

Category
image/effects
Author
DriftJohnson (Account age: 4052days)
Extension
DJZ-Nodes
Latest Updated
2025-04-25
Github Stars
0.04K

How to Install DJZ-Nodes

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

Video Ring Painter Description

Enhance video frames with customizable ring effect for visual emphasis.

Video Ring Painter:

The VideoRingPainter node is designed to enhance video frames by applying a ring effect around specified areas, defined by a mask. This node is particularly useful for artists and creators looking to highlight or emphasize certain parts of a video frame with a customizable ring effect. By adjusting parameters such as stroke width, blur, and colors, you can create visually striking effects that draw attention to specific elements within your video. The node processes each frame individually, ensuring that the ring effect is consistently applied across all frames in a batch. This capability makes it an essential tool for video editing and artistic projects where visual emphasis is required.

Video Ring Painter Input Parameters:

images

This parameter represents the batch of images or video frames that you want to process. Each frame in the batch will have the ring effect applied based on the provided mask and other parameters.

mask

The mask is a crucial input that defines the areas of the image where the ring effect will be applied. It acts as a stencil, allowing you to specify which parts of the image should be highlighted with the ring.

stroke_width

This integer parameter controls the width of the ring stroke. A larger value results in a thicker ring, while a smaller value produces a thinner ring. The default value is 20, with a minimum of 0 and a maximum of 999.

stroke_blur

This integer parameter determines the amount of blur applied to the ring stroke, creating a softer edge. The default value is 6, with a range from 0 to 100. Increasing the blur can help blend the ring more naturally into the image.

highlight_color

This string parameter specifies the color of the ring in hexadecimal format (e.g., #FF0000 for red). The default color is red, but you can choose any color to match your artistic vision.

background_color

This string parameter sets the color of the background area outside the ring. Like the highlight color, it is specified in hexadecimal format, with a default of black (#000000).

highlight_opacity

This float parameter controls the opacity of the ring, allowing you to adjust its transparency. The default value is 0.8, with a range from 0.0 (completely transparent) to 1.0 (fully opaque). Adjusting the opacity can help achieve the desired visual effect.

Video Ring Painter Output Parameters:

preview

The preview output is an image that shows the result of applying the ring effect to the input frames. It provides a visual representation of how the ring and colors interact with the original image, allowing you to assess the effect before finalizing your project.

ring_mask

The ring_mask output is a processed mask that represents the areas where the ring effect has been applied. This mask can be used for further processing or compositing in other video editing tasks.

Video Ring Painter Usage Tips:

  • Experiment with different stroke widths and blur levels to achieve the desired visual effect. A thicker stroke with a slight blur can create a bold, eye-catching ring, while a thinner stroke with more blur can produce a subtle highlight.
  • Use contrasting highlight and background colors to make the ring stand out more prominently against the image. This can be particularly effective for drawing attention to specific elements in a busy scene.

Video Ring Painter Common Errors and Solutions:

"Input mask dimensions do not match image dimensions"

  • Explanation: This error occurs when the dimensions of the input mask do not match those of the input images.
  • Solution: Ensure that the mask is correctly sized to match the dimensions of the images you are processing. You may need to resize or adjust the mask accordingly.

"Invalid color format"

  • Explanation: This error indicates that the highlight or background color is not specified in a valid hexadecimal format.
  • Solution: Double-check the color values to ensure they are in the correct format, such as #RRGGBB, where RR, GG, and BB are hexadecimal digits.

Video Ring Painter Related Nodes

Go back to the extension to check out more related nodes.
DJZ-Nodes
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 Playground, enabling artists to harness the latest AI tools to create incredible art.