ByteDance / Bernini-Diffusers

huggingface.co
Total runs: 0
24-hour runs: 0
7-day runs: 0
30-day runs: 0
Model's Last Updated: June 11 2026
image-text-to-video

Introduction of Bernini-Diffusers

Model Details of Bernini-Diffusers

Bernini
Latent Semantic Planning for Video Diffusion

Chenchen Liu * , Junyi Chen * , Lei Li * , Lu Chi *,§ , Mingzhen Sun * , Zhuoying Li * , Yi Fu, Ruoyu Guo, Yiheng Wu, Ge Bai, Zehuan Yuan

* Equal contribution Corresponding author § Project lead

arXiv Project Page HuggingFace

🎉 News
✨ Highlights

Bernini is a unified framework for video generation and editing that combines an MLLM-based semantic planner with a DiT-based renderer.

Compared with the renderer-only Bernini-R release, Bernini-Diffusers packages the full semantic-planning pipeline: a Qwen2.5-VL planner, Bernini planning weights, and Wan2.2 diffusion components in one self-contained directory. This makes it the recommended release when you need stronger instruction following, multi-step semantic planning, and better handling of complex video editing requests.

🧾 Model card
Field Description
Model type Full video generation/editing pipeline with an MLLM-based semantic planner and a DiT-based renderer.
Checkpoint ByteDance/Bernini-Diffusers
Code ByteDance/Bernini
Recommended use Complex generation/editing requests that benefit from explicit latent semantic planning and stronger instruction following.
Model behavior Better at decomposing complex instructions and planning semantic changes before rendering, at the cost of a heavier checkpoint layout than Bernini-R.
Benchmark snapshot
Model EditVerse OpenVE OpenS2V VBench Bernini-v2v (OS) Bernini-vr2v (OS)
Bernini 7+14B 8.02 4.03 62.30 84.37 3.49 3.48

On video editing, Bernini reaches the first tier among leading closed-source commercial models in our internal arena evaluation based on blind human pairwise comparisons.

📦 Package layout

This release is a self-contained diffusers-format directory . Pass the downloaded Bernini-Diffusers directory directly to --config .

Bernini-Diffusers/
  bernini/
  mllm/
  scheduler/
  t5_text_encoder/
  t5_tokenizer/
  vae/
  config.json
  transformer_config.json
  transformer_2_config.json

At runtime:

  • bernini/ provides the Bernini planning checkpoint.
  • mllm/ provides the Qwen2.5-VL planner assets.
  • transformer_config.json and transformer_2_config.json define the Wan2.2 diffusion decoder components used by the full pipeline.
  • t5_text_encoder/ , t5_tokenizer/ , vae/ , and scheduler/ provide the base diffusion modules required for inference.
📥 Download
pip install -U "huggingface_hub"
hf download ByteDance/Bernini-Diffusers \
    --local-dir pretrained_models/Bernini-Diffusers
🚀 Usage

The official inference code is available in the Bernini repository .

Installation
git clone https://github.com/bytedance/Bernini.git bernini && cd bernini
pip install -r requirements.txt

Recommended environment:

  • Python 3.11.2
  • PyTorch 2.5.1+cu124
  • CUDA toolkit 12.4
  • GPU Hopper GPUs (H100/H800/H200) are recommended for best performance

For multi-GPU sequence parallel inference, install VeOmni:

pip install --no-deps git+https://github.com/ByteDance-Seed/[email protected]
Load the model

Pass the downloaded directory directly as --config :

python infer_single_gpu.py --config pretrained_models/Bernini-Diffusers \
    --case assets/testcases/i2i/i2i.json --num_frames 1
Prompt enhancer (highly recommended)

--use_pe enhances the prompt through an OpenAI-compatible endpoint and is recommended for best generation quality.

export BERNINI_PE_API_KEY=...      # or OPENAI_API_KEY
export BERNINI_PE_BASE_URL=...     # or OPENAI_BASE_URL
export BERNINI_PE_MODEL=...        # vision-capable chat model
Gradio demo
# Single GPU
python gradio_demo.py --config pretrained_models/Bernini-Diffusers --port 7860

# 8 GPUs, 8-way Ulysses sequence parallel
torchrun --nproc-per-node 8 gradio_demo.py --ulysses 8 \
    --config pretrained_models/Bernini-Diffusers \
    --port 7860 --share
Run scripts

The scripts/bernini/ directory in the Bernini repo provides ready-to-run task launchers for the full pipeline:

  • run_t2i.sh
  • run_i2i.sh
  • run_t2v.sh
  • run_v2v.sh
  • run_rv2v.sh
  • run_r2v.sh
  • run_gradio.sh

