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-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") output = pipe(image=input_image, prompt=prompt).frames[0] export_to_video(output, "output.mp4") - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
Update dog_warrior.gif
Browse files- .gitattributes +1 -0
- example_videos/dog_warrior.gif +3 -0
.gitattributes
CHANGED
|
@@ -36,3 +36,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 36 |
example_videos/dog_warrior.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 37 |
example_videos/man1_warrior.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 38 |
example_videos/man2_warrior.mp4 filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 36 |
example_videos/dog_warrior.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 37 |
example_videos/man1_warrior.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 38 |
example_videos/man2_warrior.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
example_videos/dog_warrior.gif filter=lfs diff=lfs merge=lfs -text
|
example_videos/dog_warrior.gif
ADDED
|
Git LFS Details
|