Instructions to use Remade-AI/Deflate with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Remade-AI/Deflate 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/Deflate") prompt = "The video opens with a man. As the video progresses, the man begins to d3d1at3 deflate it, gradually shrinking and losing shape, eventually flattening completely into a lifeless, deflated mass on the ground. " 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 README.md
Browse files
README.md
CHANGED
|
@@ -14,23 +14,19 @@ tags:
|
|
| 14 |
- image-to-video
|
| 15 |
widget:
|
| 16 |
- text: >-
|
| 17 |
-
The video opens
|
| 18 |
-
and hovering over the puppy. The knife then begins cutting into the puppy to
|
| 19 |
-
c4k3 cakeify it. As the knife slices the puppy open, the inside of the puppy
|
| 20 |
-
is revealed to be cake with chocolate layers. The knife cuts through and the
|
| 21 |
-
contents of the puppy are revealed.
|
| 22 |
output:
|
| 23 |
url: example_videos/man_deflate.mp4
|
| 24 |
- text: >-
|
| 25 |
-
The video opens
|
| 26 |
output:
|
| 27 |
url: example_videos/lamp_deflate.mp4
|
| 28 |
- text: >-
|
| 29 |
-
The video opens
|
| 30 |
output:
|
| 31 |
url: example_videos/balloon_deflate.mp4
|
| 32 |
- text: >-
|
| 33 |
-
The video opens
|
| 34 |
output:
|
| 35 |
url: example_videos/cat_deflate.mp4
|
| 36 |
---
|
|
|
|
| 14 |
- image-to-video
|
| 15 |
widget:
|
| 16 |
- text: >-
|
| 17 |
+
The video opens with a man. As the video progresses, the man begins to d3d1at3 deflate it, gradually shrinking and losing shape, eventually flattening completely into a lifeless, deflated mass on the ground.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
output:
|
| 19 |
url: example_videos/man_deflate.mp4
|
| 20 |
- text: >-
|
| 21 |
+
The video opens with a lamp. As the video progresses, the lamp begins to d3d1at3 deflate it, gradually shrinking and losing shape, eventually flattening completely into a lifeless, deflated mass on the ground.
|
| 22 |
output:
|
| 23 |
url: example_videos/lamp_deflate.mp4
|
| 24 |
- text: >-
|
| 25 |
+
The video opens with a balloon. As the video progresses, the balloon begins to d3d1at3 deflate it, gradually shrinking and losing shape, eventually flattening completely into a lifeless, deflated mass on the ground.
|
| 26 |
output:
|
| 27 |
url: example_videos/balloon_deflate.mp4
|
| 28 |
- text: >-
|
| 29 |
+
The video opens with a cat. As the video progresses, the cat begins to d3d1at3 deflate it, gradually shrinking and losing shape, eventually flattening completely into a lifeless, deflated mass on the ground.
|
| 30 |
output:
|
| 31 |
url: example_videos/cat_deflate.mp4
|
| 32 |
---
|