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

  • Log In
  • Sign Up

chenguolin
/
sv3d-diffusers

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

Instructions to use chenguolin/sv3d-diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use chenguolin/sv3d-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("chenguolin/sv3d-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
sv3d-diffusers / assets
12.9 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
chenguolin's picture
chenguolin
Upload assets/
4da0597 verified over 1 year ago
  • images
    Upload assets/ over 1 year ago
  • bag.gif
    1.98 MB
    xet
    Upload assets/ over 1 year ago
  • bag_official.gif
    1.89 MB
    xet
    Upload assets/ over 1 year ago
  • kunkun.gif
    1.88 MB
    xet
    Upload assets/ over 1 year ago
  • kunkun_official.gif
    1.61 MB
    xet
    Upload assets/ over 1 year ago
  • sculpture.gif
    1.94 MB
    xet
    Upload assets/ over 1 year ago
  • sculpture_official.gif
    1.44 MB
    xet
    Upload assets/ over 1 year ago
  • sv3doutputs.gif
    2.1 MB
    xet
    Upload assets/ over 1 year ago