Instructions to use nerijs/lego-minifig-xl with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use nerijs/lego-minifig-xl with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("nerijs/lego-minifig-xl") prompt = "lego minifig of a samurai" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
LEGO Minifig XL
Consider supporting further research on Patreon or Twitter
Tips:
- Prompt with "lego minifig of a $SUBJECT"-
- Works best at 1024x1024, if you go higher than that will be non-standard size minifigs
- Best used at 0.8 strength
- You can use it for lego items or animals, just remove the "minifig" from the prompt
Limitations
- Tends to add items to the minifigs, will be fixed on v2
- Downloads last month
- 37
Model tree for nerijs/lego-minifig-xl
Base model
stabilityai/stable-diffusion-xl-base-1.0