Instructions to use Remade-AI/Zen with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Remade-AI/Zen 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/Zen") prompt = "The video starts with a portrait of a rodent. The scene then transitions to the rodent's z3n1fy zen transformation as the rodent is wearing a pink robe with a white shirt underneath, with a zen garden background. The rodent is facing the camera with a neutral expression. The background appears to be blurred and out of focus. The scene then transitions again to show the transformed rodent, in what appears to be a garden setting. The rodent is now wearing a black kimono with white floral designs and a white belt. The rodent carries a basket in one hand and a colorful fan in the other. The rodent is walking down a pathway lined with hedges and greenery. The z3n1fy zen transformation is complete. The rodent has a neutral expression, looking directly at the camera." 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 man_zen.gif
Browse files- .gitattributes +1 -0
- man_zen.gif +3 -0
.gitattributes
CHANGED
|
@@ -36,3 +36,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 36 |
example_videos/man_zen.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 37 |
example_videos/rodent_zen.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 38 |
example_videos/thanos_zen.mp4 filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 36 |
example_videos/man_zen.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 37 |
example_videos/rodent_zen.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 38 |
example_videos/thanos_zen.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
man_zen.gif filter=lfs diff=lfs merge=lfs -text
|
man_zen.gif
ADDED
|
Git LFS Details
|