Nodes/ComfyUI_Sora/Video Watermark Advanced (高级水印)
ComfyUI Node

Video Watermark Advanced (高级水印)

A ComfyUI node in Ken-Chen/sora with 45 inputs and 2 outputs.

By xuchenxu168·Created 10 months ago·Updated 9 months ago· 5
Video Watermark Advanced (高级水印)
  • video
  • watermark_image
  • video
  • info
watermark_typetext
enable_watermarktrue
tracking_modenone
tracking_positionabove
tracking_offset_x0
tracking_offset_y-50
enable_anti_occlusionfalse
occlusion_detection_methodbrightness
min_target_confidence0.50
smooth_trackingtrue
smoothing_factor0.30
batch_modefalse
batch_video_folder
batch_output_folder
text_content© 2025 Your Brand
font_size48
font_colorwhite
text_positionbottom_right
text_opacity0.70
auto_remove_bgfalse
bg_color_modewhite
bg_threshold240
image_positiontop_right
image_scale0.15
image_opacity0.80
combined_layouttext_below_image
combined_spacing10
text_effectnone
margin_x20
margin_y20
animationnone
animation_duration2.0
move_directionleft_to_right
rotation_speed30
scale_range_min0.5
scale_range_max1.5
blink_frequency2.0
enable_multi_positionfalse
multi_position_presetfour_corners
position_listtop_left,top_right,bottom_left,bottom_right
position_switch_interval3.0
add_shadowtrue
shadow_offset2
CategoryKen-Chen/sora

Inputs (45)

NameTypeDefaultDescription
videoVIDEO输入视频(单个或批量)
watermark_typeCOMBOtext水印类型
enable_watermarkBOOLEANtrue
tracking_modeoptCOMBOnone目标跟踪模式:none=固定位置, face=跟随人脸, body=跟随人体, object=跟随物体
tracking_positionoptCOMBOabove水印相对目标的位置
tracking_offset_xoptINT0-500–500跟踪时的X偏移
tracking_offset_yoptINT-50-500–500跟踪时的Y偏移
enable_anti_occlusionoptBOOLEANfalse自动调整位置避开重要内容
occlusion_detection_methodoptCOMBObrightness遮挡检测方法:brightness=亮度, edge=边缘, saliency=显著性
min_target_confidenceoptFLOAT0.500.1–1目标检测最小置信度
smooth_trackingoptBOOLEANtrue使用平滑算法减少抖动
smoothing_factoroptFLOAT0.300.1–0.9平滑系数(越小越平滑)
batch_modeoptBOOLEANfalse是否批量处理多个视频
batch_video_folderoptSTRING批量处理的视频文件夹路径
batch_output_folderoptSTRING批量输出文件夹路径
text_contentoptSTRING© 2025 Your Brand
font_sizeoptINT4812–200
font_coloroptCOMBOwhite9 options: white, black, red, green, blue, yellow, +3
text_positionoptCOMBObottom_right10 options: top_left, top_center, top_right, center_left, center, center_right, +4
text_opacityoptFLOAT0.700–1
watermark_imageoptIMAGE水印图片
auto_remove_bgoptBOOLEANfalse自动移除纯色背景(白底、黑底等)
bg_color_modeoptCOMBOwhite背景颜色模式
bg_thresholdoptINT2400–255背景检测阈值(越高越严格)
image_positionoptCOMBOtop_right10 options: top_left, top_center, top_right, center_left, center, center_right, +4
image_scaleoptFLOAT0.150.01–1
image_opacityoptFLOAT0.800–1
combined_layoutoptCOMBOtext_below_image文字和图片组合布局(仅当watermark_type=both时生效)
combined_spacingoptINT100–100文字和图片之间的间距(像素)
text_effectoptCOMBOnone文字特效(curved=弧形文字)
margin_xoptINT200–500
margin_yoptINT200–500
animationoptCOMBOnone动画效果类型 - 新增10种吸引眼球的效果
animation_durationoptFLOAT2.00.1–30动画持续时间(秒)- 数值越大动画越慢
move_directionoptCOMBOleft_to_right4 options: left_to_right, right_to_left, top_to_bottom, bottom_to_top
rotation_speedoptFLOAT301–360旋转速度(度/秒)- 数值越小旋转越慢
scale_range_minoptFLOAT0.50.1–2
scale_range_maxoptFLOAT1.50.1–2
blink_frequencyoptFLOAT2.00.5–10
enable_multi_positionoptBOOLEANfalse水印在多个位置之间切换(与跟踪模式冲突)
multi_position_presetoptCOMBOfour_corners多位置预设方案
position_listoptSTRINGtop_left,top_right,bottom_left,bottom_right自定义位置列表(仅当preset=custom时使用)
position_switch_intervaloptFLOAT3.00.5–30位置切换间隔(秒)
add_shadowoptBOOLEANtrue
shadow_offsetoptINT20–10

Outputs (2)

NameTypeDescription
videoVIDEO
infoSTRING