Instructions to use joyfox/Wan2.2-I2V-Fly with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use joyfox/Wan2.2-I2V-Fly 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-Fly") prompt = "这个女人以超人的姿态水平悬空,身体紧贴着地面高速飞行,feixing" 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
File size: 132 Bytes
b90acf9 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:c5d271560e1b2c0c7ed91816c350cc482e73b1cc63128cb991c17e099a7fbf1e
size 1299445
|