Downloads · 30 days
87
0% of all-time downloads
Shakker-Labs/SD3.5-LoRA-Linear-Red-Light
SD3.5-LoRA-Linear-Red-Light is a text-to-image model from Shakker-Labs. Use it when you need an image from a text prompt. It is set up for diffusers. The card lists the license as other.
Downloads · 30 days
87
0% of all-time downloads
All-time downloads
44.3K
Public
Repo size
25.3 MB
Likes
57
Public
Click a slice to open those files.
.safetensors23.7 MB · 94%
From the Hugging Face model README
You should use Linear red light to trigger the image generation.
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")