Instructions to use AlanB/TransformersStyle with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use AlanB/TransformersStyle with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("runwayml/stable-diffusion-v1-5", torch_dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("AlanB/TransformersStyle") prompt = "UNICODE\u0000\u0000<\u0000l\u0000o\u0000r\u0000a\u0000:\u0000T\u0000r\u0000a\u0000n\u0000s\u0000f\u0000o\u0000r\u0000m\u0000e\u0000r\u0000s\u0000S\u0000t\u0000y\u0000l\u0000e\u0000:\u00001\u0000.\u00000\u0000>\u0000 \u0000T\u0000r\u0000a\u0000n\u0000s\u0000f\u0000o\u0000r\u0000m\u0000e\u0000r\u0000s\u0000S\u0000t\u0000y\u0000l\u0000e\u0000 \u0000L\u0000i\u0000g\u0000h\u0000t\u0000_\u0000p\u0000i\u0000n\u0000k\u0000,\u0000 \u0000G\u0000r\u0000e\u0000e\u0000n\u0000,\u0000 \u0000b\u0000e\u0000e\u0000t\u0000l\u0000e\u0000 \u0000<\u0000l\u0000o\u0000r\u0000a\u0000:\u0000L\u0000o\u0000w\u0000R\u0000a\u0000:\u00000\u0000.\u00003\u0000>\u0000 \u0000<\u0000l\u0000o\u0000r\u0000a\u0000:\u0000a\u0000d\u0000d\u0000_\u0000d\u0000e\u0000t\u0000a\u0000i\u0000l\u0000:\u00000\u0000.\u00005\u0000>\u0000" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
tags:
- text-to-image
- stable-diffusion
- lora
- diffusers
- template:sd-lora
widget:
- text: "UNICODE\0\0<\0l\0o\0r\0a\0:\0T\0r\0a\0n\0s\0f\0o\0r\0m\0e\0r\0s\0S\0t\0y\0l\0e\0:\01\0.\00\0>\0 \0T\0r\0a\0n\0s\0f\0o\0r\0m\0e\0r\0s\0S\0t\0y\0l\0e\0 \0L\0i\0g\0h\0t\0_\0p\0i\0n\0k\0,\0 \0G\0r\0e\0e\0n\0,\0 \0b\0e\0e\0t\0l\0e\0 \0<\0l\0o\0r\0a\0:\0L\0o\0w\0R\0a\0:\00\0.\03\0>\0 \0<\0l\0o\0r\0a\0:\0a\0d\0d\0_\0d\0e\0t\0a\0i\0l\0:\00\0.\05\0>\0"
output:
url: images/2023-11-29 - 02.18.28.jpeg
base_model: runwayml/stable-diffusion-v1-5
instance_prompt: TransformersStyle
license: apache-2.0
Transformers Style LoRA 1.5

- Prompt
- UNICODE<lora:TransformersStyle:1.0> TransformersStyle Light_pink, Green, beetle <lora:LowRa:0.3> <lora:add_detail:0.5>
Model description
Legends say that a transformer started this whole thing. Copied from https://civitai.com/models/216460/transformers-style-autobots-transform-and-roll-out
This model supports multiple colors.
Try prompting for multiple colors in the prompt, and you're likely to get a good mix of them in the subject.
Usage Use the trigger word: "TransformersStyle" along with the LoRA to activate it.
Example prompt: TransformersStyle blue, red, white, blender<lora:TransformersStyle:0.8>
I've found that most settings work well with this model. No special samplers or CFG-scale.
Tips & Tricks Here is a list of words that can enhance the quality of your prompts when it comes to a style like this:
mechanical technical hi-tech sci-fi I may be using the following extensions in the reference images: FreeU or ADetailer / Face Editor. I may also be using a specific Hires Checkpoint (swaps to another model when doing the hires steps). If your results don't match mine exactly, this may explain why.
Training Data included
Like it?
https://ko-fi.com/mnemic
https://www.buymeacoffee.com/mnemic
Trigger words
You should use TransformersStyle to trigger the image generation.
Download model
Weights for this model are available in Safetensors format.
Download them in the Files & versions tab.