Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

joyfox
/
wan21_i2v_480P_smoke_change_clothes_lora

Image-to-Video
Diffusers
lora
template:diffusion-lora
Model card Files Files and versions
xet
Community

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
wan21_i2v_480P_smoke_change_clothes_lora
400 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
lvfengchun's picture
lvfengchun
Update README.md
455ebfd verified 9 months ago
  • images
    Add 4 files 9 months ago
  • .gitattributes
    2.31 kB
    initial commit 9 months ago
  • README.md
    2.87 kB
    Update README.md 9 months ago
  • wan21_i2v_change_clothes_lora.safetensors
    359 MB
    xet
    Add 4 files 9 months ago