Instructions to use Shakker-Labs/SD3.5-LoRA-Linear-Red-Light with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Shakker-Labs/SD3.5-LoRA-Linear-Red-Light 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-3.5-large", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("Shakker-Labs/SD3.5-LoRA-Linear-Red-Light") prompt = "a boy in Halloween costumes, Linear red light" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
SD3.5-LoRA-Linear-Red-Light

- Prompt
- a boy in Halloween costumes, Linear red light
- Negative Prompt
- (lowres, low quality, worst quality)

- Prompt
- a cat, Linear red light
- Negative Prompt
- (lowres, low quality, worst quality)

- Prompt
- Halloween Lanterns on the table, Linear red light
- Negative Prompt
- (lowres, low quality, worst quality)

- Prompt
- Eiffel Tower, Linear red light
- Negative Prompt
- (lowres, low quality, worst quality)

- Prompt
- a Witch, Linear red light
- Negative Prompt
- (lowres, low quality, worst quality)

- Prompt
- a vampire, moon, Linear red light
- Negative Prompt
- (lowres, low quality, worst quality)
Trigger words
You should use Linear red light to trigger the image generation.
Inference
import torch
from diffusers import StableDiffusion3Pipeline # pip install diffusers>=0.31.0
pipe = StableDiffusion3Pipeline.from_pretrained("stabilityai/stable-diffusion-3.5-large", torch_dtype=torch.bfloat16)
pipe.load_lora_weights("Shakker-Labs/SD3.5-LoRA-Linear-Red-Light", weight_name="SD35-lora-Linear-Red-Light.safetensors")
pipe.fuse_lora(lora_scale=1.0)
pipe.to("cuda")
prompt = "a spider-man, Linear red light"
negative_prompt = "(lowres, low quality, worst quality)"
image = pipe(prompt=prompt,
negative_prompt=negative_prompt
num_inference_steps=24,
guidance_scale=4.0,
width=960, height=1280,
).images[0]
image.save(f"toy_example.jpg")
- Downloads last month
- 19
Model tree for Shakker-Labs/SD3.5-LoRA-Linear-Red-Light
Base model
stabilityai/stable-diffusion-3.5-large