如何一步一步的优化AI绘图效果?

一、前期准备

1.1 AI 绘图软件准备

首先,需要下载一个使用起来比较方便的 AI 绘图软件方便我们进行图片生成 。这里给大家推荐两款适合我们学习使用的免费插件:

1.2 提示词 - 基础知识

这里建议刚刚接触 AI 绘图的同学们可以学习一下 AI 提示词相关的知识。因为我们如果第一次接触提示词这个领域,其实就像学习写作文。如果能够掌握一套写作技巧对于后续各种类型的文章的创作都会很有帮助。这种模板或者说套路不能给我们很高的上限,但是能够提升我们初学者的下限。

这里给大家推荐一篇提示词模板的快速入门文章:JourneyDraw 新手使用教程

二、AI 绘图的优化流程

2.1 生成一张基础图像

首先,这张基础的图片我想象的场景是:一位女士

a woman

我们可以看到,由于我们的提示语非常宽泛,所以 AI 生成的人物图像其实是很随意的,没有任何规律可言,因此我们首先要做的是优化 a women 这个词的主体

2.2 优化主体

在生成画面时,准确描述主体是必要的,以确保模型能理解我们的需求。比如,要生成一个女人,简单写"a women"是不够的。我们需要提供外貌、服装、动作等详细细节,如头发长短、着装风格、动作姿态等。只有这样,模型才能准确理解我们的要求,并生成出符合期望的画面。

那么我们就来对直接的提示语进行优化,我们改成这样的一个场景:

中文提示语:一个可爱的女人,短发, 短马尾,彩色澄澈的眼眸,顺滑的头发,精致完美的五官,最美的大眼睛,长长的睫毛,眼睛甜美有卧蚕,皮肤白皙,微笑

转换成英文:
A lovely woman, short ponytail, colorful and clear eyes, smooth hair, exquisite and perfect facial features, the most beautiful big eyes, long eyelashes, sweet and silky eyes, fair skin, and a smile

现在我们可以发现,AI 生成的图像的内容已经被我的描述限定了生成范围,所以关于这个女性图像的生成开始变得有规律了。可是我们还是可以发现 AI 生成的图像还是有些 AI 痕迹很明显的情况需要我们继续调整。

那么如何让 AI 痕迹不那么明显呢?

这里建议尝试一些和真实精确有关的词语,比如:现实、精确等等。

下面我在描述词中补充几个类似的词:精确完美的人体结构、现实、最高精度

中文提示语:一个可爱的女人,短发, 短马尾,彩色澄澈的眼眸,顺滑的头发,精致完美的五官,最美的大眼睛,长长的睫毛,眼睛甜美有卧蚕,皮肤白皙,微笑,精确完美的人体结构,现实,最高精度

转换成英文:
A lovely woman, short ponytail, colorful and clear eyes, smooth hair, exquisite and perfect facial features, the most beautiful big eyes, long eyelashes, sweet and silky eyes, fair skin, smile, precise and perfect human body structure, reality, and the highest precision

新的图片中的 AI 痕迹降低了不少,但是出现了新的问题,我写的短马尾呢?这就需要用到下面的技巧了

2.2 关键词权重设置

我们可以看到当我们的关键词变多之后有些关键词可能就被 AI 引擎忽略了,这个时候我们就需要对关键词的权重进行调整,以实现我们预期的效果。

语法很简单,就是 (关键词:权重)。其中权重默认为 1。

中文提示语:一个可爱的女人,短发, (短马尾:1.1),彩色澄澈的眼眸,顺滑的头发,精致完美的五官,最美的大眼睛,长长的睫毛,眼睛甜美有卧蚕,皮肤白皙,微笑,精确完美的人体结构,现实,最高精度

转换成英文:
A lovely woman, (short ponytail:1.1), colorful and clear eyes, smooth hair, exquisite and perfect facial features, the most beautiful big eyes, long eyelashes, sweet and silky eyes, fair skin, smile, precise and perfect human body structure, reality, and the highest precision

2.3 其他优化

之后我们还有一些可以优化的小的细节,这里逐步说一下:

2.3.1 画质优化

优化画质可以考虑添加一些与画质相关的描述词
(高细节:1.6),(8K分辨率:1.1),超高分辨率,(站立着:1.1),极致画质

添加描述:
(High Detail: 1.6), (8K Resolution: 1.1), Ultra High Resolution, (Standing: 1.1), Ultimate Image Quality
全部描述:
A lovely woman, (short ponytail:1.2), colorful and clear eyes, smooth hair, exquisite and perfect facial features, the most beautiful big eyes, long eyelashes, sweet and silky eyes, fair skin, smile, precise and perfect human body structure, reality, and the highest precisionA lovely woman, (short ponytail:1.2), colorful and clear eyes, smooth hair, exquisite and perfect facial features, the most beautiful big eyes, long eyelashes, sweet and silky eyes, fair skin, smile,(High Detail: 1.6), (8K Resolution: 1.1), Ultra High Resolution, (Standing: 1.1), Ultimate Image Quality,reality, and the highest precisio

2.3.2 人物姿态调整

比如说:我的图片想要动态角度看到人物的全身

添加描述:
dynamic angle, can see the whole body

全部描述:
A lovely woman, (short ponytail:1.2), colorful and clear eyes, smooth hair, exquisite and perfect facial features, the most beautiful big eyes, long eyelashes, sweet and silky eyes, fair skin, smile, precise and perfect human body structure, reality, and the highest precisionA lovely woman, (short ponytail:1.2), colorful and clear eyes, smooth hair, exquisite and perfect facial features, the most beautiful big eyes, long eyelashes, sweet and silky eyes, fair skin, smile,(High Detail: 1.6), (8K Resolution: 1.1), Ultra High Resolution, (Standing: 1.1), Ultimate Image Quality,reality, and the highest precision, (dynamic angle: 1.2),(can see the whole body:1.6)

更多高质量干货文章,请关注我的微信公众号:AI爱煤客