Instructions to use Remade-AI/Lego with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Remade-AI/Lego with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import export_to_video # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Wan-AI/Wan2.1-T2V-14B", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("Remade-AI/Lego") prompt = "l3g0_5ty13 Lego animation style, a close-up shot of a Lego pirate minifigure with a black tricorn hat, an eye patch, and a red coat. He is holding a silver cutlass in his right hand, and a small Lego parrot is perched on his shoulder. The background is a blurry mix of blue and brown Lego bricks resembling an ocean scene." output = pipe(prompt=prompt).frames[0] export_to_video(output, "output.mp4") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
Upload 4 files
Browse files- .gitattributes +4 -0
- example_videos/1.mp4 +3 -0
- example_videos/2.mp4 +3 -0
- example_videos/3.mp4 +3 -0
- example_videos/4.mp4 +3 -0
.gitattributes
CHANGED
|
@@ -34,3 +34,7 @@ saved_model/**/* 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 |
workflow_T2V/workflow_screenshot.png 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 |
workflow_T2V/workflow_screenshot.png filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
example_videos/1.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
example_videos/2.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
example_videos/3.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
example_videos/4.mp4 filter=lfs diff=lfs merge=lfs -text
|
example_videos/1.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8c1239b9e306642107c7a109ab1303eeb109a7ae9a7c8e47c72ed3ca8e9a008a
|
| 3 |
+
size 696967
|
example_videos/2.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d40247ac0c0692192f48d364e6570b00869d8daf1401094e8f7c770addf5cb93
|
| 3 |
+
size 1190474
|
example_videos/3.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:439f1ae53762f047437d5fcfcebedb1cbc40214840e9968a24697b2b9dc4cb63
|
| 3 |
+
size 1290021
|
example_videos/4.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f0fee0a6f05b5a5f3c4546f6af9a8f371398c2e4f47e9c92800021dc092bf294
|
| 3 |
+
size 1060310
|