Bernini-R — Advanced Patreon Workflow & Custom Node (Patreon)
Downloads
Content
Patreon Exclusive — 14 June 2026
Hey everyone. If you caught the public video https://youtu.be/G4GMJBQZiVQ , you already know the basics — Bernini-R setup, the dual-expert transformer architecture, all 13 task types from text-to-video to reference-guided editing, and the full ComfyUI walkthrough. Go watch that first if you haven't.
This post is the stuff I held back. Two things for paid supporters: a production-ready ComfyUI workflow that chains Bernini-R with a proper detailer, frame interpolation, and 2K upscaling, plus a custom node that makes task prompt selection automatic.
----------------------------------------
WHAT'S INCLUDED
----------------------------------------
1. Bernini-R + Video Detailer + Upscaler 2K Workflow
File: Bernini_Video-Detailer-Upscaler2K.json
The workflow from the video is the raw Bernini setup. This is the full production chain I actually use when I need a final output that doesn't look like it just came out of a diffusion model.
What the pipeline does:
- Bernini-R generates the base video (your chosen task type, reference images, source video — whatever the job needs)
- SeedVR2 upscales to 1080p while sharpening details that the base model tends to soften
- Video Detailer pass refines faces and fine details for a cleaner look
- RTX Video Super Resolution scales to 2K for final crisp output
- Frame interpolation smooths the result to natural framerates
- Audio is re-attached at the final output stage so nothing gets lost
The workflow is organized into clear sections with KJNodes Get/Set pairs:
- Models — loads high-noise transformer, low-noise transformer, LoRA variants, CLIP, VAE
- Sampling — dual-expert high/low noise branch with split sigmas, BerniniConditioning node, configurable sampler settings
- Prompt — TaskPromptSelector custom node (see below) handles system prompts, with easy prompt concat for combining system + user prompts
- References — 4 reference image slots (LoadImageFromPathEnhanced) with resize nodes for consistent input dimensions
- Post-Processing — Video Detailer, SeedVR2 Video Upscaler, Frame Interpolation, final VHS_VideoCombine output with audio
Key nodes you'll need installed beyond the basics:
- ComfyUI-KJNodes — https://github.com/kijai/ComfyUI-KJNodes
- ComfyUI native Bernini-R nodes (BerniniConditioning, etc.)
- PathchSageAttentionKJ — https://github.com/kijai/ComfyUI-KJNodes
- LoadImageFromPathEnhanced — https://github.com/Jaxkr/ComfyUI_LoadImageFromPath
- SeedVR2 Video Upscaler — https://github.com/numz/ComfyUI-SeedVR2_VideoUpscaler
- ComfyUI-Frame-Interpolation — https://github.com/Fannovel16/ComfyUI-Frame-Interpolation
- easy promptConcat — https://github.com/yolain/Comfyui-Easy-Use
- rgthree Any Switch — https://github.com/rgthree/rgthree-comfy
- ShowText|pysssss — https://github.com/pythongosssss/ComfyUI-Custom-Scripts
The workflow supports all task types through the TaskPromptSelector dropdown. Just switch the task, adjust your references and prompts, and queue. Same workflow handles character swaps, style transfers, video editing, reference-to-video — everything Bernini-R can do.
2. TaskPromptSelector — Custom Node
File: TaskPromptSelector.py
A small but useful custom node I wrote to automate Bernini-R's task-specific system prompts. In the official ByteDance repo, each task type requires a specific system prompt string fed into the Qwen2.5-VL semantic planner. Doing this manually every time you switch tasks is annoying and error-prone.
This node gives you a dropdown with all 13 Bernini-R task types:
- default
- t2i — text-to-image
- t2v — text-to-video
- i2i — image editing
- r2i — subject-to-image generation
- i2v — image-to-video
- v2v — video editing
- r2v — subject-to-video generation
- vi2v — video editing on content propagation
- rv2v — video editing with reference
- ads2v — ads insertion
- vrc2v — action/position adjustment
- mv2v — style, lighting, color, texture editing
Select the task type, and the node outputs the exact system prompt string Bernini-R expects. No copy-paste, no typos, no digging through docs.
Installation:
1. Copy TaskPromptSelector.py into your ComfyUI custom_nodes folder (or any custom_nodes subfolder)
2. Restart ComfyUI
3. Search for "Task System Prompt Selector" in the node menu
That's it. No pip installs, no dependencies beyond ComfyUI itself.
----------------------------------------
REQUIREMENTS
----------------------------------------
For the workflow:
- ComfyUI (latest recommended)
- Bernini-R model weights (high-noise + low-noise transformer, FP8 or FP16)
- Wan 2.2 T2V-A14B base model
- CLIP text encoder
- VAE
- All custom node packages listed above
For the custom node:
- ComfyUI (any recent version)
- Nothing else
----------------------------------------
QUICK START
----------------------------------------
Using the Workflow:
1. Drop Bernini_Video-Detailer-Upscaler2K.json into your ComfyUI workflows folder
2. Load it in ComfyUI
3. Set your model paths on the Set nodes in the Models section
4. Load your reference images (up to 4) via the References section
5. Select your task type on the TaskPromptSelector node
6. Write your user prompt
7. Queue and let it run
The post-processing chain (detailer → upscale → interpolate) adds time but the quality jump is worth it. If you're just testing, you can bypass the post-processing and preview the raw Bernini output first.
Using the TaskPromptSelector:
1. Drop TaskPromptSelector.py into ComfyUI/custom_nodes/
2. Restart ComfyUI
3. Add "Task System Prompt Selector" from the node menu
4. Connect the STRING output to your BerniniConditioning node's system_prompt input
5. Switch task types from the dropdown whenever you change workflows
----------------------------------------
TIPS
----------------------------------------
The system prompts matter more than people think. Bernini-R's Qwen2.5-VL planner uses them to decide how to interpret your references and instructions. Using the wrong system prompt for a task — or a generic one — will produce noticeably worse results. That's the whole reason this custom node exists.
FP8 weights run on a single 24GB GPU with room for the detailer pass. FP16 needs more VRAM. Start with FP8 unless you have a 48GB+ card.
Reference image consistency: resize all refs to the same dimensions before feeding them in. The workflow includes ResizeImageMaskNode for this, but double-check your inputs. Mixed resolutions confuse the conditioning.
The upscaling chain uses SeedVR2, which is ByteDance's own video super-resolution model. It pairs well with Bernini-R since both share the same underlying architecture family. If you prefer a different upscaler, swap the SeedVR2 nodes for whatever you like.
----------------------------------------
Both files are attached below JSON + Python Zipped in one file.
Drop a comment if you hit any issues and I'll help you sort it out.
Thanks for supporting the channel. You guys make these deep dives possible.
— Benji