Views
No views yet
diffusers.1from diffusers import StableDiffusionPipeline
2import torch
3
4pipe = StableDiffusionPipeline.from_pretrained(
5 "Aleksandra11/90style_anime_face_model",
6 torch_dtype=torch.float16,
7 use_safetensors=True # or False if using .bin files
8).to("cuda")
9
10# Generate image
11prompt = "retrovers, beautiful blonde girl with voluminous wavy hair, wearing red roses in her hair, blue eyes, doll-like face, soft lighting, romantic and whimsical aesthetic, high detail, 4k"
12image = pipe(prompt, num_inference_steps=50, guidance_scale=7.5).images[0]
13image.save("output.png")