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

suimu
/
VIRES

Image-to-Video
Diffusers
PyTorch
VIRES
Model card Files Files and versions
xet
Community
1

Instructions to use suimu/VIRES with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use suimu/VIRES 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("suimu/VIRES", 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
VIRES
3.18 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 7 commits
nielsr's picture
nielsr HF Staff
Add pipeline tag, library name and license
870fee5 verified over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit over 1 year ago
  • README.md
    2.02 kB
    Add pipeline tag, library name and license over 1 year ago
  • config.json
    760 Bytes
    Update config.json over 1 year ago
  • pytorch_model-00001.bin
    1.07 GB
    xet
    Upload pytorch_model-00001.bin over 1 year ago
  • pytorch_model-00002.bin
    1.07 GB
    xet
    Upload 2 files over 1 year ago
  • pytorch_model-00003.bin
    1.03 GB
    xet
    Upload 2 files over 1 year ago
  • pytorch_model.bin.index.json
    92.3 kB
    Upload 2 files over 1 year ago