Image-to-Video
Diffusers
Safetensors
English
Chinese
video generation
video-to-video editing
refernce-to-video
Instructions to use Wan-AI/Wan2.1-VACE-1.3B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Wan-AI/Wan2.1-VACE-1.3B with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image, export_to_video # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Wan-AI/Wan2.1-VACE-1.3B", dtype=torch.bfloat16, device_map="cuda") pipe.to("cuda") prompt = "A man with short gray hair plays a red electric guitar." image = load_image( "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/guitar-man.png" ) output = pipe(image=image, prompt=prompt).frames[0] export_to_video(output, "output.mp4") - Notebooks
- Google Colab
- Kaggle
Improve model card: Update pipeline tag, add library name, tags, and link NABLA paper
#5 opened 11 months ago
by
nielsr
Add video-to-video pipeline tag
#4 opened about 1 year ago
by
linoyts
🔥🔥🔥本地部署与使用完整视频教程
#1 opened about 1 year ago
by
leo009