Instructions to use Remade-AI/Assassin with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Remade-AI/Assassin 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/Assassin") prompt = "The video starts with a portrait of a dog. Then, the 3p1c epic transformation starts. The dog is wearing a red coat, and the 3p1c epic transformation is complete. The dog is holding a gun in each hand. The dog has white hair and black gloves." 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
Upload 5 files
Browse files
.gitattributes
CHANGED
|
@@ -33,3 +33,8 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip 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 |
+
example_videos/dog_assassin.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
example_videos/man1_assassin.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
example_videos/man2_assassin.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
example_videos/rabbit_assassin.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
example_videos/thanos_assassin.mp4 filter=lfs diff=lfs merge=lfs -text
|
example_videos/dog_assassin.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5c344853b0e217a1c0cc278b07f6e1070a13f32d6d3bc6d98187de0751d1bce4
|
| 3 |
+
size 794303
|
example_videos/man1_assassin.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e6ec0b860393f64de1a9eeea065dcee1f2a61911ec92a478e3c09fa0ad3a3ce2
|
| 3 |
+
size 551375
|
example_videos/man2_assassin.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e37c00be11b226094ae35ce61e2be097464a13398751f32df423e30701ad7b36
|
| 3 |
+
size 570323
|
example_videos/rabbit_assassin.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0ca77ae7c2d87fb616d1333feeaa69be924e68429ff46f11ea3c2382502c892c
|
| 3 |
+
size 405240
|
example_videos/thanos_assassin.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:959db5d32c3a26c71bc2db87bceec9cd3bde70672f44959ccd1ec70ec1c37141
|
| 3 |
+
size 851592
|