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
Add 5 files
Browse files- fensheng_000003500.safetensors +3 -0
- images/1.webp +3 -0
- images/2.webp +3 -0
- images/3.webp +3 -0
- images/4.webp +3 -0
fensheng_000003500.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:13746617d16c04a743f37efd5e234d21657287d7c80cddd5e461fa196ecbf373
|
| 3 |
+
size 359258144
|
images/1.webp
ADDED
|
Git LFS Details
|
images/2.webp
ADDED
|
Git LFS Details
|
images/3.webp
ADDED
|
Git LFS Details
|
images/4.webp
ADDED
|
Git LFS Details
|