Instructions to use joyfox/wan2.1_I2V480P_fenshengshu_lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use joyfox/wan2.1_I2V480P_fenshengshu_lora 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-I2V-14B-480P", torch_dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("joyfox/wan2.1_I2V480P_fenshengshu_lora") prompt = "镜头快速拉远,人物快速分裂出三个做着相同战斗姿势的影分身,站成一排,全身一直散发着浓烈的金色能量,分身保持人物一致性,令人惊叹的视觉效果" 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") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- Xet hash:
- 8adc4776a37aa2de76e92ba4cb578b1b3151b1434063f7a5bbf3eeaacb1858f2
- Size of remote file:
- 359 MB
- SHA256:
- 13746617d16c04a743f37efd5e234d21657287d7c80cddd5e461fa196ecbf373
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.