AI Drawing (11) stable diffusion How to write prompt 4

At the beginning, I wrote three articles about prompts. You can jump to see the details. The links are given below:

AI Drawing (3) How to write good prompts for stable diffusion 1_Makiko Chuan's Blog-CSDN Blog

AI Drawing (4) Stable Diffusion How to Write Prompt 2_Maki Zichuan's Blog-CSDN Blog

AI Drawing (5) Stable Diffusion How to Write Prompt 3_Maki Zichuan's Blog-CSDN Blog

I found that what I wrote at the beginning is not applicable to the people who use it. For those who are just starting to learn, it is still confusing to write, so I have this article to tell you in detail how to write prompts in a structured way.

Use the right model

When using Stable Diffusion, you can imagine yourself as a painter. Before each painting, we must first determine what style of painting we are painting, whether it is two-dimensional animation, three-dimensional realistic photos, animal models, or science fiction models. wait.

Therefore, after we determine our photo style, we have to switch to the large model. Different models represent different photo styles, which is the "Stable Diffusion Model" in the upper left corner of the SD interface. The location in the picture below is to select the large model. s position

Write good keywords

After selecting the large model, you need to consider what should be on the screen and what should not appear . This is to tell Stable Diffusion what kind of picture we want to generate in the end by entering keywords.

(1) Positive keywords

Positive keywords: The content you want to appear in the photo. The more accurate the keywords you enter, the closer the photos will be to the images in your mind.

There are three ways to write, namely words, phrases, and short sentences , but the more common way is to directly enter words one by one. These words are separated by commas in English mode.

Prompt:

1girl,cute, perfect body, standing,street,

It can be seen that the effect is still good. But in reality, we have a lot of prompts to use. If there is no order and we just write whatever comes to mind, the effect of the generated pictures will be very poor. Therefore, we need to write prompts in an orderly and structured manner.

Structured writing prompts

How to write in a structured way, that is, what comes first, what comes next, and what comes last.

1. Write words about photo quality first, so that the photos will be more refined.

For example: the highest quality, ultra-high definition, masterpieces of masters, 8k quality

英文:Highest quality, ultra-high definition,masterpieces,8k quality,

Of course, you can also add other words that express high definition.

2. Write the subject of the picture and a detailed description of the subject

For example, if you want to generate a girl, you need to write out the girl and what the girl looks like.

A girl, exquisite facial features, extremely detailed eyes and mouth, long hair, curly hair, delicate skin, big eyes, upper body photo

英文: 1girl,delicate features, very detailed eyes and mouth, long hair,delicate skin, big eyes, upper body photos,

3 Write down what clothes, pants, hats, etc. the character wears. You can also write down the color of the clothes.

For example: white sweater, jeans

English: White sweater, jeans

4. Write down other influencing factors, such as background, weather, photo pose, etc.

For example: on the street, sunshine

English: (street, Sunshine)

Then we get our final prompt word:

Prompt:

Highest quality, ultra-high definition,masterpieces,8k quality,

1girl,delicate features, very detailed eyes and mouth, long hair,delicate skin, big eyes, upper body photos,

White sweater, jeans,

(street, Sunshine)

It can be seen that the image generated this time is much better than the one generated for the first time.

Image quality + subject + subject details + character clothing + others (background, weather, composition, etc.)

(2) Negative keywords

When you generate photos too many times, you will find that the generated photos do not match the reality. For example, there are a few extra fingers or even an extra hand. In order to avoid this situation, we need to write negative prompt words. We tell Stable Diffusion by entering negative keywords, what content I do not want to appear in the photo.

Here is a more general negative reminder word:

(worst quality:2), (low quality:2), (normal quality:2), lowres,((monochrome)), ((grayscale)), badanatomy,DeepNegative, skin spots, acnes,skin blemishes,(fat:1.2),facing away, looking away,tilted head,lowres,bad anatomy,bad hands,missing fingers,extra digit, fewer digits,bad feet,poorly drawn hands,poorlydrawn face,mutation,deformed,extra fingers,extra limbs,extra arms,extra legs,malformed limbs,fusedfingers,too many fingers,long neck,cross-eyed,mutated hands,polar lowres,bad body,bad proportions,grossproportions,missing arms,missing legs,extra digit, extra arms, extra leg, extra foot,teethcroppe,signature,watermark,username,blurry,cropped,jpeg artifacts,text,error,

Conclusion

So, we will introduce it here today. Interested friends can follow us and we will continue to update this series of tutorials.

If you think it is good and helpful to you, you can follow me and I will release more content in the future. You can also join our planet, follow the official account, reply to "Planet", and get the invitation code to join. If you don’t know what our planet is, you can read this article for a detailed introduction.

Empower AI tools to achieve efficient monetization and get off work early https://blog.csdn.net/qq_48764574/article/details/132250585

 I am discussing interesting topics with my friends at "AI High Efficiency [Work, Study]", would you like to join me?
https://t.zsxq.com/11KVfN0RChttps://t.zsxq.com/11KVfN0RC

The public account @AIZhaiwan2 Player is an obsessed practitioner who relies on AI to assist learning and work. It has more than 20,000 fans on the entire network and continuously updates AI that even novices can play, allowing you to get off work 2 hours early.

What’s on the Planet:
Electronic Competition Column, Deep Learning Column, AI-Assisted Learning Column, AI Tool Monetization Column, etc.

Suitable for:
School students: I hope my experience can help you solve the problems you encounter.
Developers: Share your own experience and broaden your path and learn more.
Hope to make money with side business: We use AI The method of monetization can help you make money with your side business

Rigid standards cannot actually limit our infinite possibilities, so! Come on, young men!

Guess you like

Origin blog.csdn.net/qq_48764574/article/details/132522479