Extensions/ComfyUI-PainterNodes
ComfyUI Extension

ComfyUI-PainterNodes

Video generation nodes for LTX, Wan2.2, Bernini, qwen image edit,flux image edit, and utility nodes.

By princepainter·Created 8 months ago·Updated 4 days ago· 195
princepainter/ComfyUI-PainterNodes
Nodes28
On cloudLocal install
Categoryaudio/processing, audio/mask
Stars195
Updated4 days ago

Nodes (28)

Painter Audio Cut

Cut Audio to Wan's 4N+1 Frame Grid Without Doing the Math Yourself

audio/processing
Painter Audio Mask

The H3 're-dub one line' node that never actually touches your audio

audio/mask
Painter Audio Upload

Feed a lip-sync a real audio file without leaving the graph

audio/input
PainterFLF2V

Pin the first and last frame, let the middle move

conditioning/video_models
Painter Flux Image Edit

One Node for Flux 2 / Klein Text-to-Image and Editing

advanced/conditioning
Painter Frame Extractor

Pull two frames out of any video batch

image/batch
PainterI2V

The one-knob fix for Wan 2.2 clips that move like molasses

conditioning/video_models
PainterI2VAdvanced

More motion out of Wan 2.2 I2V — without the green cast

conditioning/video_models
Painter Image Concat

Stack videos side by side without the manual labor

painter/image
PainterImageFromBatch

The last-frame grabber that fixes ImageFromBatch's dumbest limit

image/batch
Painter LTX2V Omni

The node that gives Bernini a voice

model/conditioning/ltxv
Minimax H3 Latent Upscaler (3D)

Upscale in latent space, not pixels

PainterNodes/latent
Painter MiniMax Ref To Video

Reference conditioning for H3, done properly

model/conditioning/minimax
Painter MiniMax Ref To Video 2

Same reference magic, uploads handled inside

model/conditioning/minimax
Painter MiniMax Ref To Video 3

The MiniMax H3 reference node that finally keeps your pictures inside the node

model/conditioning/minimax
Painter MiniMax Ref To Video 6

Upload the reference photos inside the node, then @ them in the prompt

model/conditioning/minimax
Painter Qwen Image 2.1

One node for positive, negative and the latent — no negative prompt required

advanced/conditioning
Painter Qwen Image Edit

Instruction editing, pixel-perfect

advanced/conditioning
Painter Resize Images

Fit your frames to a long edge, keep the ratio

Painter/Utils
Painter Sigmas Graph

Draw the denoise curve you actually want, then plug it into a sampler

Painter/Sigmas
Painter H3 Size Settings

Stop doing frame maths by hand for MiniMax H3

Painter/Utils
Painter Text Overlay

Label every frame in one pass — Painter Text Overlay

PainterNodes
Painter V2AV

Wan 2.2 makes beautiful silent video — Painter V2AV gives it sound

Painter/LTXV
Painter Video Combine

The video saver that finally lets you set the FPS — and plays the clip right on the node

Painter/Video
Painter Video Combine 2

Two buttons that stop your six previews fighting each other

Painter/Video
Painter VRAM

Make ComfyUI stop taking the whole card, without restarting it

VRAM
VideoInfoLoaded

The node that finally turns VHS's video_info into numbers you can wire

VideoInfo
VideoInfoSource

The original file's fps, frame count and resolution, straight from VHS

VideoInfo
Readme

<a name="中文"></a>

本节点包由 绘画小子 制作

此节点包中的部分节点参考了comfy官方节点部分代码以及kijai和VHS节点的部分代码,在此表示感谢🙏 此节点包完全开源免费使用

📖 简介

Painter Nodes 是一个为 ComfyUI 设计的综合性自定义节点合集,专为高级图像和视频生成工作流打造。本插件目前包集成了多个强大的节点(后续新增节点都会放进此整合包),涵盖图生视频、文生视频,视频编辑,视频配音,参考生视频,文生图、图片编辑、音频驱动视频生成、视频对口型等功能。

✨更新日志:

2026-9-24更新

新增PainterVideoCombine2节点(显示名 Painter Video Combine 2):在 PainterVideoCombine 的基础上,于节点第一行(images 行)水平居中加了两个小图标按钮——⟳「同步预览」和 ⏸/▶「同步暂停/继续播放」。同步预览=右键菜单 Sync preview 的同款行为(工作区内所有 Painter 预览视频回到起点重播,动图刷新重播);同步暂停会让工作区所有预览视频一起暂停,按钮变红并切换成播放图标,再点一次一起继续播。按钮是独立的 DOM 覆盖层,不新增 widget、不改变节点尺寸与排版,节点拉宽拉窄都保持居中,并且在 ComfyUI 的 Nodes 2.0(Vue 节点)渲染模式下同样可用。原 PainterVideoCombine 节点保持不变。

2026-9-22更新

