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
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

genmo
/
mochi-1-preview

Text-to-Video
Diffusers
Safetensors
Genmo
English
MochiPipeline
video
Model card Files Files and versions
xet
Community
32

Instructions to use genmo/mochi-1-preview with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use genmo/mochi-1-preview with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("genmo/mochi-1-preview", dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
    image = pipe(prompt).images[0]
  • Genmo

    How to use genmo/mochi-1-preview with Genmo:

    # No code snippets available yet for this library.
    
    # To use this model, check the repository files and the library's documentation.
    
    # Want to help? PRs adding snippets are welcome at:
    # https://github.com/huggingface/huggingface.js
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
mochi-1-preview
41.6 GB
Ctrl+K
Ctrl+K
  • 9 contributors
History: 19 commits
super3b's picture
super3b
Typo in Command Line Instructions
f6b30a4 verified over 1 year ago
  • assets
    Upload assets/grid.gif with huggingface_hub over 1 year ago
  • .gitattributes
    1.62 kB
    Upload assets/grid.gif with huggingface_hub over 1 year ago
  • README.md
    4.41 kB
    Typo in Command Line Instructions over 1 year ago
  • dit-config.yaml
    301 Bytes
    Remove unnecessary arguments from config over 1 year ago
  • dit.safetensors
    40.1 GB
    xet
    Upload dit.safetensors with huggingface_hub over 1 year ago
  • vae.safetensors
    1.45 GB
    xet
    Upload vae.safetensors with huggingface_hub over 1 year ago
  • vae_stats.json
    527 Bytes
    Upload vae_stats.json with huggingface_hub over 1 year ago