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 / models /t2v /tokenizer_2
445 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
dineth554's picture
dineth554
Upload models/t2v/tokenizer_2/special_tokens_map.json with huggingface_hub
040da5f verified 1 day ago
  • added_tokens.json
    29.7 kB
    Upload models/t2v/tokenizer_2/added_tokens.json with huggingface_hub 1 day ago
  • special_tokens_map.json
    168 kB
    Upload models/t2v/tokenizer_2/special_tokens_map.json with huggingface_hub 1 day ago
  • tokenizer_config.json
    247 kB
    Upload models/t2v/tokenizer_2/tokenizer_config.json with huggingface_hub 1 day ago