新增PainterSizeSettings节点(显示名 Painter H3 Size Settings):把参考生视频工作流里的“尺寸设置”子工作流转成独立节点,省掉一层子工作流。宽高比固定两项 16:9 (Widescreen) / 9:16 (Portrait),默认 16:9;分辨率共 9 档并随宽高比自动切换:16:9 是 512288 / 800448 / 960544 / 1024576 / 1280736 / 1376768 / 1536864 / 1600896 / 19201088,默认 1376768;切到 9:16 时同一档自动翻成竖版(1376768 → 7681376,也就是竖版默认),不会重置回第一项。时长默认 5 秒,左右三角每点一次 ±1 秒,也可以直接手动输入 5.1 / 5.3 这类小数;帧数沿用原公式换算,24fps 取整后对齐到 17k+5(5 秒 = 124 帧、5.3 秒 = 141 帧、6 秒 = 158 帧)。输出:宽度 / 高度 / 帧数,其中帧数可直接接 PainterMiniMaxRefToVideo6 的 length。

2026-9-20更新

新增PainterQwenImage21节点:适配 Qwen Image 2.1(基于官方 TextEncodeQwenImage21 优化)。参考图缩放一次、视觉塔与 VAE 两路复用,一次性输出 正条件/负条件/latent;无需输入负向提示词,负向条件由正向条件零化得到(结构与正向完全一致);宽、高、批次集中在节点底部,输出尺寸 32 倍数对齐,第 1 张参考图作为编辑基准,其余参考图按同尺度等比缩放,最多 16 张参考图。注意:需要 ComfyUI 0.36 以上版本,以及 Qwen Image 2.1 专用的 DiT、VAE(64 通道)与 Qwen3-VL-8B 文本编码器,旧版 2509/2511/2512 的权重不适用。

2026-9-19更新

删除16个过时节点(wan2.2,humo,infinitetalk等相关过时节点,反正有了H3,那些过时节点用不上了,直接删掉了)

2026-8-13更新

新增优化版MiniMaxRefToVideo2节点,参考图全部节点内部上传,更直观清晰。参考音频和视频用的情况不多,依然从外部输入。其他用法相同:可以对提示词按minimax H3官方skill进行格式化,效果很不错!使用方法示例:选择素材直接@:@图片1 @音频1 @视频1 第3.5秒开始切镜:切镜3.5+空格 台词:【台词内容】+空格

<img width="1439" height="1559" alt="image" src="https://github.com/user-attachments/assets/9a3531eb-79c3-4781-8a68-333108f1f311" />

2026-8-9更新

新增优化版MiniMaxRefToVideo节点,可以对提示词按minimax H3官方skill进行格式化,效果很不错!使用方法示例:选择素材直接@:@图片1 @音频1 @视频1 第3.5秒开始切镜:切镜3.5+空格 台词:【台词内容】+空格

<img width="2190" height="1473" alt="image" src="https://github.com/user-attachments/assets/d29ad9e0-b30f-4f93-ac2d-e0e0ed643af0" />

2026-7-8更新

新增PainterLTX2Vomni节点,可以对bernini生成的无声视频进行配音对口型,效果非常不错!值得尝试!节点同时支持文生视频,图生视频,首尾帧生视频,参考生视频等多种任务(相关工作流见项目下workflows文件夹)

2026-7-2更新

新增PainterV2AV节点,可以用ltx2.3对wan2.2生成的无声视频进行高清+配音,wan2.2的动态,LTX2.3生声音,结合两者优点,等于给wan2.2插上翅膀,音画同出,速度很快,效果不错,值得尝试。(相关工作流见项目下workflows文件夹)

2026-2-10更新

新增PainterHumoAI2V节点,实现wan2.2+Humo 音频驱动图生视频,音频驱动图生首尾帧视频 以及 音频驱动文生视频(把图片接入断开,同时将高燥模型和lora更换为WAN2.2 T2V 高燥模型和lora即是文生有声视频),可自定义音频说话帧率(建议16~30)效果不错,建议尝试(相关工作流见项目下workflows文件夹)

2026-2-9更新

新增PainterHumoAV2V节点,实现Humo模型2步采样进行视频对口型功能,可自定义音频说话帧率(建议16~30),效果不错,建议尝试(工作流见项目下workflows文件夹)

2026-2-1更新:

新增PainterS2Vplus节点:实现WAN2.2-S2V模型视频2步采样对口型功能,比infinitetalk更快速度视频对口型(工作流见项目下workflows文件夹)

2026-1-31更新:

升级PainterQwenImageEdit节点: 支持自定义编辑图片数量,最多10图编辑,支持文生图,支持遮罩编辑,编辑图片像素无偏移,支持批次设定

2026-1-30更新:

升级PainterFluxImageEdit节点: 支持自定义编辑图片数量,最多10图编辑,支持文生图,支持遮罩编辑,编辑图片像素无偏移,支持批次设定(支持QWEN edit模型)


✨ 功能特性

请自行探索

🚀 安装方法

方法 1:手动安装

  1. 从 Releases 页面下载最新版本

  2. 将 Painter-Nodes 文件夹解压到 ComfyUI 的 custom_nodes 目录:

    ComfyUI/
    └── custom_nodes/
        └── Painter-Nodes/
          
    
  3. 安装依赖:

    cd ComfyUI/custom_nodes/Painter-Nodes
    pip install -r requirements.txt
    
  4. 重启 ComfyUI

方法 2:ComfyUI-Manager

在 ComfyUI-Manager 中搜索 "PainterNodes" 直接安装。

📋 环境要求

soundfile>=0.12.1
numpy>=1.21.0

🎯 使用方法

每个节点的介绍可以去看我主页该节点单独页面。很简单,自己尝试尝试。如果对你有用,请给我点一颗星星,多谢🙏