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") - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
Download workflow_T2V/workflow_screenshot.png from Remade-AI/Lego: direct link, hf CLI and curl.
- Browser
- Download file 204 kB
-
https://huggingface.co/Remade-AI/Lego/resolve/main/workflow_T2V/workflow_screenshot.png
- Command line
-
hf download hf://Remade-AI/Lego/workflow_T2V/workflow_screenshot.png
-
curl -L -o workflow_screenshot.png https://huggingface.co/Remade-AI/Lego/resolve/main/workflow_T2V/workflow_screenshot.png
204 kB

- Xet hash:
- 605612e78f71c3dc923fc8e79082dc4fe8b383c4ff4840551370a227b9d199eb
- Size of remote file:
- 204 kB
- SHA256:
- 73495ecf798cf71fae7dedd783fe0eee4a9bc0037c68e7bac6484b545175b9ab
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.