Instructions to use sanaka87/i2vt-1.3b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use sanaka87/i2vt-1.3b with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("ByteDance/Bernini-R-1.3B-Diffusers", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("sanaka87/i2vt-1.3b") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
I2VT-1.3B
LoRA weights of I2VT-1.3B from the paper Improving and Expanding Video Editing Capabilities Without Videos.
Project page | Code | OpenVE++ benchmark | I2VT-17K data | arXiv: coming soon
I2VT (Image-to-Video Transfer) improves a pretrained video editor and expands it to new editing tasks using only images. The video editor edits each source image as a one-frame video, and a frozen image editor (JoyAI-Image-Edit) guides its prediction at each step of its own denoising trajectory. I2VT needs no new paired videos and no architecture changes, and it fine-tunes only a LoRA. At test time, the fine-tuned editor edits whole video clips.
I2VT-1.3B is Bernini-R-1.3B fine-tuned with I2VT on I2VT-17K. It improves the basic edits of OpenVE-Bench and expands the editor to the four new tasks of OpenVE++: action change, expression change, body movement and scene relighting.
Results
Each judge rates instruction compliance, consistency with the source and visual quality from 1 to 5, and a clip's score is the mean of the three. Overall is the mean of the category means. OpenVE-Bench is scored by Gemini 2.5 Pro. OpenVE++ is scored by Gemini 3.8 Flash, as in the main comparison table of the paper, and by Gemini 2.5 Pro, as in the supplement. No prompt enhancement is used.
OpenVE-Bench (basic edits)
| Model | Global Style | Local Change | Background Change | Local Remove | Local Add | Overall |
|---|---|---|---|---|---|---|
| Bernini-R-1.3B | 3.27 | 4.01 | 2.94 | 2.88 | 2.41 | 3.10 |
| I2VT-1.3B | 3.93 | 4.01 | 3.12 | 3.45 | 2.59 | 3.42 |
OpenVE++ (new tasks)
| Model | Judge | Action Change | Expression Change | Body Movement | Scene Relighting | Overall |
|---|---|---|---|---|---|---|
| Bernini-R-1.3B | Gemini 3.8 Flash | 1.43 | 1.50 | 1.10 | 2.11 | 1.54 |
| I2VT-1.3B | Gemini 3.8 Flash | 3.35 | 3.67 | 2.90 | 3.65 | 3.39 |
| Bernini-R-1.3B | Gemini 2.5 Pro | 1.83 | 2.00 | 1.14 | 2.43 | 1.85 |
| I2VT-1.3B | Gemini 2.5 Pro | 3.47 | 3.47 | 2.32 | 3.21 | 3.12 |
Files
| File | Contents |
|---|---|
bernini_lora_step_200.safetensors |
LoRA for the Bernini-R-1.3B transformer (rank 128, alpha 64, all linear layers, bf16) |
train_config.yaml |
Fine-tuning and evaluation config |
Usage
Base model: ByteDance/Bernini-R-1.3B-Diffusers. Load bernini_lora_step_200.safetensors on its transformer. Inference scripts are in the code repository.
from huggingface_hub import hf_hub_download
lora = hf_hub_download("sanaka87/i2vt-1.3b", "bernini_lora_step_200.safetensors")
The scores above use the official Bernini-R video-to-video settings: UniPC sampler, 40 steps, 81 frames, APG guidance (source video 1.25, image 4.5, text 4.0), time shift 5, seed 42.
Fine-tuning
LoRA rank 128 and alpha 64 on every linear layer of the DiT, with the backbone frozen. Learning rate 2e-5, batch size 48 source images, 200 steps, 10 rollout steps per image. The image editor's guidance scale is 2 for actions and body movements and 1 for the OpenVE pool, expressions and relighting. train_config.yaml lists every setting.
Responsible use
The weights can change the actions and expressions of real people in videos. Do not use them to create misleading content about real people or content made without their consent, and label edited videos as edited.
License
Apache 2.0, the license of the base model ByteDance/Bernini-R-1.3B-Diffusers.
Citation
Coming soon.
- Downloads last month
- 8
Model tree for sanaka87/i2vt-1.3b
Base model
ByteDance/Bernini-R-1.3B-Diffusers