rzgar/Bernini-R-S2V
Bernini-R-S2V
ComfyUI Bernini-R-S2V custom node v2 (update)
Bernini S2V Conditioning v2 - Bernini in-context video/image conditioning with masked lip-sync for one or two speakers. <video controls width="100%" height="480"> <source src="https://huggingface.co/rzgar/Bernini-R-S2V/resolve/main/video/ComfyUI__00003-audio.mp4" type="video/mp4"> Your browser does not support the video tag. </video>
Unzip ComfyUI-WanBerniniS2V_v2.zip into ComfyUI/custom_nodes/, then restart ComfyUI.
or save the Python files in: ComfyUI/custom_nodes/ComfyUI-WanBerniniS2V_v2/Disable or remove the older ComfyUI-WanBerniniS2V folder if you only want v2.
One speaker
audio_1+mask_1- Leave
audio_2/mask_2unwired
Two speakers (dialog)
audio_1+mask_1- first speakeraudio_2+mask_2- second speakerspeaker_2_start_frame = -1- second audio starts when the first clip ends
Masks
Paint on the output frame where each speaker's face appears. Masks control lip-sync placement only, they are not tied to reference_image_N slots. <img src="https://huggingface.co/rzgar/Bernini-R-S2V/resolve/main/ComfyUI-WanBerniniS2Vv2/demoassets/ScreenshotComfyUI-WanBerniniS2Vv2.png" width="1280" height="720" /> _______ <video controls width="100%" height="480"> <source src="https://huggingface.co/rzgar/Bernini-R-S2V/resolve/main/Bernini-R-S2V-FP8/video/ComfyUI_00005-audio.mp4" type="video/mp4"> Your browser does not support the video tag. </video>
Speech-driven video on Bernini-R , T2V, I2V, and V2V with lip-sync.
This model adds single-speaker audio support to Bernini-R, so you can drive video with speech in text-to-video, image-to-video, and video-to-video setups. It is not state-of-the-art audio-to-video, but it removes the need for post-processing or extra models just to add speech to Wan videos. For basic talking-head work, or longer videos built from short sequences, it is a handy all-in-one option on top of Bernini's motion and editing strengths.
ComfyUI detects these as `WAN22_S2V` / 'WanModel_S2V' (audio keys trigger S2V model type).
Usage
- Download the checkpoints.
- Place in:
ComfyUI/models/diffusion_models/- Add wav2vec2 to:
ComfyUI/models/audio_encoders/- Install [ComfyUI-WanBerniniS2V](https://huggingface.co/rzgar/Bernini-R-S2V/tree/main/ComfyUI-WanBerniniS2V) custom node:
(Create a folder in 'ComfyUI/custom_nodes/' named 'ComfyUI-WanBerniniS2V', then save the Python files in that folder.)- Restart ComfyUI.
- Search for the Bernini S2V Conditioning node or use the example workfllow
