SD can finally place pictures! Controlnet new processor ip-adapter

Source: AI Moment

Recently, after everyone's SD has been updated to version 1.6, your controlnet processor has several more preprocessors. Then I will introduce to you the functions of these preprocessors one by one. What I would like to introduce to you today is ip-adapter. To put it simply, it is a function of padding pictures. We upload a picture to controlnet, and then through this preprocessor, our picture will be generated based on the uploaded picture, which is equivalent to mj. Mat function. So next I will explain this preprocessor to you in detail.

Step 1: Download the preprocessor

  1. Although you have this preprocessor, you still lack this file, so you need to download the preprocessor.

  2. I have uploaded it to Baidu Netdisk here, you can download it by yourself.

Extraction code: aqzk

aqzk

Decompression code: none

  1. After everyone downloads it, put it in H:\SD\sd-webui-aki\sd-webui-aki-v4.2\sd-webui-aki-v4.2\extensions\sd-webui-controlnet\annotator \downloads.

Step 2: How to use

  1. Let’s create a random picture first. For example, I created this picture here.

02. Here we open controlnet and upload this picture.

04. Our preprocessor and model follow me to choose.

There are two types of preprocessors, one supports sd1.5 and the other supports sdxl. Because of my configuration, I will only demonstrate the sd1.5 one. You can study the xl one by yourself.

  1. You can change the control weight according to the effect. Here I choose 0.5, and then we click to preview.

06. Let’s go back to the prompt word part. We enter a boy. For the model, everyone also needs to choose a suitable model. Here I choose a chocolate male model.

07. We click Generate. (Don’t forget to synchronize the size of the image here)

How about it? How does it compare with Mj's pad map? I think it's pretty good. So we might as well raise the weight a little bit. Here I raise it to 0.7 and we click Generate again.

We can see that the style is getting more and more similar to the original picture, but boys' understanding of our prompt words is lower, causing the generated pictures to be more like girls.

  1. So how do you feel about the effect here? I will give you some pictures.

Original picture:

Generate graph:

It can be said that the effect is still good, but there are still many changes in some specific details.

Step 3: Principle Analysis

  1. Principle: prompt word + controlnet picture = generated picture.

  2. Prompt word: A handsome boy.

Original picture:

Generate graph.

Okay, that’s all for today. If you are interested, go and try it!

View Original
This page may contain third-party content, which is provided for information purposes only (not representations/warranties) and should not be considered as an endorsement of its views by Gate, nor as financial or professional advice. See Disclaimer for details.
  • Reward
  • 1
  • Share
Comment
0/400
Mishanya-crvip
· 2023-10-07 07:23
nice
Reply0
Trade Crypto Anywhere Anytime
qrCode
Scan to download Gate app
Community
English
  • 简体中文
  • English
  • Tiếng Việt
  • 繁體中文
  • Español
  • Русский
  • Français (Afrique)
  • Português (Portugal)
  • Bahasa Indonesia
  • 日本語
  • بالعربية
  • Українська
  • Português (Brasil)