Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

joyfox
/
Wan2.2-I2V-Fly

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

Instructions to use joyfox/Wan2.2-I2V-Fly with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use joyfox/Wan2.2-I2V-Fly 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.2-I2V-A14B", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("joyfox/Wan2.2-I2V-Fly")
    
    prompt = "这个女人以超人的姿态水平悬空,身体紧贴着地面高速飞行,feixing"
    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")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
Wan2.2-I2V-Fly
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
starsfriday's picture
starsfriday
Upload folder using huggingface_hub
b90acf9 verified 8 months ago
  • result
    Upload folder using huggingface_hub 8 months ago
  • .gitattributes
    1.68 kB
    Upload folder using huggingface_hub 8 months ago
  • README.md
    2.99 kB
    Upload folder using huggingface_hub 8 months ago
  • adapter_config.json
    864 Bytes
    Upload folder using huggingface_hub 8 months ago
  • wan2.2_fly_i2v_high.safetensors
    307 MB
    xet
    Upload folder using huggingface_hub 8 months ago