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:
- b0747ee3baeeab57fc62536adf037497af4a40638ace0964adad6035b3d183fc
- Size of remote file:
- 2.32 MB
- SHA256:
- b1226cfa985662838b253d3ff6ab1e5e4ab55a30a103c7fb1fbd7f00220529a0
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.