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
File size: 132 Bytes
f4879cb | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:63ab0dba5d4c799225d5baae2843b5dbf7ce86bdd6245184212b8fcd55fcf1da
size 2997132
|