Instructions to use Remade-AI/Muscle with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Remade-AI/Muscle 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/Muscle") prompt = "Donald Trump speaking into a microphone, then t2k1s takes off clothes revealing a lean muscular body and shows off muscles, pointing his index finger." 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
Upload 4 files
Browse files- .gitattributes +4 -0
- example_videos/elon_muscle.mp4 +3 -0
- example_videos/man1_muscle.mp4 +3 -0
- example_videos/man2_muscle.mp4 +3 -0
- example_videos/trump_muscle.mp4 +3 -0
.gitattributes
CHANGED
|
@@ -34,3 +34,7 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
workflow/workflow_screenshot.png filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
workflow/workflow_screenshot.png filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
example_videos/elon_muscle.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
example_videos/man1_muscle.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
example_videos/man2_muscle.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
example_videos/trump_muscle.mp4 filter=lfs diff=lfs merge=lfs -text
|
example_videos/elon_muscle.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:568e7f8cffb11415b51c47c3dcd51c39ba364e66c0466b1c66634774e4bd38d0
|
| 3 |
+
size 403262
|
example_videos/man1_muscle.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fa1af731ab58c5050bedca99b2c8a428260ae5a37aefd0a2f271863e04d08f72
|
| 3 |
+
size 411034
|
example_videos/man2_muscle.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:610e7fa1c3edd3cd4e5ef2ce7493169fb61c0d3b16c2d81dab73f5d816fe7d13
|
| 3 |
+
size 410794
|
example_videos/trump_muscle.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b19d860ebf43716755ac12210ef22c67e7ad7a80f2f600c7a8f5c5cb31287ecb
|
| 3 |
+
size 488185
|