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

  • Log In
  • Sign Up

Remade-AI
/
Hero-run

Image-to-Video
Diffusers
English
text-to-image
lora
template:diffusion-lora
Model card Files Files and versions
xet
Community
1

Instructions to use Remade-AI/Hero-run with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use Remade-AI/Hero-run with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    from diffusers.utils import load_image, export_to_video
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("Wan-AI/Wan2.1-I2V-14B-480P,Wan-AI/Wan2.1-I2V-14B-480P-Diffusers", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("Remade-AI/Hero-run")
    
    prompt = "A muscular athlete is poised in a sprinter's starting position on a red running track within an outdoor stadium under bright lights. He wears a blue and white athletic tank top and black shorts. Positioned low and facing the camera, he intensely looks forward. He then explodes from the starting position, beginning the 4ct3ion Action Run directly towards the camera. His body transitions from a crouch to a running stance, pumping his arms."
    input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/guitar-man.png")
    
    image = pipe(image=input_image, prompt=prompt).frames[0]
    export_to_video(output, "output.mp4")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

The lora file(Hero-run) is no there, Can you reupload this lora?

1
#1 opened 12 months ago by
pheonis
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs