Skip to content
Projetos

Sobre

Improving and Expanding Video Editing Capabilities Without Videos

Design e mídia

Como estes números são medidos

Crescimento medido de estrelas

em 24 h
0
em 7 dias
Coletando histórico
em 15 dias
Coletando histórico
em 1 mês
Coletando histórico

Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.

README.md

Original

I2VT: Improving and Expanding Video Editing Capabilities Without Videos

Paper Project Page Models Dataset Benchmark Demo Papers with Code: SOTA on IVEBench (Short)

Overview video of Image-to-Video Transfer (silent)
Action changes, expression changes, body movements and scene relighting in videos, from a video editor fine-tuned on single images.

Image-to-Video Transfer (I2VT) improves pretrained video editors and expands them to new editing tasks, using an image editor as the teacher and only single images as training data. The video editor role-plays as an image editor: it edits an image as a one-frame video, and the image editor guides its prediction at each denoising step. After fine-tuning, the video editor applies the improved and expanded capabilities to whole clips, with no change to its architecture or sampler. We also release OpenVE++, which extends OpenVE-Bench with action change, expression change, body movement and scene relighting.

I2VT and the offline distillation baseline. Left: offline distillation fine-tunes on teacher-edited images. Middle: I2VT supervises the student along its own rollout. Right: at inference, the student edits whole video clips.

News

  • 2026.11.24: Code, the three I2VT models, the I2VT-17K training set and the OpenVE++ benchmark are released.

Models

Each model is a LoRA on a frozen pretrained video editor; all three are in one Hugging Face collection. Scores are the Overall columns of the main table in the paper (ratings from 1 to 5). OpenVE-Bench is judged by Gemini 2.5 Pro and OpenVE++ by Gemini 3.8 Flash.

Model Video editor Size OpenVE-Bench (Gemini 2.5 Pro) OpenVE++ (Gemini 3.8 Flash) Weights Training config
I2VT-1.3B Bernini-R-1.3B 1.3B 3.42 3.39 sanaka87/i2vt-1.3b config
I2VT-14B Bernini-R-14B 14B 3.58 3.77 sanaka87/i2vt-14b config
I2VT-CoF VideoCoF 14B 3.13 4.01 sanaka87/i2vt-cof config

The base editors score 3.10 and 1.54 (Bernini-R-1.3B), 3.33 and 2.30 (Bernini-R-14B) and 2.29 and 1.16 (VideoCoF).

All three are trained on I2VT-17K, 17,227 source images with editing instructions and teacher edits. The base weights (Bernini-R, VideoCoF, Wan2.1, JoyAI-Image-Edit) are published by their authors under their own licenses and are not redistributed here.

Quick start

Install

git clone https://github.com/HorizonWind2004/i2v-transfer.git && cd i2v-transfer
pip install -e '.[training,evaluation]'   # Python >= 3.10

Download the weights

All weights go under $I2V_ASSET_ROOT/checkpoints, where the configs look for them.

export I2V_ASSET_ROOT=/path/to/assets
C=$I2V_ASSET_ROOT/checkpoints

# Base video editors. Bernini-R reads its T5 text encoder and VAE from Wan2.1-T2V-14B.
huggingface-cli download ByteDance/Bernini-R-1.3B-Diffusers --exclude "text_encoder/*" "assets/*" --local-dir $C/Bernini-R-1.3B-Diffusers
huggingface-cli download ByteDance/Bernini-R-Diffusers --exclude "text_encoder/*" "assets/*" --local-dir $C/Bernini-R-Diffusers
huggingface-cli download Wan-AI/Wan2.1-T2V-14B --local-dir $C/Wan2.1-T2V-14B

# VideoCoF LoRA and the FusionX LoRA it uses for 4-step inference (I2VT-CoF only).
huggingface-cli download XiangpengYang/VideoCoF videocof.safetensors --local-dir $C/VideoCoF
huggingface-cli download vrgamedevgirl84/Wan14BT2VFusioniX FusionX_LoRa/Wan2.1_T2V_14B_FusionX_LoRA.safetensors --local-dir $C/VideoCoF
mv $C/VideoCoF/FusionX_LoRa/Wan2.1_T2V_14B_FusionX_LoRA.safetensors $C/VideoCoF/Wan2.1_Text_to_Video_14B_FusionX_LoRA.safetensors

# Teacher image editor (training only).
huggingface-cli download jdopensource/JoyAI-Image-Edit --local-dir $C/JoyAI-Image-Edit

# I2VT LoRAs.
huggingface-cli download sanaka87/i2vt-1.3b --local-dir $C/i2vt-1.3b
huggingface-cli download sanaka87/i2vt-14b --local-dir $C/i2vt-14b
huggingface-cli download sanaka87/i2vt-cof --local-dir $C/i2vt-cof

The Bernini-R models need only the T5 encoder, tokenizer and VAE of Wan2.1-T2V-14B; add --include "Wan2.1_VAE.pth" "models_t5_umt5-xxl-enc-bf16.pth" "google/umt5-xxl/*" to skip its transformer if you do not use I2VT-CoF.

Inference

Edit one video with any of the three models. The config supplies the base weights and the inference settings of the base editor.

# I2VT-1.3B (40 steps)
python scripts/infer_video.py \
  --config configs/train/i2vt-1.3b.yaml \
  --checkpoint $I2V_ASSET_ROOT/checkpoints/i2vt-1.3b/bernini_lora_step_200.safetensors \
  --video source.mp4 --prompt "Make the person raise their right arm." --output-dir outputs/demo

# I2VT-14B (40 steps)
python scripts/infer_video.py \
  --config configs/train/i2vt-14b.yaml \
  --checkpoint $I2V_ASSET_ROOT/checkpoints/i2vt-14b/bernini_lora_step_200.safetensors \
  --video source.mp4 --prompt "Make the person raise their right arm." --output-dir outputs/demo

