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 lego_35_epochs.safetensors
Browse files
lego_35_epochs.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:09b468a37f8d029ac2243b8f8d8504eb6b981e517c4b8cecbc1a36f316d31a22
|
| 3 |
+
size 359257680
|