You can override the model directory with:

export BERNINI_CONFIG=/path/to/Bernini-Diffusers
📑 Citation

If you use Bernini in your research, please cite:

@article{bernini,
  title   = {Bernini: Latent Semantic Planning for Video Diffusion},
  author  = {Chenchen Liu and Junyi Chen and Lei Li and Lu Chi and Mingzhen Sun and Zhuoying Li and Yi Fu and Ruoyu Guo and Yiheng Wu and Ge Bai and Zehuan Yuan},
  journal = {arXiv preprint arXiv:2605.22344},
  year    = {2026}
}
🙏 Acknowledgements

Bernini builds on several outstanding open-source projects:

📄 License

Apache License 2.0.

Runs of ByteDance Bernini-Diffusers on huggingface.co

0
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs

More Information About Bernini-Diffusers huggingface.co Model

More Bernini-Diffusers license Visit here:

https://choosealicense.com/licenses/apache-2.0

Bernini-Diffusers huggingface.co

Bernini-Diffusers huggingface.co is an AI model on huggingface.co that provides Bernini-Diffusers's model effect (), which can be used instantly with this ByteDance Bernini-Diffusers model. huggingface.co supports a free trial of the Bernini-Diffusers model, and also provides paid use of the Bernini-Diffusers. Support call Bernini-Diffusers model through api, including Node.js, Python, http.

Bernini-Diffusers huggingface.co Url

https://huggingface.co/ByteDance/Bernini-Diffusers

ByteDance Bernini-Diffusers online free

Bernini-Diffusers huggingface.co is an online trial and call api platform, which integrates Bernini-Diffusers's modeling effects, including api services, and provides a free online trial of Bernini-Diffusers, you can try Bernini-Diffusers online for free by clicking the link below.

ByteDance Bernini-Diffusers online free url in huggingface.co:

https://huggingface.co/ByteDance/Bernini-Diffusers

Bernini-Diffusers install

Bernini-Diffusers is an open source model from GitHub that offers a free installation service, and any user can find Bernini-Diffusers on GitHub to install. At the same time, huggingface.co provides the effect of Bernini-Diffusers install, users can directly use Bernini-Diffusers installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

Bernini-Diffusers install url in huggingface.co:

https://huggingface.co/ByteDance/Bernini-Diffusers

Url of Bernini-Diffusers

Bernini-Diffusers huggingface.co Url

Provider of Bernini-Diffusers huggingface.co

ByteDance
ORGANIZATIONS

Other API from ByteDance

huggingface.co

Total runs: 61.3K
Run Growth: 4.7K
Growth Rate: 7.58%
Updated:January 19 2026
huggingface.co

Total runs: 54.2K
Run Growth: 1.1K
Growth Rate: 2.09%
Updated:December 05 2024
huggingface.co

Total runs: 7.5K
Run Growth: 1.9K
Growth Rate: 24.82%
Updated:January 19 2026
huggingface.co

Total runs: 4.6K
Run Growth: 4.1K
Growth Rate: 89.44%
Updated:July 16 2025
huggingface.co

Total runs: 4.5K
Run Growth: 2.7K
Growth Rate: 58.96%
Updated:September 08 2025
huggingface.co

Total runs: 1.3K
Run Growth: -620
Growth Rate: -52.86%
Updated:December 12 2025
huggingface.co

Total runs: 986
Run Growth: -531
Growth Rate: -53.53%
Updated:September 08 2025
huggingface.co

Total runs: 650
Run Growth: 573
Growth Rate: 90.95%
Updated:June 02 2026
huggingface.co

Total runs: 648
Run Growth: -372
Growth Rate: -56.97%
Updated:November 12 2025
huggingface.co

Total runs: 435
Run Growth: 414
Growth Rate: 100.00%
Updated:June 10 2026
huggingface.co

Total runs: 303
Run Growth: -451
Growth Rate: -147.39%
Updated:November 28 2025
huggingface.co

Total runs: 294
Run Growth: -664
Growth Rate: -201.82%
Updated:September 08 2025
huggingface.co

Total runs: 98
Run Growth: -47
Growth Rate: -47.47%
Updated:April 04 2025
huggingface.co

Total runs: 50
Run Growth: -91
Growth Rate: -178.43%
Updated:September 08 2025
huggingface.co

Total runs: 29
Run Growth: -17
Growth Rate: -58.62%
Updated:July 01 2025
huggingface.co

Total runs: 20
Run Growth: 10
Growth Rate: 52.63%
Updated:April 22 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:August 26 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:November 11 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:September 02 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:June 01 2026
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:September 27 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:June 24 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:February 13 2026
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:September 05 2025