# I2VT-CoF (4 steps with the FusionX LoRA)
python scripts/infer_video.py \
  --config configs/train/i2vt-cof.yaml \
  --checkpoint $I2V_ASSET_ROOT/checkpoints/i2vt-cof/videocof_lora_step_200.safetensors \
  --video source.mp4 --prompt "Relight the scene with warm candlelight." --output-dir outputs/demo

I2VT-14B has one LoRA per expert: --checkpoint names the high-noise one, and bernini_lora_low_step_200.safetensors is read from the same directory. --base runs the base editor without the LoRA. The script writes gen_<name>.mp4 and a side-by-side gen_<name>_compare.mp4.

Evaluation

--mode eval edits the benchmark clips and scores them with Gemini. Set GEMINI_API_KEY first. The examples below explicitly select Gemini 3.8 Flash.

[!WARNING] Starting December 1, 2026, Google will route Gemini Developer API requests for gemini-2.5-pro to gemini-3.8-flash. The scorer records the requested judge ID, so a request using the old ID can still appear as 2.5 Pro in the score file. The published OpenVE-Bench scores used Gemini 2.5 Pro. Treat new 3.8 Flash scores as a separate evaluation: use an output directory with no scores from another judge, and do not resume old 2.5 Pro scoring across the cutoff. The summary script reads all score JSONL files in the directory.

export GEMINI_API_KEY=...
CKPT="$I2V_ASSET_ROOT/checkpoints/i2vt-1.3b/bernini_lora_step_200.safetensors"

OpenVE-Bench

i2vt configs/train/i2vt-1.3b.yaml --mode eval --checkpoint "$CKPT" \
  --bench openve --judge gemini-3.8-flash
python scripts/summarize_scores.py --run I2VT-1.3B=outputs/inference/i2vt-1.3b/openve

OpenVE++

i2vt configs/train/i2vt-1.3b.yaml --mode eval --checkpoint "$CKPT" \
  --bench openve_pp --judge gemini-3.8-flash
python scripts/summarize_scores.py --run I2VT-1.3B=outputs/inference/i2vt-1.3b/openve_pp

For the other two models, use their corresponding config and LoRA. Videos and score files go to outputs/inference/<model>/<bench>/ by default, and the benchmarks are downloaded from the Hub on first use.

Training

One YAML file defines one run. It sets only the values that differ from the defaults in src/i2vt/config.py, and --dry-run prints the full configuration.

i2vt configs/train/i2vt-1.3b.yaml --dry-run   # print the resolved configuration
i2vt configs/train/i2vt-1.3b.yaml             # I2VT-1.3B
i2vt configs/train/i2vt-14b.yaml              # I2VT-14B
i2vt configs/train/i2vt-cof.yaml              # I2VT-CoF

The training set is downloaded from the Hub on first use. The effective batch is len(student_gpus) × gradient_accumulation_steps; keep the product when you change the number of GPUs. configs/README.md describes the three configs.

Hardware

With B300 (288 GB): use configs/train/ as is; this is how the released models were trained.

With A100 (80 GB): use configs/train/a100/. The teacher runs on its own GPUs and i2vt <config> starts it for you. Same recipe, slower:

Hardware Config Per step (48 samples) 200 steps
4 × B300 i2vt-cof.yaml ~80 s ~4.5 h
2 × A100 a100/i2vt-14b-2gpu.yaml ~12 min ~40 h
2 × A100 a100/i2vt-cof-2gpu.yaml ~15 min ~50 h
4 × A100 a100/*-4gpu.yaml ~half, untested ~20–25 h, untested
i2vt configs/train/a100/i2vt-14b-2gpu.yaml

Notes:

  • I2VT-CoF needs the full Wan2.1-T2V-14B download (~65 GB); Bernini-R-Diffusers is ~107 GB.
  • The A100 configs use torch.compile (student.compile_blocks). It is not bit for bit identical to eager; set it to false for eager numerics (I2VT-14B is then ~1.2× slower).
  • Tested with Python 3.10.

Benchmark

OpenVE++ adds 207 clips in four task groups to OpenVE-Bench and uses the same scoring protocol. Its source clips do not appear in the training data. --bench openve_pp evaluates all four groups.

Task group Clips
Action Change 73
Expression Change 42
Body Movement 42
Scene Relighting 50

Citation

@article{xie2026improving,
  title={Improving and Expanding Video Editing Capabilities Without Videos},
  author={Xie, Ji and Jia, Yanhao and Yang, Xiangpeng and Ma, Martin Q and Xu, Sihan and Cambria, Erik and Morency, Louis-Philippe},
  journal={arXiv preprint arXiv:2611.34941},
  year={2026}
}

@inproceedings{he2025openve,
  title = {{OpenVE-3M}: A Large-Scale High-Quality Dataset for Instruction-Based Video Editing},
  author = {He, Haoyang and Wang, Jie and Zhang, Jiangning and Xue, Zhucun and Bu, Xingyuan and Yang, Qiangpeng and Zheng, Min and Xie, Lei},
  booktitle = {European Conference on Computer Vision (ECCV)},
  year = {2026},
  url = {https://eccv.ecva.net/virtual/2026/poster/3261},
}

License

Apache License 2.0 (see LICENSE). Vendored third-party code and its licenses are listed in NOTICE.

Acknowledgements

I2VT builds on Bernini, VideoCoF, Wan2.1, JoyAI-Image-Edit and OpenVE. IVEBench numbers use the official IVEBench code. We thank the authors for releasing their work. The A100 training speed-ups were found with ResearchBoost-Agent by DAGroup-PKU.

Explore projetos relacionados

Carregando…