Instructions to use Remade-AI/Snow-White with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Remade-AI/Snow-White 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/Snow-White") prompt = "The video begins with a portrait of a man. The scene cuts to the man in the sn0w_wh1t3 Snow White transformation. He is now wearing the classic Snow White dress, and his hair is pulled back in a braid. He is holding a red apple in his right hand. The background has changed to a forest. The background and lighting add to the Snow White scene." 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
Upload 2 files
Browse files
.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/man1_snow_white.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
example_videos/man2_snow_white.mp4 filter=lfs diff=lfs merge=lfs -text
|
example_videos/man1_snow_white.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:497bf66e0e5e26f38265942ef24e1dbfac6ed91a20abb934306afe3021dd9760
|
| 3 |
+
size 902075
|
example_videos/man2_snow_white.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f625151dac8175ef04ebc16268fa00580dbc000a1be40d33bea1b5197357bef6
|
| 3 |
+
size 964694
|