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
365 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 10 commits
Remade's picture
Remade
Upload Hero_run.safetensors
d037921 verified about 1 year ago
  • example_videos
    Upload 1.gif about 1 year ago
  • workflow_I2V
    Upload 6 files about 1 year ago
  • .gitattributes
    1.88 kB
    Upload 1.gif about 1 year ago
  • Hero_run.safetensors
    359 MB
    xet
    Upload Hero_run.safetensors about 1 year ago
  • README.md
    7.13 kB
    Update README.md about 1 year ago