Instructions to use joyfox/wan21_i2v_480P_smoke_change_clothes_lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use joyfox/wan21_i2v_480P_smoke_change_clothes_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", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("joyfox/wan21_i2v_480P_smoke_change_clothes_lora") prompt = "ywbz,烟雾特效变装,随后这个女人的服装伴随烟雾特效着变成的黑色兔女郎套装,紧身胸衣,蝴蝶结。头部保持不变,头顶出现一对兔耳朵装饰,最后这个女人对着镜头微笑并单手叉腰。" 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
- Draw Things
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!