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
|
@@ -64,12 +64,13 @@ widget:
|
|
| 64 |
|
| 65 |
<Gallery />
|
| 66 |
|
|
|
|
| 67 |
# Model File and Inference Workflow
|
| 68 |
|
| 69 |
## 📥 Download Links:
|
| 70 |
|
| 71 |
-
- [
|
| 72 |
-
- [
|
| 73 |
|
| 74 |
## Using with Diffusers
|
| 75 |
```py
|
|
@@ -144,7 +145,7 @@ export_to_video(output, "output.mp4", fps=16)
|
|
| 144 |
<div style="background-color: white; padding: 15px; border-radius: 8px; margin: 15px 0; box-shadow: 0 2px 4px rgba(0,0,0,0.1);">
|
| 145 |
<h2 style="color: #24292e; margin-top: 0;">ComfyUI Workflow</h2>
|
| 146 |
<p>This LoRA works with a modified version of <a href="https://github.com/kijai/ComfyUI-WanVideoWrapper/blob/main/example_workflows/wanvideo_480p_I2V_example_02.json" style="color: #0366d6; text-decoration: none;">Kijai's Wan Video Wrapper workflow</a>. The main modification is adding a Wan LoRA node connected to the base model.</p>
|
| 147 |
-
<img src="./workflow/
|
| 148 |
<p>See the Downloads section above for the modified workflow.</p>
|
| 149 |
</div>
|
| 150 |
</div>
|
|
|
|
| 64 |
|
| 65 |
<Gallery />
|
| 66 |
|
| 67 |
+
|
| 68 |
# Model File and Inference Workflow
|
| 69 |
|
| 70 |
## 📥 Download Links:
|
| 71 |
|
| 72 |
+
- [cakeify_16_epochs.safetensors](./cakeify_16_epochs.safetensors) - LoRA Model File
|
| 73 |
+
- [wan_img2vid_lora_workflow.json](./workflow/wan_img2vid_lora_workflow.json) - Wan I2V with LoRA Workflow for ComfyUI
|
| 74 |
|
| 75 |
## Using with Diffusers
|
| 76 |
```py
|
|
|
|
| 145 |
<div style="background-color: white; padding: 15px; border-radius: 8px; margin: 15px 0; box-shadow: 0 2px 4px rgba(0,0,0,0.1);">
|
| 146 |
<h2 style="color: #24292e; margin-top: 0;">ComfyUI Workflow</h2>
|
| 147 |
<p>This LoRA works with a modified version of <a href="https://github.com/kijai/ComfyUI-WanVideoWrapper/blob/main/example_workflows/wanvideo_480p_I2V_example_02.json" style="color: #0366d6; text-decoration: none;">Kijai's Wan Video Wrapper workflow</a>. The main modification is adding a Wan LoRA node connected to the base model.</p>
|
| 148 |
+
<img src="./workflow/cakeify_workflow_screenshot.png" style="width: 100%; border-radius: 8px; margin: 15px 0; box-shadow: 0 4px 8px rgba(0,0,0,0.1);">
|
| 149 |
<p>See the Downloads section above for the modified workflow.</p>
|
| 150 |
</div>
|
| 151 |
</div>
|