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