如何在稳定扩散中生成逼真的人物

One of the most popular uses of Stable Diffusion is to generate realistic people. They can look as real as taken from a camera. In this post, you will learn the mechanics of generating photo-style portrait images. You will learn about prompts, models, and upscalers for generating realistic people.

稳定扩散的最受欢迎的用途之一是生成逼真的人物。他们看起来就像从相机中拍摄的一样真实。在本文中,您将了解生成照片风格肖像图像的机制。您将了解有关生成逼真人物的提示、模型和升频器的机制。

Become a Stable Diffusion Pro step-by-step.

逐步成为稳定扩散专业人士。

We will use AUTOMATIC1111 Stable Diffusion GUI to generate realistic people. You can use this GUI on WindowsMac, or Google Colab.

我们将使用AUTOMATIC1111 Stable Diffusion GUI生成逼真的人物。你可以在WindowsMacGoogle Colab上使用这个GUI。

In this section, you will learn how to build a high-quality prompt for realistic photo styles step-by-step.

在本节中,您将逐步学习如何构建逼真照片风格的高质量提示。

Let’s start with a simple prompt of a woman sitting outside of a restaurant. Let’s use the v1.5 base model.

让我们从一个简单的提示开始,一个女人坐在餐厅外面。让我们使用v1.5基础模型

Prompt:

提示:

Model: Stable Diffusion v1.5

模型:Stable Diffusion v1.5

Sampling method: DPM++ 2M Karras

采样方法:DPM++ 2M Karras

Sampling steps: 20

采样步骤:20

CFG Scale: 7

CFG比例:7

Size: 512×768

尺寸:512×768

Well, that didn’t go so well…

嗯,这不太顺利...

Let’s add a negative prompt. This negative prompt is quite minimalistic. It is intended to generate better anatomy and steer away from non-realistic styles.

让我们添加一个负面提示。这个负面提示非常简约。它旨在生成更好的解剖结构,并远离非现实的风格。

Negative Prompt:

负面提示:

It’s doing something: The women look better. The Upper bodies look pretty good.

它正在做一些事情:女性看起来更好。上半身看起来相当不错。

But the anatomy of the lower bodies is still problematic. There’s still a lot of room for improvement.

但是下半身的解剖学仍然有问题。还有很大的改进空间。

A large part of a photographer’s job is to set up good lighting. A good photo has interesting lights. The same applies to Stable Diffusion. Let’s add some lighting keywords and a keyword that controls the viewing angle.

摄影师的工作很大一部分是搭建良好的照明。一张好照片有趣的光线。稳定扩散也是如此。让我们添加一些照明关键词和控制视角的关键词。

  • rim lighting
  • 边缘照明
  • studio lighting
  • 工作室照明
  • looking at the camera
  • 看着相机

Prompt:

提示:

Negative prompt:

负面提示:

The photos instantly ...

开通本站会员,查看完整译文。

Home - Wiki
Copyright © 2011-2024 iteam. Current version is 2.139.0. UTC+08:00, 2024-12-23 10:06
浙ICP备14020137号-1 $Map of visitor$