Practical operation of stable diffusion-random seed seed

Series Article Directory

stable diffusion practical operation



foreword

When using the same large model, keywords, Lora model and other parameters, the generated image may be different from others, and one of the influencing factors is the random number seed (Seed).
The random number seed controls the underlying shape of the image generation, similar to the initial line draft when drawing. It determines the basic outline of the image, including the figure's outline, posture, and standing position.
When the random number is "-1", SD will randomly generate a seed for your photo. This seed can be understood as a different line draft. You can check the seed in the English string under the generated image value to know the current random number seed used to generate the image.

Some image features can be fixed using random seeds. For example, only the background is modified and the task image is not changed. Then change the prompt word at this time, and the random seed is the same as you like.


提示:以下是本篇文章正文内容,下面案例可供参考

1. What is a seed?

webUI location

What is the random seed?

Generally, there are two numbers, one is -1, and the other is a large random value

2. Use steps

1. Randomly generate multiple pictures in multiple batches

In this way, many pictures with different seeds will appear.
Link entry: Batch output

2. Extract image seed

Choose a seed you like according to the generated picture, and then cultivate it to generate a similar picture.

3. Cultivate again according to the seed

This discovery was almost identical to the previous one.

4 seeds used

4.1 Restoring other people's pictures

4.1 Minor modifications

In the case of the same random seed, modify the existing prompt words, pay attention to modifying, not adding, so that similar pictures can be generated. The
following pictures are the prompts that we modified boy and girl while keeping everything the same Words, their general style is the same.

1boy/1girl,
\(genshin impact\),fantasy,landscape,best quality,highly detailed,<lora:baihuaniang_1.0:1>,baihuaniang,flower,

4.2 Fix a character - modify the background

3. Difference random seed

1. webUI position

2. What is a Differential Random Seed

Because of ControlNet, most people rarely use it. Its function is very similar to Midjourney's Blend, which is to mix two pictures.

3. Use a Differential Random Seed

There are three parameters: random seed, difference random seed, and difference strength. The
difference strength is the strength of the fusion of two images.

4. Typical usage of differential random seeds

If you like two pictures in a batch of pictures and need to combine them, then use this method, remember, the same batch of pictures.


Summarize

If you want to copy someone else's picture, the random seed must be the same.

For example: The above is what I will talk about today.

Guess you like

Origin blog.csdn.net/weixin_43360707/article/details/132640397