Views
No views yet
1from diffusers import StableDiffusion3Pipeline
2import torch
3
4pipe = StableDiffusion3Pipeline.from_pretrained("stabilityai/stable-diffusion-3.5-large", torch_dtype=torch.bfloat16)
5
6pipe.to("cuda")
7pipe.load_lycoris_weights("CarlosRiverMe/SimpleTuner-stable-diffusion-3.5-large-ZukyTheDog", weight_name="pytorch_lora_weights_final.safetensors")
8
9prompt = "A photo of ZukyTheDog sitting in a garden"
10image = pipe(prompt).images[0]
11image.save("generated_image.png")