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

  • Log In
  • Sign Up

FastDM
/
Wan2.2-I2V-A14B-Merge-Lightning-V1.0-Diffusers

Image-to-Video
Diffusers
Safetensors
WanImageToVideoPipeline
Model card Files Files and versions
xet
Community
1

Instructions to use FastDM/Wan2.2-I2V-A14B-Merge-Lightning-V1.0-Diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use FastDM/Wan2.2-I2V-A14B-Merge-Lightning-V1.0-Diffusers 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("FastDM/Wan2.2-I2V-A14B-Merge-Lightning-V1.0-Diffusers", dtype=torch.bfloat16, device_map="cuda")
    pipe.to("cuda")
    
    prompt = "A man with short gray hair plays a red electric guitar."
    image = load_image(
        "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/guitar-man.png"
    )
    
    output = pipe(image=image, prompt=prompt).frames[0]
    export_to_video(output, "output.mp4")
  • Notebooks
  • Google Colab
  • Kaggle
Wan2.2-I2V-A14B-Merge-Lightning-V1.0-Diffusers
126 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 8 commits
BXset
Update README.md
5677fd6 verified 8 months ago
  • assets
    Add files using upload-large-folder tool 8 months ago
  • examples
    Add files using upload-large-folder tool 8 months ago
  • scheduler
    Add files using upload-large-folder tool 8 months ago
  • text_encoder
    Add files using upload-large-folder tool 8 months ago
  • tokenizer
    Add files using upload-large-folder tool 8 months ago
  • transformer
    Add files using upload-large-folder tool 8 months ago
  • transformer_2
    Add files using upload-large-folder tool 8 months ago
  • vae
    Add files using upload-large-folder tool 8 months ago
  • .gitattributes
    1.86 kB
    Add files using upload-large-folder tool 8 months ago
  • README.md
    2.86 kB
    Update README.md 8 months ago
  • configuration.json
    74 Bytes
    Add files using upload-large-folder tool 8 months ago
  • model_index.json
    600 Bytes
    Add files using upload-large-folder tool 8 months ago