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

  • Log In
  • Sign Up

Remade-AI
/
Warrior

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

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

  • Libraries
  • Diffusers

    How to use Remade-AI/Warrior 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/Warrior")
    
    prompt = "The video starts with a man. The next scene shows him with a mountain range in the background. His shirt is pulled up to his midriff, and he is wearing a skirt-like bottom. The man has a belt around his waist and is gesturing with his right hand. He is wearing brown, medieval looking leggings. The effect seen is warr10r warrior it. The man now appears as a warrior with an axe. He is shirtless, muscular, has tattoos, and is smiling with a determined look on his face. The background is the same mountain range as before. The next scene shows the man still as a warrior, and he is holding an axe with a golden axe head."
    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
Warrior / example_videos
14.2 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
Remade's picture
Remade
Update dog_warrior.gif
0860f11 verified about 1 year ago
  • dog_warrior.gif
    11.7 MB
    xet
    Update dog_warrior.gif about 1 year ago
  • dog_warrior.mp4
    937 kB
    xet
    Upload 3 files about 1 year ago
  • man1_warrior.mp4
    724 kB
    xet
    Upload 3 files about 1 year ago
  • man2_warrior.mp4
    851 kB
    xet
    Upload 3 files about 1 year ago