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

deathlegionteam
/
LEGION-Video-Gen

Diffusers
Safetensors
hunyuan_video
Model card Files Files and versions
xet
Community

Instructions to use deathlegionteam/LEGION-Video-Gen with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use deathlegionteam/LEGION-Video-Gen with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("deathlegionteam/LEGION-Video-Gen", 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
LEGION-Video-Gen
53.4 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 59 commits
dineth554's picture
dineth554
Upload models/t2v/README.md with huggingface_hub
c2f261a verified about 15 hours ago
  • backend
    Upload backend/main.py with huggingface_hub about 15 hours ago
  • frontend
    Upload frontend/streamlit_app.py with huggingface_hub about 15 hours ago
  • models
    Upload models/t2v/README.md with huggingface_hub about 15 hours ago
  • .gitattributes
    133 Bytes
    Upload .gitattributes with huggingface_hub about 16 hours ago
  • MODEL_CARD.md
    5 kB
    Upload MODEL_CARD.md with huggingface_hub about 15 hours ago
  • README.md
    8.71 kB
    Upload README.md with huggingface_hub about 15 hours ago
  • config.json
    2.12 kB
    Upload config.json with huggingface_hub about 15 hours ago
  • inference.py
    19.1 kB
    Upload inference.py with huggingface_hub about 15 hours ago
  • requirements.txt
    313 Bytes
    Upload requirements.txt with huggingface_hub about 16 hours ago