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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

joyfox
/
wan2.1_I2V480P_fenshengshu_lora

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

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
wan2.1_I2V480P_fenshengshu_lora / images
11.5 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
laozou's picture
laozou
Add 5 files
f4879cb verified 10 months ago
  • 1.webp
    3 MB
    xet
    Add 5 files 10 months ago
  • 2.webp
    3.37 MB
    xet
    Add 5 files 10 months ago
  • 3.webp
    2.72 MB
    xet
    Add 5 files 10 months ago
  • 4.webp
    2.43 MB
    xet
    Add 5 files 10 months ago