
1.2 Midjourney绘图步骤详解
本节将介绍3种简单的Midjourney绘图方式,分别为文生图(关键词描述生成图像)、图生图(参考垫图结合关键词描述生成图像)和图生文(系统解析提取图像关键词后生成新图像)。
1 文生图
在输入框中,用英文输入法输入“/”,然后选择“/imagine prompt”指令,如图1-35所示。接着输入想要绘制图像的英文单词,即关键词,如“tiger”(老虎),按Enter键发送消息,如图1-36所示。此时,系统提示“Waiting to start”(等待开始),则指令发送成功,如图1-37所示。

图1-35

图1-36

图1-37
当作业开始运行时,我们可以看到图像的生成进度和模式,如图1-38所示。一共有3种模式,Turbo mode(涡轮模式)和Fast mode(快速模式)均为快速出图模式,Relax mode为放松模式,放松模式下的出图速度根据服务器情况而定,一般出图较慢。

图1-38
通过“/settings”指令可以设置出图模式,步骤如下。
步骤1 在输入框中,用英文输入法输入“/”,然后选择“/settings”指令,如图1-39所示,按Enter键即可打开设置界面。

图1-39
步骤2 单击Fast mode(快速模式)按钮,使其高亮显示,即完成快速出图模式的设置,如图1-40所示。

图1-40
稍等片刻后,Midjourney生成的老虎图像如图1-41所示。若出现如图1-42所示的提示,说明此刻服务器繁忙,需要等待服务器响应后才能继续作业。

图1-41

图1-42
用户也经常会收到如图1-43所示的提示,表示作业正在队列中,需要等待上一个作业完成才能继续。

图1-43
若不再需要某张图像,可以单击对应图像右上角的“...”(更多)按钮,执行“删除信息”命令,确认删除即可,如图1-44所示。

图1-44
同样,在图像右上角的“...”(更多)菜单中,可以选择对此图像进行标注,执行“标注信息”命令后,在弹出的界面中确认标注即可,如图1-45所示。当需要某张图像的时候,可以单击界面上部的“已标注信息”图标,在弹出的列表中,找到对应的图像消息,然后单击消息右上角的“跳到”按钮,实现快速定位。若单击“×”(删除)按钮,则移除此消息标注,如图1-46所示。

图1-45

图1-45(续)

图1-46
现在,我们可以发挥想象力,输入更多的英文关键词来测试Midjourney的绘图能力,如输入“tiger, sunglasses”(老虎,墨镜),如图1-47所示。注意,在一条指令下输入多个关键词时,需要用英文输入法的“,”对各个关键词进行分隔。Midjourney按照正常思维逻辑结合老虎和墨镜这两个关键词绘制的图像如图1-48所示。
在描述非常精简的情况下,提供两个关键词(tiger和sunglasses)与提供一个完整句式(A tiger wearing sunglasses,一只戴着墨镜的老虎)相比,Midjourney出图的效果是非常相近的,如图1-49所示。

图1-47

图1-48

图1-49
2 图生图
图生图是指通过上传参考垫图让Midjourney生成相似风格的图像,具体操作步骤如下。
步骤1 单击输入框前面的“+”号,选择“上传文件”选项,如图1-50所示。

图1-50
步骤2 选择预先准备的本地图像,单击“打开”按钮,如图1-51所示。

图1-51
步骤3 为图像命名后按Enter键发送消息,也可以不输入内容,直接按Enter键发送消息,如图1-52所示。

图1-52
本地图像成功上传到服务器的界面显示如图1-53所示。

图1-53
步骤4 在输入框中,用英文输入法输入“/”,选择“/imagine prompt”指令,然后单击并拖动已上传的图像至输入框中,图像自动转为链接,如图1-54所示。

图1-54
步骤5 在输入框中的图像链接后面,使用英文输入法输入一个空格,接着输入关键词“tiger, sunglasses”(老虎,墨镜),如图1-55所示。

图1-55
步骤6 输入完成后,按Enter键发送消息,Midjourney参考垫图的绘制风格、色彩搭配等生成的酷炫风格老虎图像如图1-56所示。

图1-56
步骤7 更换图像,使用图1-57作为垫图参考,Midjourney输出的图像效果如图1-58所示。在这组图像中,Midjourney参考了垫图的坐姿形态,描绘出了老虎的身体和四肢。

图1-57

图1-58
步骤8 再次更换图像,使用图1-59作为垫图参考,Midjourney输出的偏可爱风格的老虎图像如图1-60所示。

图1-59

图1-60
3 图生文
在输入框中,用英文输入法输入“/”,选择“/describe”指令,如图1-61所示。将预先准备的图像上传到image图像框内,如图1-62所示,按Enter键发送消息。Midjourney会自动解析上传的图像风格并生成4条描述语,如图1-63所示。

图1-61

图1-62

图1-63
单击图像下面的“1”“2”“3”“4”按钮,Midjourney会自动提取对应数字序号的描述语,逐条生成新的图像。若还有剩余的快速时长,选择Fast mode(快速模式)出图后,单击Imagine all按钮,Midjourney会将4条描述语批量输出,如图1-64所示。

图1-64
若启用的是Relax mode(放松模式)出图,单击Imagine all按钮后,系统会返回报错提示,无法在放松模式下提交批处理作业,如图1-65所示。

图1-65
以下是Midjourney分别提取4条描述语生成的4份作业结果,如图1-66所示。

图1-66

图1-66(续)
对比以上作业结果,我们认为使用2号描述语生成的图像风格与原图相似度较高,可以使用2号描述语做关键词的修改或描述内容的扩展。使用翻译器将2号描述语翻译成中文(见图1-67)后,修改其关键词,把“cactus”(仙人掌)改为“owl”(猫头鹰),然后复制这段修改后的描述语“an owl wearing a cowboy hat in the streets, in the style of vray, charming illustrations, film/video, figura serpentinata, interactive, booru,cute and dreamy --ar 85:128”,单击图1-63下面的2号按钮,在弹出的描述框中,把这段描述语粘贴进去,单击“提交”按钮,如图1-68所示。Midjourney生成的猫头鹰图像如图1-69所示。

图1-67

图1-68

图1-69
继续替换关键词为“banana”(香蕉)和“caterpillar”(毛毛虫),Midjourney输出的图像如图1-70所示。

图1-70

图1-70(续)