Home Creators Posts Import Register Favorites Logout

Downloads

Content

Video: https://youtu.be/G4GMJBQZiVQ

Discover Bernini-R, ByteDance's groundbreaking unified AI model for video editing that lets you swap characters, change styles, insert objects, and composite entire scenes — all within a single framework built on the Wan 2.2 architecture. In this hands-on tutorial, I walk through every major capability of Bernini-R including reference-guided video editing (RV2V), multi-reference-to-video generation, content insertion, and instruction-based video manipulation. We cover the full ComfyUI setup — downloading the high-noise and low-noise transformer weights in FP8 or FP16, configuring the Bernini conditioning nodes, setting up reference images and video inputs, and building a custom task prompt selector that automates the system prompt workflow. I also demonstrate real results with character clothing swaps, multi-image scene generation, and side-by-side comparison footage.

This video is for AI video creators, ComfyUI users, independent filmmakers, and anyone working with open-source video generation tools who wants a practical, production-ready editing workflow. You will learn how to configure Bernini-R in ComfyUI from scratch, write effective text prompts for different editing tasks, use multiple reference images for character and scene transfer, and understand the dual-expert transformer architecture that makes Bernini different from standard video generation models. Whether you are a content creator building automated video pipelines, a researcher exploring multi-condition guidance schemes like chained CFG and Adaptive Projected Guidance, or a hobbyist experimenting with AI video editing for the first time, this walkthrough covers everything you need to start generating results on your own hardware.

Bernini-R matters because it represents a meaningful shift in how we approach AI video editing — moving from task-specific models that each handle one narrow use case to a single unified framework that handles text-to-video, video editing, reference-guided editing, and reference-to-video generation all at once. The built-in semantic planner using Qwen2.5-VL-7B-Instruct enables the model to actually understand your reference images and source video before rendering, which means more intelligent and contextually accurate edits without relying on ControlNet. It is open-source under Apache 2.0, runs on consumer GPUs with FP8 precision, and is already integrated natively into ComfyUI. This is the kind of tool that makes advanced video editing accessible to creators who do not have access to enterprise-grade commercial solutions, and understanding it now puts you ahead as these unified editing frameworks become the standard approach in the open-source AI video ecosystem.

Links and Resources:

Bernini Official GitHub: https://github.com/bytedance/Bernini

Bernini Project Page: https://bernini-ai.github.io

Bernini Paper (arXiv): https://arxiv.org/abs/2605.22344

Bernini-R Weights on Hugging Face: https://huggingface.co/ByteDance/Bernini-R

ComfyUI Bernini-R HF: https://huggingface.co/Comfy-Org/Bernini-R

Wan 2.2 Base Model: https://huggingface.co/Wan-AI/Wan2.2-T2V-A14B-Diffusers

Attached example workflow for Bernini AI Model:

Files

(No title)

Comments

Hj

Hi how long does bernini take to create a vid? the wan2.1 vae stays on 0% i have a 4090 so no idea why i am struggling to get this to load. Im using fp8s too

Hj

