ComfyUI > Nodes > ComfyUI-VideoTransition > Video Blink Transition

ComfyUI Node: Video Blink Transition

Class Name

VideoBlinkTransitionNode

Category
VideoTransition
Author
yichengup (Account age: 774days)
Extension
ComfyUI-VideoTransition
Latest Updated
2025-10-27
Github Stars
0.03K

How to Install ComfyUI-VideoTransition

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

Creates seamless blink-like video transitions using black masks and Gaussian blur.

The VideoBlinkTransitionNode is a specialized node designed to create a seamless transition effect between two video clips, mimicking the natural motion of a blink. This effect is achieved by using black masks that simulate eyelid closure, revealing the underlying video with a blur effect. The transition is completed in the blink of an eye, providing a smooth and visually appealing switch from one video to another. Implemented entirely in Python, this node leverages NumPy for efficient array operations and OpenCV for applying Gaussian blur, resulting in a performance boost of over 50% compared to traditional methods. This node is particularly useful for video editors and AI artists looking to add a creative and dynamic transition effect to their video projects without the need for complex software or plugins.

video1

This parameter represents the first video clip that will be used in the transition. It is an essential input as it serves as the starting point of the blink transition effect.

video2

This parameter represents the second video clip that will be transitioned to. It is crucial for completing the blink effect, as the transition will reveal this video as the eyelid mask opens.

total_frames

This integer parameter determines the total number of frames in the transition. It controls the duration of the blink effect, with a default value of 60 frames, a minimum of 4, and a maximum of 300. Adjusting this value will affect the speed and smoothness of the transition.

fps

This integer parameter specifies the frames per second for the transition video. It influences the playback speed, with a default of 30 fps, a minimum of 15, and a maximum of 60. Higher fps values result in smoother transitions.

This optional float parameter controls the speed of the blink effect. With a default value of 1.0, it can be adjusted between 0.3 and 3.0 to create faster or slower blinks, allowing for customization of the transition's pacing.

blur_intensity

This optional float parameter determines the intensity of the blur effect applied to the video during the transition. It ranges from 0.0 to 2.0, with a default of 0.8, allowing you to control how much the video is blurred as the eyelid mask closes.

eyelid_curve

This optional float parameter defines the curvature of the eyelid mask. With a range from 0.0 to 1.0 and a default of 0.3, it allows you to adjust the shape of the eyelid, affecting the visual style of the transition.

edge_feather

This optional float parameter controls the feathering of the mask edges, ranging from 0.0 to 1.0 with a default of 0.2. Feathering softens the edges of the mask, creating a more natural and less abrupt transition.

mask_color

This optional parameter allows you to choose the color of the eyelid mask, with options including "black" (recommended), "white", and "gray". The mask color can influence the visual impact of the transition.

video

The output parameter is a video tensor that represents the completed blink transition effect. This tensor contains the sequence of frames that make up the transition, ready for further processing or playback. The output video showcases the seamless switch between the two input videos, enhanced by the blink effect.

  • Experiment with different blink_speed and blur_intensity settings to achieve the desired visual effect for your project. Faster blink speeds can create a more dynamic transition, while varying blur intensity can add a unique artistic touch.
  • Adjust the eyelid_curve and edge_feather parameters to customize the appearance of the eyelid mask. A higher eyelid curve can create a more pronounced arc, while increased edge feathering results in smoother transitions.
  • Consider the mask_color option to match the transition effect with the overall theme or mood of your video project. Black is recommended for a classic blink effect, but other colors can be used for creative purposes.

"Invalid frame count"

  • Explanation: This error occurs when the total_frames parameter is set outside the allowed range of 4 to 300.
  • Solution: Ensure that the total_frames value is within the specified range to avoid this error.

"Unsupported fps value"

  • Explanation: This error is triggered when the fps parameter is set below 15 or above 60.
  • Solution: Adjust the fps value to be within the acceptable range to ensure smooth playback.

"Invalid mask color"

  • Explanation: This error occurs if an unsupported color is selected for the mask_color parameter.
  • Solution: Choose a valid color option from "black", "white", or "gray" to resolve this issue.

Video Blink Transition Related Nodes

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

Video Blink Transition