/ Модель

Характеристики

Лицензия
Apache 2.0
Архитектура
bernini · dense
Базовая модель
Bernini-Diffusers-v2
Библиотека
diffusers
Опубликована
31 окт 2026

Bernini-Diffusers-v2-bf16

Видео по тексту и кадрамИзображение, текст → видео3 профессии

Копия полного конвейера Bernini v2 в bf16 для генерации и редактирования видео по тексту и изображениям с семантическим планированием.

0скачиваний за 30 дней0лайковвеса обновлены31 окт 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

anorak-game/Bernini-Diffusers-v2-bf16 — копия полного конвейера ByteDance Bernini-Diffusers-v2, преобразованная из fp32 в bf16 для весов с плавающей точкой в каталоге bernini/. Разработчик репозитория указывает, что остальные файлы сохранены, кроме отдельного каталога t5_text_encoder/, где оставлен только config.json: соответствующие веса UMT5 входят в bernini/. Конвейер использует семантический планировщик на основе Qwen2.5-VL и диффузионный рендерер на основе DiT с компонентами Wan2.2; формат модели — Diffusers, библиотека — diffusers.

Модель предназначена для генерации и редактирования видео по текстовым инструкциям и изображениям. Семантическое планирование рассчитано на сложные запросы, многошаговое выполнение инструкций, редактирование видео с опорой на референсы и OpenS2V. Карточка сообщает о результатах внутренних сравнений и бенчмарков, но не приводит независимой оценки. Репозиторий указывает лицензию Apache-2.0; для запуска предлагает официальный код Bernini.

Сценарии применения

  • генерация видео по текстовому описанию
  • редактирование видео по текстовым инструкциям
  • генерация видео с опорой на исходное изображение
  • сложное многошаговое планирование генерации видео
  • редактирование видео с использованием референсов

Ограничения

Для повышения качества генерации авторы рекомендуют использовать улучшение промпта через OpenAI-совместимый endpoint. Заявленные сравнительные результаты частично основаны на внутренних оценках; независимая проверка в карточке не приведена.

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

Bernini-Diffusers-v2 (bf16)

A bf16 copy of ByteDance/Bernini-Diffusers-v2 at revision 399cf6a18a4c523b367b2b1ac25a2a61009e7df3. Every floating-point tensor in bernini/ is cast from fp32 to bf16, the dtype the reference BerniniPipeline computes in; every other file is unchanged except t5_text_encoder/, which keeps only its config.json: the same UMT5 weights are part of bernini/, so the separate bf16 copy is left out. The official bytedance/Bernini code loads it as it loads the original. Made by bernini-v2/tools/convert_bf16.py in anorak-games/cagoule-catalog. Licence and model card below are the original's.

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.

Bernini-Diffusers-v2 packages the full semantic-planning pipeline: a Qwen2.5-VL planner, Bernini planning weights, and Wan2.2 diffusion components in one self-contained diffusers-format directory.

Compared with the renderer-only Bernini-R releases, Bernini-Diffusers-v2 is recommended when you need stronger instruction following, multi-step semantic planning, and better handling of complex video generation or editing requests. Compared with the first Bernini-Diffusers release, v2 uses a training recipe that warms up the connector for thousands of steps before co-training, improving reference-guided video editing and OpenS2V performance.

🧾 Model card

FieldDescription
Model typeFull video generation/editing pipeline with an MLLM-based semantic planner and a DiT-based renderer.
CheckpointByteDance/Bernini-Diffusers-v2
CodeByteDance/Bernini
Renderer baseWan2.2-T2V-A14B
Planner baseQwen2.5-VL-7B-Instruct
Recommended useComplex generation/editing requests that benefit from explicit latent semantic planning and stronger instruction following.
Supported taskst2i, i2i, t2v, v2v, rv2v, and r2v.
Model behaviorDecomposes complex instructions and plans semantic changes before rendering, at the cost of a heavier checkpoint layout than Bernini-R.

Benchmark snapshot

ModelEditVerseOpenVEOpenS2VVBenchBernini-v2v (OS)Bernini-rv2v (OS)
Bernini-v2 7+14B8.023.9663.8384.463.493.55

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-v2 directory directly to --config.

Bernini-Diffusers-v2/
  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-v2 \
    --local-dir pretrained_models/Bernini-Diffusers-v2

🚀 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
# Open-VeOmni is required. Install it with --no-deps so it does not pull in a
# different torch build and override the pinned torch==2.7.1+cu126:
pip install --no-deps git+https://github.com/ByteDance-Seed/VeOmni.git@v0.1.11

Recommended environment:

  • Python 3.11.2
  • PyTorch 2.7.1+cu126
  • CUDA toolkit 12.6
  • GPU Hopper GPUs (H100/H800/H200) are recommended for best performance

Load the model

Pass the downloaded directory directly as --config:

python infer_single_gpu.py --config pretrained_models/Bernini-Diffusers-v2 \
    --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-v2 --port 7860

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

Run scripts

The scripts/bernini_v2/ directory in the Bernini repo provides ready-to-run task launchers for Bernini-Diffusers-v2:

  • 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-v2

📑 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.

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · diffusers

Нельзя запустить

Задача «image-text-to-video» пока не поддерживается рантаймом.

Класс архитектуры
BerniniModel
Ревизия весов
ac5fc75

0 моделей