Instructions to use Remade-AI/Cakeify with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Remade-AI/Cakeify 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/Cakeify") prompt = "The video opens on a puppy. A knife, held by a hand, is coming into frame and hovering over the puppy. The knife then begins cutting into the puppy to c4k3 cakeify it. As the knife slices the puppy open, the inside of the puppy is revealed to be cake with chocolate layers. The knife cuts through and the contents of the puppy are revealed." 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
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
---
|
| 2 |
-
license:
|
| 3 |
language:
|
| 4 |
- en
|
| 5 |
base_model:
|
|
@@ -13,26 +13,39 @@ tags:
|
|
| 13 |
- template:diffusion-lora
|
| 14 |
- image-to-video
|
| 15 |
widget:
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
---
|
| 37 |
|
| 38 |
<div style="background-color: #f8f9fa; padding: 20px; border-radius: 10px; margin-bottom: 20px;">
|
|
|
|
| 1 |
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
language:
|
| 4 |
- en
|
| 5 |
base_model:
|
|
|
|
| 13 |
- template:diffusion-lora
|
| 14 |
- image-to-video
|
| 15 |
widget:
|
| 16 |
+
- text: >-
|
| 17 |
+
The video opens on a puppy. A knife, held by a hand, is coming into frame
|
| 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/puppy_cakeify.mp4
|
| 24 |
+
- text: >-
|
| 25 |
+
The video opens on a woman. A knife, held by a hand, is coming into frame
|
| 26 |
+
and hovering over the woman. The knife then begins cutting into the woman to
|
| 27 |
+
c4k3 cakeify it. As the knife slices the woman open, the inside of the woman
|
| 28 |
+
is revealed to be cake with chocolate layers. The knife cuts through and the
|
| 29 |
+
contents of the woman are revealed.
|
| 30 |
+
output:
|
| 31 |
+
url: example_videos/woman_cakeify.mp4
|
| 32 |
+
- text: >-
|
| 33 |
+
The video opens on a timberland boot. A knife, held by a hand, is coming
|
| 34 |
+
into frame and hovering over the timberland boot. The knife then begins
|
| 35 |
+
cutting into the timberland boot to c4k3 cakeify it. As the knife slices the
|
| 36 |
+
timberland boot open, the inside of the timberland boot is revealed to be
|
| 37 |
+
cake with chocolate layers. The knife cuts through and the contents of the
|
| 38 |
+
timberland boot are revealed.
|
| 39 |
+
output:
|
| 40 |
+
url: example_videos/timberland_cakeify.mp4
|
| 41 |
+
- text: >-
|
| 42 |
+
The video opens on a cat. A knife, held by a hand, is coming into frame and
|
| 43 |
+
hovering over the cat. The knife then begins cutting into the cat to c4k3
|
| 44 |
+
cakeify it. As the knife slices the cat open, the inside of the cat is
|
| 45 |
+
revealed to be cake with chocolate layers. The knife cuts through and the
|
| 46 |
+
contents of the cat are revealed.
|
| 47 |
+
output:
|
| 48 |
+
url: example_videos/cat_cakeify.mp4
|
| 49 |
---
|
| 50 |
|
| 51 |
<div style="background-color: #f8f9fa; padding: 20px; border-radius: 10px; margin-bottom: 20px;">
|