Views
No views yet
vangoh_style0.5 - 0.7. If the strength is too high, the facial features might distort; if too low, the brushstrokes won't appear.1from diffusers import AutoPipelineForImage2Image
2import torch
3
4# Load Pipeline
5pipe = AutoPipelineForImage2Image.from_pretrained(
6 "stabilityai/stable-diffusion-xl-base-1.0",
7 torch_dtype=torch.float16
8).to("cuda")
9
10# Load your LoRA
11pipe.load_lora_weights("jeromeshaiju/VANGOH-LORA", weight_name="vangoh-10.safetensors")
12
13# Run Inference
14prompt = "a professional portrait in vangoh_style, cinematic, high detail, masterpiece"
15image = pipe(prompt=prompt, image=input_image, strength=0.6).images[0]
16image.save("result.png")