Prompt tips for generating realistic human images with StableDiffusion

MLBoy
3 min readMar 21, 2023

--

Tips for creating good looking images

The image generation AI StableDiffusion is a hot topic, but there are some tricks to generating high-quality, high-quality realistic human images that you often see on SNS.
In this article, I’ll show you some examples of what words can be used to produce high-quality images.

WebUI is convenient for trying out StableDiffusion. You can find out how to use it from the link below.

Don’t just put the text of the image you want

For example, say you want an image of a girl.
Just type “girl” and the following image will appear.
It’s not bad, but it’s a little CG-ish.

girl

Include words associated with high image quality

By the way, here I put words like “best quality” and “high resolution” that are associated with high image quality.
This may come as a surprise, but
one trick to start with is to put a lot of words like this, separated by commas.

girl,RAW photo, best quality,realistic, photo-realistic, best quality ,masterpiece,an extremely delicate and beautiful, extremely detailed,2k wallpaper, Amazing, finely detail, 8k wallpaper,huge filesize , ultra-detailed, highres, extremely detailed,realistic, 8K, Ultra-High Definition, highest quality, ultra high resolution, (realistic:1.4), High quality texture,

This produces a crisp, realistic image as shown above.
But it still looks a bit like a painting.

insert negative words

Enter words you don’t want in the image.
This time, I want to remove the feeling of painting and make it more like a photograph, so I put words associated with the painting in the negative prompt.

negative

EasyNegative, paintings, sketches, (worst quality:2), (low quality:2), (normal quality:2), lowres, normal quality, ((monochrome)),

It’s pretty close to the picture. This negative prompt is pretty important.

Include words with attention to detail

(extremely detailed eyes and face)

Put low quality in negative words.

Put a word in the negative that represents the opposite meaning of high quality and give it a damn.

negative

worst quality, low quality, normal quality, jpegartifacts, signature, watermark, blurry, cropped, poorly draw, poorly draw, worst quality, low quality, lowres,

weight the words

You can add weight to the words you want to emphasize by using the following form.

(detailed clothes:1.2)

🐣

I am a freelance engineer.
If you have any of the following requests, please feel free to contact us.
I want to develop an AI service, I want to incorporate AI into my business to make it more efficient, I want to develop a smartphone app that uses AI, I want to create an
application that uses AR, I want to create a smartphone app, but I don’t know who to consult…

All of them can be ordered at a reasonable price without intermediate costs.

For work inquiries, please contact
rockyshikoku@gmail.com

We are creating applications using machine learning and AR technology.
We are disseminating information related to machine learning/AR.

--

--