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

  • Log In
  • Sign Up

FrancisRing
/
StableAnimator

Image-to-Video
Diffusers
ONNX
Safetensors
VAE
human-animation
Model card Files Files and versions
xet
Community
4

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

  • Libraries
  • Diffusers

    How to use FrancisRing/StableAnimator 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("FrancisRing/StableAnimator", 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
StableAnimator
40.8 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 28 commits
FrancisRing's picture
FrancisRing
Upload glintr100_torch.pth
172658c verified about 1 year ago
  • Animation
    Upload glintr100_torch.pth about 1 year ago
  • DWPose
    Upload 2 files over 1 year ago
  • assets
    Upload 13 files over 1 year ago
  • models
    Upload 6 files over 1 year ago
  • stable-video-diffusion-img2vid-xt
    Upload 19 files over 1 year ago
  • .gitattributes
    2.42 kB
    Upload 19 files over 1 year ago
  • README.md
    12.7 kB
    Add pipeline tag (#3) over 1 year ago
  • config.json
    1.02 kB
    Upload config.json over 1 year ago
  • inference.zip

    Pickle imports

    • No problematic imports detected

    What is a pickle import?

    87.3 MB
    xet
    Upload inference.zip over 1 year ago