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

Wan-AI
/
Wan2.1-I2V-14B-720P

Image-to-Video
Diffusers
Safetensors
English
Chinese
i2v
video
video genration
Model card Files Files and versions
xet
Community
26

Instructions to use Wan-AI/Wan2.1-I2V-14B-720P with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use Wan-AI/Wan2.1-I2V-14B-720P 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-720P", 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")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
Wan2.1-I2V-14B-720P
82.3 GB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 6 commits
Yingda's picture
Yingda
add modelscope download cli
8823af4 verified over 1 year ago
  • assets
    init upload over 1 year ago
  • examples
    init upload over 1 year ago
  • google
    init upload over 1 year ago
  • xlm-roberta-large
    init upload over 1 year ago
  • .gitattributes
    2.25 kB
    init upload over 1 year ago
  • README.md
    16.1 kB
    add modelscope download cli over 1 year ago
  • Wan2.1_VAE.pth
    508 MB
    xet
    init upload over 1 year ago
  • config.json
    250 Bytes
    init upload over 1 year ago
  • diffusion_pytorch_model-00001-of-00007.safetensors
    9.85 GB
    xet
    init upload over 1 year ago
  • diffusion_pytorch_model-00002-of-00007.safetensors
    9.8 GB
    xet
    init upload over 1 year ago
  • diffusion_pytorch_model-00003-of-00007.safetensors
    9.8 GB
    xet
    init upload over 1 year ago
  • diffusion_pytorch_model-00004-of-00007.safetensors
    9.69 GB
    xet
    init upload over 1 year ago
  • diffusion_pytorch_model-00005-of-00007.safetensors
    9.69 GB
    xet
    init upload over 1 year ago
  • diffusion_pytorch_model-00006-of-00007.safetensors
    9.69 GB
    xet
    init upload over 1 year ago
  • diffusion_pytorch_model-00007-of-00007.safetensors
    7.06 GB
    xet
    init upload over 1 year ago
  • diffusion_pytorch_model.safetensors.index.json
    116 kB
    init upload over 1 year ago
  • models_clip_open-clip-xlm-roberta-large-vit-huge-14.pth
    4.77 GB
    xet
    init upload over 1 year ago
  • models_t5_umt5-xxl-enc-bf16.pth
    11.4 GB
    xet
    init upload over 1 year ago