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

wangkanai
/
wan22-fp8-i2v-loras

Text-to-Video
Diffusers
wan
image-to-video
video-generation
lora
camera-control
lighting
fp8
Model card Files Files and versions
xet
Community

Instructions to use wangkanai/wan22-fp8-i2v-loras with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use wangkanai/wan22-fp8-i2v-loras with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    from diffusers.utils import export_to_video
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("fill-in-base-model", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("wangkanai/wan22-fp8-i2v-loras")
    
    prompt = "A man with short gray hair plays a red electric guitar."
    
    output = pipe(prompt=prompt).frames[0]
    export_to_video(output, "output.mp4")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • Draw Things
wan22-fp8-i2v-loras
1.69 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
wangkanai's picture
wangkanai
Upload folder using huggingface_hub
0f39de1 verified 7 months ago
  • loras
    Upload folder using huggingface_hub 8 months ago
  • .gitattributes
    1.52 kB
    initial commit 8 months ago
  • README.md
    12.6 kB
    Upload folder using huggingface_hub 7 months ago