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

trojblue
/
HunyuanVideo-lora-AnimeShots

Text-to-Video
Diffusers
Safetensors
hunyuan-video
lora
template:diffusion-lora
Model card Files Files and versions
xet
Community

Instructions to use trojblue/HunyuanVideo-lora-AnimeShots with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use trojblue/HunyuanVideo-lora-AnimeShots with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    from diffusers.utils import export_to_video
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("tencent/HunyuanVideo", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("trojblue/HunyuanVideo-lora-AnimeShots")
    
    prompt = "anime girl 1girl, alcohol carton, blush, braid, bridge, crosswalk, dress, green dress, holding carton, long hair, long sleeves, multiple girls, night, open mouth, outdoors, pedestrian bridge, purple eyes, red hair, single braid, solo focus, spaghetti strap"
    
    output = pipe(prompt=prompt).frames[0]
    export_to_video(output, "output.mp4")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
HunyuanVideo-lora-AnimeShots
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
trojblue's picture
trojblue
Update README.md
6c66e6e verified over 1 year ago
  • samples
    Upload 5 files over 1 year ago
  • v0.1
    adding lfs files over 1 year ago
  • .gitattributes
    1.61 kB
    adding lfs files over 1 year ago
  • README.md
    2.81 kB
    Update README.md over 1 year ago