Instructions to use Remade-AI/Princess with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Remade-AI/Princess 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/Princess") prompt = "The video begins with an image of a woman. A pr1nc355 princess transformation then happens as white sparkling light appears around the woman's shoulders and chest. The woman is now wearing a tiara on her head, a long, silver beaded gown, and silver gloves that reach up to her biceps. The woman is seated on a chair in front of a table with gifts and candles. The background is a room with white curtains. The woman is looking directly at the camera and holding her hand up. The camera pans to the right to display more gifts and candles. Thew man then moves their hand closer to 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
- Draw Things
Upload 2 files
Browse files- .gitattributes +2 -0
- example_videos/man_princess.mp4 +3 -0
- example_videos/woman_princess.mp4 +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip 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
|
|
|
|
|
|
|
|
|
| 33 |
*.zip 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 |
+
example_videos/man_princess.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
example_videos/woman_princess.mp4 filter=lfs diff=lfs merge=lfs -text
|
example_videos/man_princess.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4cfd514a3d7a574126785fde600a0a83eeb42d35056ab2eaeab9aebaa4dd339a
|
| 3 |
+
size 1626885
|
example_videos/woman_princess.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:af39ec71dc588312e2adccd4589b3e7193ec9f99d8e567e8ff3739e07a54fab6
|
| 3 |
+
size 1467346
|