Views
No views yet
melaura, girlugly, duplicate, morbid, mutilated, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, bad anatomy, bad proportions, cloned face, disfigured, out of frame, extra limbs, bad anatomy, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, mutated hands, fused fingers, too many fingers, long neck, text, letters, signature, web address, copyright name, username, error, extra digit, fewer digits, loadscreen, grid, stock image, a stock photo, promo poster, fat, text, logo, brand, watermark, water mark, low quality,


pip install -q diffusers transformers omegaconf1from diffusers import StableDiffusionPipeline, EulerAncestralDiscreteScheduler
2import torch
3import os
4
5repo_id = "DamarJati/melaura-v1"
6
7pipe = StableDiffusionPipeline.from_pretrained(
8 repo_id,
9 torch_dtype=torch.float16,
10 use_karras_sigmas=True,
11 algorithm_type="sde-dpmsolver++"
12 )
13pipe.to('cuda')
14
15#Safety Checker
16pipe.safety_checker = None
17pipe.requires_safety_checker = False
18
19#Scheduler
20pipe.scheduler = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config)
21
22
23Prompt = "melaura, girl, hd, pink lips, detailed, age 16, Off-shoulder top, shiny cheeks"
24Negative_prompt = "lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry"
25
26image = pipe(
27 prompt=Prompt,
28 negative_prompt=Negative_prompt,
29 width=512,
30 height=512,
31 guidance_scale=8,
32 num_inference_steps=50
33 ).images[0]
34image.save("melaura.png")
35