Bernini: Latent Semantic Planning for Video Diffusion
Bernini is a unified artificial intelligence framework for video generation and instruction-based video editing developed by ByteDance Research. Introduced in May 2026 ("Bernini: Latent Semantic Planning for Video Diffusion"), Bernini employs a decoupled "division of labor" architecture that separates high-level semantic reasoning from fine-grained pixel synthesis.
🔬 Architecture & Methodology
The framework consists of two core components:
- Semantic Planner: Powered by an MLLM (Qwen2.5-VL-7B) that generates target semantic plans directly in the Vision Transformer (ViT) embedding space using Chain-of-Thought (CoT) reasoning.
- Pixel Renderer (Bernini-R): Powered by a Diffusion Transformer (DiT based on Wan2.2-A14B) that executes flow-matching denoising in VAE latent space conditioned on the planner's semantic representations.
Input Video & Prompt ───► MLLM Semantic Planner (Qwen2.5-VL-7B) ───► Target ViT Semantic Vectors ───► DiT Latent Renderer (Bernini-R) ───► Output Video📊 Benchmarks & Performance
| Benchmark | Score (7B+14B) | Score (14B Renderer) | Status |
|---|---|---|---|
| EditVerse | 8.02 | 7.99 | Verified |
| OpenVE | 4.03 | 3.78 | Verified |
| VBench | 84.37 | 84.64 | Verified |
🚀 Quickstart & Usage
git clone https://github.com/bytedance/Bernini.git
cd Bernini
pip install -r requirements.txt
pip install -U huggingface_hub
hf download ByteDance/Bernini-R-Diffusers --local-dir pretrained_models/Bernini-R-Diffusersimport torch
from diffusers import DiffusionPipeline
# Load Bernini-R Diffusers pipeline
pipe = DiffusionPipeline.from_pretrained(
"ByteDance/Bernini-R-Diffusers",
torch_dtype=torch.bfloat16
).to("cuda")
# Run video inference
output = pipe(
prompt="A cinematic drone shot of a snowy mountain peak at sunrise",
num_inference_steps=50,
guidance_scale=6.0,
height=480,
width=832,
num_frames=81
)
video_frames = output.frames🔗 Official Resources & Links
Key Features
Decoupled Planner-Renderer Architecture (MLLM + DiT)
Latent Semantic Planning in ViT Embedding Space
Segment-Aware 3D Rotary Positional Embedding (SA-3D RoPE)
Unified Support for Text-to-Video, Image-to-Video, and Instruction Video Editing
High Spatial-Temporal Consistency with Minimal Background Drift
Open Weights under Apache 2.0 License
You might also want to compare
Verified Sources
Tags
Model Specs
Parameters
14B (DiT Renderer) + 7B (MLLM Planner)
Context Window
undisclosed
License
Apache-2.0
Deployment
Resources & Links
Curator Notes
Verified lab affiliation: ByteDance Research. Paper released May 2026. Code and model weights published on GitHub and HuggingFace under Apache 2.0.
Compare Specs
Compare parameters, context windows, modalities, and benchmark scores of this model side-by-side with others.
Compare Model