Nodes/ComfyUI_Sora/Video Watermark (视频水印)
ComfyUI Node

Video Watermark (视频水印)

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

By xuchenxu168·Created 10 months ago·Updated 9 months ago· 5
Video Watermark (视频水印)
  • video
  • watermark_image
  • video
  • info
watermark_typetext
enable_watermarktrue
text_content© 2025 Your Brand
font_size48
font_colorwhite
custom_color_r255
custom_color_g255
custom_color_b255
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
margin_x20
margin_y20
custom_x100
custom_y100
animationnone
animation_duration2.0
move_directionleft_to_right
rotation_speed30.00
scale_range_min0.5
scale_range_max1.5
blink_frequency2.0
start_time0.0
end_time-1.0
add_shadowtrue
shadow_offset2
add_outlinefalse
enable_multi_positionfalse
multi_position_presetfour_corners
position_listtop_left,top_right,bottom_left,bottom_right
position_switch_interval3.0
outline_width2
CategoryKen-Chen/sora

Inputs (41)

NameTypeDefaultDescription
videoVIDEO输入视频
watermark_typeCOMBOtext水印类型:text=文字, image=图片, both=文字+图片
enable_watermarkBOOLEANtrue是否添加水印
text_contentoptSTRING© 2025 Your Brand水印文字内容
font_sizeoptINT4812–200字体大小
font_coloroptCOMBOwhite字体颜色
custom_color_roptINT2550–255自定义颜色R(font_color=custom时使用)
custom_color_goptINT2550–255自定义颜色G
custom_color_boptINT2550–255自定义颜色B
text_positionoptCOMBObottom_right文字位置
text_opacityoptFLOAT0.700–1文字透明度
watermark_imageoptIMAGE水印图片(可连接Load Image)
auto_remove_bgoptBOOLEANfalse自动移除纯色背景(白底、黑底等)
bg_color_modeoptCOMBOwhite背景颜色模式
bg_thresholdoptINT2400–255背景检测阈值(越高越严格)
image_positionoptCOMBOtop_right图片位置
image_scaleoptFLOAT0.150.01–1图片缩放比例(相对视频宽度)
image_opacityoptFLOAT0.800–1图片透明度
combined_layoutoptCOMBOtext_below_image文字和图片组合布局(仅当watermark_type=both时生效)
combined_spacingoptINT100–100文字和图片之间的间距(像素)
margin_xoptINT200–500水平边距(像素)
margin_yoptINT200–500垂直边距(像素)
custom_xoptINT1000–3840自定义X坐标(position=custom时使用)
custom_yoptINT1000–2160自定义Y坐标
animationoptCOMBOnone动画效果 - 新增10种吸引眼球的效果
animation_durationoptFLOAT2.00.1–10动画持续时间(秒)
move_directionoptCOMBOleft_to_right移动方向
rotation_speedoptFLOAT30.001–360旋转速度(度/秒)
scale_range_minoptFLOAT0.50.1–2缩放最小值
scale_range_maxoptFLOAT1.50.1–2缩放最大值
blink_frequencyoptFLOAT2.00.1–10闪烁频率(次/秒)
start_timeoptFLOAT0.00–3600水印开始时间(秒)
end_timeoptFLOAT-1.0-1–3600水印结束时间(秒,-1表示到视频结束)
add_shadowoptBOOLEANtrue为文字添加阴影效果
shadow_offsetoptINT20–10阴影偏移(像素)
add_outlineoptBOOLEANfalse为文字添加描边
enable_multi_positionoptBOOLEANfalse水印在多个位置之间切换
multi_position_presetoptCOMBOfour_corners多位置预设方案
position_listoptSTRINGtop_left,top_right,bottom_left,bottom_right自定义位置列表(仅当preset=custom时使用)
position_switch_intervaloptFLOAT3.00.5–30位置切换间隔(秒)
outline_widthoptINT21–10描边宽度

Outputs (2)

NameTypeDescription
videoVIDEO
infoSTRING