--- license: creativeml-openrail-m tags: - SDXL - stable-diffusion - stable-diffusion-diffusers - text-to-image - diffusers inference: true language: - en ---
https://civitai.com/models/492985/realisticmodelproxlaqheodd
Here's a quick example to get you started with generating images using a pre-trained diffusion model
For more information, please have a look at the Stable Diffusion XL .
from diffusers import StableDiffusionXLPipeline
import torch
model_id = "aiscilabs/RealisticProXL_V0.1.0_alpha"
pipe = StableDiffusionXLPipeline.from_pretrained(model_id)
pipe = pipe.to("cuda")
triggers = "hyper realistic,aqheodd, realistic style"
prompt = "a woman with long blonde hair and a black shirt, 1girl, solo, long hair, looking at viewer, smile, blue eyes,\
blonde hair, shirt, closed mouth, upper body, lips, black shirt, piercing, ear piercing, realistic, nose, detailed, warm colors,\
beautiful, elegant, mystical, highly"
negative = "unrealistic, saturated, high contrast, big nose, painting, drawing, sketch, cartoon,\
anime, manga, render CG, 3d, watermark, signature, label,normal quality,bad eyes,unrealistic eyes"
prompt = ",".join([triggers,prompt])
image = pipe(prompt,negative_prompt=negative).images[0]
image.save("image.png")