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

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 Settings
  • Draw Things
Hero-run / example_videos
5.76 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
Remade's picture
Remade
Upload 1.gif
de1c09c verified about 1 year ago
  • .DS_Store
    6.15 kB
    Upload 6 files about 1 year ago
  • 1.gif
    3.54 MB
    xet
    Upload 1.gif about 1 year ago
  • 1.mp4
    620 kB
    xet
    Upload 1.mp4 about 1 year ago
  • 2.mp4
    858 kB
    xet
    Upload 6 files about 1 year ago
  • 3.mp4
    738 kB
    xet
    Upload 6 files about 1 year ago