Instructions to use Remade-AI/Painting with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Remade-AI/Painting 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/Painting") prompt = "The video starts with a dog. The next scene shows the dog inside a gold framed mirror in a room. The dog is wearing the same clothes and the background outside the frame shows a landscape scene. Next, the dog transforms into a p41nt1ng painting frame it, where the dog is dressed in red and blue clothing. The background is an older style painting scene. Finally, the dog is in another p41nt1ng painting frame it, where it is dressed in a red robe with the same landscape background in the painting." 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") - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
Upload 3 files
Browse files
.gitattributes
CHANGED
|
@@ -33,3 +33,6 @@ 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/dog_painting.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
example_videos/man_painting.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
example_videos/woman_painting.mp4 filter=lfs diff=lfs merge=lfs -text
|
example_videos/dog_painting.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:13079837d64bce4a1e435ea2285c4469dca9104c51944ec7636a4da629991a27
|
| 3 |
+
size 652203
|
example_videos/man_painting.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fc311ddf055e2caa07846978e23cbcfe0bbeddd8ce9c81265873791c1ee05f27
|
| 3 |
+
size 756990
|
example_videos/woman_painting.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6f10332bd499aefc365e60c1eed37770deccc7b7f4ae1e3a9a42c5570c9d946d
|
| 3 |
+
size 563544
|