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

  • Log In
  • Sign Up

camenduru
/
AnimateDiff

Diffusers
Model card Files Files and versions
xet
Community
3

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

  • Libraries
  • Diffusers

    How to use camenduru/AnimateDiff with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("camenduru/AnimateDiff", dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
AnimateDiff / StableDiffusion
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
camenduru's picture
camenduru
thanks to guoyww ❤
acc48fe almost 3 years ago
  • feature_extractor
    thanks to guoyww ❤ almost 3 years ago
  • safety_checker
    thanks to guoyww ❤ almost 3 years ago
  • scheduler
    thanks to guoyww ❤ almost 3 years ago
  • text_encoder
    thanks to guoyww ❤ almost 3 years ago
  • tokenizer
    thanks to guoyww ❤ almost 3 years ago
  • unet
    thanks to guoyww ❤ almost 3 years ago
  • vae
    thanks to guoyww ❤ almost 3 years ago
  • README.md
    13.8 kB
    thanks to guoyww ❤ almost 3 years ago
  • model_index.json
    543 Bytes
    thanks to guoyww ❤ almost 3 years ago