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
- Xet hash:
- c889cee4e345c10dcfc9894736b0f8e72ae0a27043b782b0eda09da02b198edf
- Size of remote file:
- 411 kB
- SHA256:
- 610e7fa1c3edd3cd4e5ef2ce7493169fb61c0d3b16c2d81dab73f5d816fe7d13
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.