[WARNING] lora key not loaded: diffusion_model.blocks.7.cross_attn.k_img.diff_b [WARNING] lora key not loaded: diffusion_model.blocks.7.cross_attn.k_img.lora_down.weight [WARNING] lora key not loaded: diffusion_model.blocks.7.cross_attn.k_img.lora_up.weight [WARNING] lora key not loaded: diffusion_model.blocks.7.cross_attn.norm_k_img.diff [WARNING] lora key not loaded: diffusion_model.blocks.7.cross_attn.v_img.diff_b [WARNING] lora key not loaded: diffusion_model.blocks.7.cross_attn.v_img.lora_down.weight [WARNING] lora key not loaded: diffusion_model.blocks.7.cross_attn.v_img.lora_up.weight [WARNING] lora key not loaded: diffusion_model.blocks.8.cross_attn.k_img.diff_b [WARNING] lora key not loaded: diffusion_model.blocks.8.cross_attn.k_img.lora_down.weight [WARNING] lora key not loaded: diffusion_model.blocks.8.cross_attn.k_img.lora_up.weight [WARNING] lora key not loaded: diffusion_model.blocks.8.cross_attn.norm_k_img.diff [WARNING] lora key not loaded: diffusion_model.blocks.8.cross_attn.v_img.diff_b [WARNING] lora key not loaded: diffusion_model.blocks.8.cross_attn.v_img.lora_down.weight [WARNING] lora key not loaded: diffusion_model.blocks.8.cross_attn.v_img.lora_up.weight [WARNING] lora key not loaded: diffusion_model.blocks.9.cross_attn.k_img.diff_b [WARNING] lora key not loaded: diffusion_model.blocks.9.cross_attn.k_img.lora_down.weight [WARNING] lora key not loaded: diffusion_model.blocks.9.cross_attn.k_img.lora_up.weight [WARNING] lora key not loaded: diffusion_model.blocks.9.cross_attn.norm_k_img.diff [WARNING] lora key not loaded: diffusion_model.blocks.9.cross_attn.v_img.diff_b [WARNING] lora key not loaded: diffusion_model.blocks.9.cross_attn.v_img.lora_down.weight [WARNING] lora key not loaded: diffusion_model.blocks.9.cross_attn.v_img.lora_up.weight [WARNING] lora key not loaded: diffusion_model.img_emb.proj.0.diff [WARNING] lora key not loaded: diffusion_model.img_emb.proj.0.diff_b [WARNING] lora key not loaded: diffusion_model.img_emb.proj.1.diff_b [WARNING] lora key not loaded: diffusion_model.img_emb.proj.1.lora_down.weight [WARNING] lora key not loaded: diffusion_model.img_emb.proj.1.lora_up.weight [WARNING] lora key not loaded: diffusion_model.img_emb.proj.3.diff_b [WARNING] lora key not loaded: diffusion_model.img_emb.proj.3.lora_down.weight [WARNING] lora key not loaded: diffusion_model.img_emb.proj.3.lora_up.weight [WARNING] lora key not loaded: diffusion_model.img_emb.proj.4.diff [WARNING] lora key not loaded: diffusion_model.img_emb.proj.4.diff_b [INFO] Requested to load WAN21 [INFO] loaded completely; 16182.82 MB usable, 14851.42 MB loaded, full load: True 0%| | 0/3 [00:00

Innovate Futures @ Benji

The lora key not loaded Warnings (Safe to Ignore) Don't worry about the wall of yellow text regarding cross_attn and img_emb keys. Bernini is built on a modified Wan architecture (relying on a revised layout or handling image embeddings differently than standard Wan 2.1). When you apply a standard Wan 2.1 LoRA (like lightx2v), ComfyUI notices that a few layers—specifically the old image embedding layers—don't exist in Bernini. It skips them and prints a warning. The core weights are still loading properly, and this is not what is causing your freeze.

Innovate Futures @ Benji

The line 0/3 [00:00<... right after loading the model means the workflow is locking up either at the very first step of sampling or during the VAE Video Chunking phase. Sometime, it might cause in this happen, Check for VRAM Spillover (Shared GPU Memory) You mentioned using fp8 for the model, which is great, but check what Text Encoder you are using.The native Wan/Bernini T5 Text Encoder is massive. If you are using an unquantized fp16 version of the text encoder alongside a 14B model, it will exceed the 24GB VRAM limit of your 4090. When this happens, Windows shunts the extra data into Shared System Memory (RAM). This causes performance to drop to absolute zero, making the progress bar look entirely frozen at 0%.The Fix: Ensure you are using a quantized text encoder, such as umt5_xxl_fp8_e4m3fn_scaled.safetensors or a GGUF variant (like umt5-xxl-encoder-Q5_K_M.gguf). Switch the Attention Mechanism If you are using a custom wrapper node (like ComfyUI-WanVideoWrapper), it might be trying to invoke flash_attn or sage_attn. If the FlashAttention library on your system has a compilation mismatch with your current PyTorch/CUDA version, it will silently hang on step 0. Look at your model loader or advanced wrapper settings in your workflow. Change the Attention Mechanism dropdown from sage_atten to sdpa (or math). PyTorch’s native SDPA is incredibly well-optimized for the 4090 and will bypass any broken sage_atten links.

Hj

downloading the gguf as i speak thanks, i was just using what you had on default in your workflow.. i take it you have a 5090 or something bigger? just so i know for reference what to change.

Roni Bliss

Im blown away by the fact at this point in 2026 people still flood comments sections with their error messages, completely unaware an instant step by step guided answer is so close, You just pasted your error in the wrong window dude! ... salvation is out there for Im sorry to say, AI is clearly too complex for you, Benji's workflows are high end advanced, it must be indistinguishable from real magic for certain folk! Good luck in 2027.,...

Hj

All this dramatic, condescending yapping just to say absolutely nothing helpful. Benji already fixed it, but thanks for providing the cringiest comment of 2026. Good luck in 2027.