Instructions to use Remade-AI/Inflate with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Remade-AI/Inflate 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/Inflate") prompt = "The large, bald man rides a gray donkey, then infl4t3 inflates it, both the man and the donkey expanding into giant, inflated figures against the desert landscape." 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
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/apple_inflate.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
example_videos/cartoon_inflate.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
example_videos/man_inflate.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
example_videos/woman_inflate.mp4 filter=lfs diff=lfs merge=lfs -text
|
example_videos/apple_inflate.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9e7b225dcb2b9058693babd1daa0910d7b19bb11d92dc540f5593fd9d23251e0
|
| 3 |
+
size 275345
|
example_videos/cartoon_inflate.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:de5c7bb764261c9b4f10c7e5c2e240f6457c979288ad33f0142ca69e4828cd2f
|
| 3 |
+
size 455882
|
example_videos/man_inflate.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6d6121bc5a357b966c02f6dbd1e71125bc3f281de566bcfe330d7f796e6a645b
|
| 3 |
+
size 599475
|
example_videos/woman_inflate.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bb45ec6af026a878e070d72057d1f95b5c3468521a8cbf50a871205cd490dc9f
|
| 3 |
+
size 321851
|