Instructions to use starsfriday/Wan2.2-I2V-KungFu with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use starsfriday/Wan2.2-I2V-KungFu 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.2-I2V-A14B", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("starsfriday/Wan2.2-I2V-KungFu") prompt = "一个小孩双脚直立,双臂灵活张开,时而抬手,然后转身朝向左边,时而踢腿,做着一系列打拳动作,wugong" input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/guitar-man.png") output = pipe(image=input_image, prompt=prompt).frames[0] export_to_video(output, "output.mp4") - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
Download wan2.2_wugong_i2v_low.safetensors from starsfriday/Wan2.2-I2V-KungFu: direct link, hf CLI and curl.
- Browser
- Download file 307 MB
-
https://huggingface.co/starsfriday/Wan2.2-I2V-KungFu/resolve/main/wan2.2_wugong_i2v_low.safetensors
- Command line
-
hf download hf://starsfriday/Wan2.2-I2V-KungFu/wan2.2_wugong_i2v_low.safetensors
-
curl -L -o wan2.2_wugong_i2v_low.safetensors https://huggingface.co/starsfriday/Wan2.2-I2V-KungFu/resolve/main/wan2.2_wugong_i2v_low.safetensors
307 MB
- Xet hash:
- d4da094a5be51a850d0168c7f59e869f3b681c05e566ba66c5fa775c8ab01bc4
- Size of remote file:
- 307 MB
- SHA256:
- a62c61cb866a85433bc07d64e4d344fe278fff1c9352829ad5e873b0c87261a8
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.