AI绘图实战(七):室内设计线稿渲染、景观设计手绘稿改动、建筑照片转线稿|Stable Diffusion成为设计师生产力工具

news/2024/10/17 5:42:06/

S:AI能取代设计师么?
I :至少在设计行业,目前AI扮演的主要角色还是超级工具,要顶替?除非甲方对设计效果无所畏惧~~


预先学习

  • 安装及其问题解决参考:《Windows安装Stable Diffusion WebUI及问题解决记录》;
  • 运行使用时问题《Windows使用Stable Diffusion时遇到的各种问题整理》;
  • 模型运用及参数《Stable Diffusion 个人推荐的各种模型及设置参数、扩展应用等合集》;
  • 提示词生图咒语《AI绘图提示词/咒语/词缀/关键词使用指南(Stable Diffusion Prompt 设计师操作手册)》;
  • 不同类的模型Models说明《解析不同种类的StableDiffusion模型Models》;
  • 绘制人物动作及手脚细节《Stable Diffusion 准确绘制人物动作及手脚细节(需ControlNet扩展)》;
  • 各种风格对比及实际运用《AI绘图风格对照表/画风样稿详细研究记录及经验总结》;

stable diffusion就只能小姐姐么?不,今天我们用stable diffusion对三种建筑方面的图片进行修改。

一、渲染室内设计线稿图

成图目标

网上弄来一张线稿,要求贴色贴材质,尽量追求与线稿中物体接近。

在这里插入图片描述
物品一目了然,就不多说了。

线稿导入controlnet

边缘检测权重1
在这里插入图片描述
线条检测权重0.9
在这里插入图片描述
深度检测权重0.8,可以不用
在这里插入图片描述
这张图里如果没有边缘检测,左下角的电视机柜往往出现一堆书

提示词及渲染出图

  • 尽量将每个位置的内容都提到,这样才可能尽可能相似;
  • 注意提示词相关性设置得可以高一点,比如这里是22
((photorealistic)), 8k, clean room, sunlight, white ceiling, blue curtains, red sofa, yellow cabinet, wooden bed, Persian carpet under bed, bed end bench, wooden floor,
lower left corner is low cabinet, upper left corner is wall, upper right corner is windows and tatami, the wall above the head of the bed is made of wood, desk lamp on the nightstand to the right of the bed
Negative prompt: low res,text,error,cropped,worst quality,low quality,normal quality,jpeg artifacts,signature,watermark,username,blurry,text font ui,futa,yaoi,
Steps: 20, Sampler: Euler a, CFG scale: 22,

在这里插入图片描述

出图基本符合设计稿结构,小修改用图生图里的局部重绘,这里不再赘述,可参考下面景观调整操作。

二、调整景观设计手绘稿部分元素

成图目标

根据要求修改效果图中部分元素,加入人物和水中活物

在这里插入图片描述

修改元素

用局部重绘方式增加成年人元素,注意:

  • 水彩风格前先使用物体边缘线条,否则可能与原图不符
  • 同时重绘区域选择仅蒙版,这样可以让人物不会画坏了
 ((object edge line)),((watercolor painting)),1male walking on flagstone path, green grass, blue pond, full body,Negative prompt: ((nsfw)),((ugly))),(((duplicate))),((morbid)),((mutilated)),(((tranny))),(((trans))),((trannsexual))),(((mutation))),(((deformed)))(((long neck))),((bad anatomy))(((bad proportions))),(((extra arms))),(((extra legs))), (((disfigured))),((more than 2 nipples))),malformed,mutated,(hermaphrodite),((extra limbs)).((missing arms)).((missing legs)).((poorly drawn hands))((poorty drawn face)),(mutation,poorly drawn :1.2),(long body :1.3).multiple breasts,cloned face,gross proportions, mutated hands,bad hands,bad feet,long neck,missing limb,(malformed limbs),malformed hands,(fused fingers).(too many fingers),extra fingers,missing fingers,extra digit,fewer digits,(mutated hands and fingers :1.5),low

在这里插入图片描述

其它提示词不变,修改为小孩,注意这个蒙版不能太小,否则小孩动作施展不开容易缺胳膊少腿。

 ((object edge line)),((watercolor painting)),1child walking on flagstone path, green grass, blue pond, full body,

在这里插入图片描述

增加鱼

((object edge line)),((watercolor painting)),kois in blue pond,

在这里插入图片描述

出图修补

在这里插入图片描述

基本算定型了,小修改和上面操作一样,不赘述。
大家有没有发现,类似这种风格的稿子,如果是在绘图软件里做的,其实让原作者直接修改来得更快更准确。

三、改建筑照片为线稿

这是用PS修改的线稿图,可以参考一下:《用PS将一张照片调成简笔画风格》

选择照片

把线条风格先提示了。

((a line drawing, line art, line work)), simple line, black AND white, buildings, street, trees, cars, street light
negative prompt: colorful

在这里插入图片描述

图生图

先将一张空白图片放入图生图

在这里插入图片描述
将照片放入controlnet中,使用相关模式生成线条,注意优先选择controlnet is more important测试。

在这里插入图片描述

模型可用lineartcannymlsddepth等,但具体用哪个需要自己试验,不同的图片最终效果不同,比如此图用lineart_realistic找建筑线条就比用canny描绘更准确和精炼,canny描绘出细节太多,按照线稿要求看就太杂了。

线稿对比

在这里插入图片描述

对比一下不同重绘幅度的区别,这种模式下,0.82~0.90最合适。

在这里插入图片描述

下面各张对比图的重绘幅度、种子、模型、提示词等都有略微调整,画面按照由浓到淡排列。

a line drawing, line art, line work, black and white, buildings, street, trees, cars, street light
Negative prompt: colorful
Steps: 20, Sampler: Euler a, CFG scale: 7, Seed: 199447306, Size: 1024x512, Model hash: a60cfaa90d, Model: dreamshaper_5BakedVae, Denoising strength: 0.9, Clip skip: 2, ENSD: 31337, ControlNet-0 Enabled: True, ControlNet-0 Module: canny, ControlNet-0 Model: control_v11p_sd15_canny [d14c016b], ControlNet-0 Weight: 1, ControlNet-0 Guidance Start: 0, ControlNet-0 Guidance End: 1

在这里插入代码片

a line drawing, line art, line work, black line, white background, high contrast, buildings, street, trees, cars, street light
Negative prompt: colorful, gray
Steps: 64, Sampler: Euler a, CFG scale: 7, Seed: 847333786, Size: 1024x512, Model hash: a60cfaa90d, Model: dreamshaper_5BakedVae, Denoising strength: 0.9, Clip skip: 2, ENSD: 31337, ControlNet-0 Enabled: True, ControlNet-0 Module: lineart_realistic, ControlNet-0 Model: control_v11p_sd15_lineart [43d4be0d], ControlNet-0 Weight: 1, ControlNet-0 Guidance Start: 0, ControlNet-0 Guidance End: 1

在这里插入图片描述

a line drawing, line art, line work, black and white, buildings, street, trees, cars, street light
Negative prompt: colorful
Steps: 64, Sampler: Euler a, CFG scale: 7, Seed: 1879644544, Size: 1024x512, Model hash: a60cfaa90d, Model: dreamshaper_5BakedVae, Denoising strength: 0.85, Clip skip: 2, ENSD: 31337, ControlNet-0 Enabled: True, ControlNet-0 Module: lineart_realistic, ControlNet-0 Model: control_v11p_sd15_lineart [43d4be0d], ControlNet-0 Weight: 1, ControlNet-0 Guidance Start: 0, ControlNet-0 Guidance End: 1

在这里插入图片描述

a line drawing, line art, line work, black line, sketch, white background, high contrast, buildings, street, trees, cars, street light
Negative prompt: color
Steps: 64, Sampler: Euler a, CFG scale: 7, Seed: 1607122200, Size: 1024x512, Model hash: a60cfaa90d, Model: dreamshaper_5BakedVae, Denoising strength: 0.84, Clip skip: 2, ENSD: 31337, ControlNet-0 Enabled: True, ControlNet-0 Module: lineart_realistic, ControlNet-0 Model: control_v11p_sd15_lineart [43d4be0d], ControlNet-0 Weight: 1, ControlNet-0 Guidance Start: 0, ControlNet-0 Guidance End: 1

在这里插入图片描述

a line drawing, line art, line work, black line, white background, high contrast, buildings, street, trees, cars, street light
Negative prompt: colorful, gray
Steps: 64, Sampler: Euler a, CFG scale: 7, Seed: 2330278839, Size: 1024x512, Model hash: a60cfaa90d, Model: dreamshaper_5BakedVae, Denoising strength: 0.84, Clip skip: 2, ENSD: 31337, ControlNet-0 Enabled: True, ControlNet-0 Module: lineart_realistic, ControlNet-0 Model: control_v11p_sd15_lineart [43d4be0d], ControlNet-0 Weight: 1, ControlNet-0 Guidance Start: 0, ControlNet-0 Guidance End: 1

在这里插入图片描述

a line drawing, line art, line work, black line, white background, high contrast, buildings, street, trees, cars, (white ground),
Negative prompt: colorful, gray,
Steps: 64, Sampler: Euler a, CFG scale: 7, Seed: 3402894627, Size: 1024x512, Model hash: a60cfaa90d, Model: dreamshaper_5BakedVae, Denoising strength: 0.84, Clip skip: 2, ENSD: 31337, ControlNet-0 Enabled: True, ControlNet-0 Module: lineart_realistic, ControlNet-0 Model: control_v11p_sd15_lineart [43d4be0d], ControlNet-0 Weight: 1, ControlNet-0 Guidance Start: 0, ControlNet-0 Guidance End: 1

在这里插入图片描述

a line drawing, line art, line work, black line, white background, high contrast, buildings, street, trees, cars, street light
Negative prompt: colorful, gray
Steps: 64, Sampler: Euler a, CFG scale: 7, Seed: 167399156, Size: 1024x512, Model hash: a60cfaa90d, Model: dreamshaper_5BakedVae, Denoising strength: 0.84, Clip skip: 2, ENSD: 31337, ControlNet-0 Enabled: True, ControlNet-0 Module: lineart_realistic, ControlNet-0 Model: control_v11p_sd15_lineart [43d4be0d], ControlNet-0 Weight: 1, ControlNet-0 Guidance Start: 0, ControlNet-0 Guidance End: 1

在这里插入图片描述

a line drawing, line art, line work, black and white, buildings, street, trees, cars, street light
Steps: 64, Sampler: Euler a, CFG scale: 22, Seed: 1994739401, Size: 1024x512, Model hash: a60cfaa90d, Model: dreamshaper_5BakedVae, Denoising strength: 0.8, Clip skip: 2, ENSD: 31337, ControlNet-0 Enabled: True, ControlNet-0 Module: lineart_realistic, ControlNet-0 Model: control_v11p_sd15_lineart [43d4be0d], ControlNet-0 Weight: 1, ControlNet-0 Guidance Start: 0, ControlNet-0 Guidance End: 1

在这里插入图片描述

a line drawing, line art, line work, black and white, buildings, street, trees, cars, street light
Negative prompt: colorful, gray
Steps: 64, Sampler: Euler a, CFG scale: 7, Seed: 4145571130, Size: 1024x512, Model hash: a60cfaa90d, Model: dreamshaper_5BakedVae, Denoising strength: 0.85, Clip skip: 2, ENSD: 31337, ControlNet-0 Enabled: True, ControlNet-0 Module: mlsd, ControlNet-0 Model: control_v11p_sd15_mlsd [aca30ff0], ControlNet-0 Weight: 1, ControlNet-0 Guidance Start: 0, ControlNet-0 Guidance End: 1

在这里插入图片描述

a line drawing, line art, line work, black and white, buildings, street, trees, cars, street light
Negative prompt: colorful, gray
Steps: 64, Sampler: Euler a, CFG scale: 7, Seed: 3008838972, Size: 1024x512, Model hash: a60cfaa90d, Model: dreamshaper_5BakedVae, Denoising strength: 0.85, Clip skip: 2, ENSD: 31337, ControlNet-0 Enabled: True, ControlNet-0 Module: depth_zoe, ControlNet-0 Model: control_v11f1p_sd15_depth [cfd03158], ControlNet-0 Weight: 1, ControlNet-0 Guidance Start: 0, ControlNet-0 Guidance End: 1

在这里插入图片描述
下面两张由ai自己发挥,仅提示词配了线条画词缀,出图相比用了controlnet要更线稿。

a line drawing, line art, line work, black and white, buildings, street, trees, cars, street light
Negative prompt: colorful
Steps: 64, Sampler: Euler a, CFG scale: 7, Seed: 178003217, Size: 1024x512, Model hash: a60cfaa90d, Model: dreamshaper_5BakedVae, Denoising strength: 0.85, Clip skip: 2, ENSD: 31337, ControlNet-0 Enabled: True, ControlNet-0 Module: depth_zoe, ControlNet-0 Model: coadapter-depth-sd15v1 [93aff3ab], ControlNet-0 Weight: 1, ControlNet-0 Guidance Start: 0, ControlNet-0 Guidance End: 1

在这里插入图片描述

a line drawing, line art, line work, black and white, buildings, street, trees, cars, street light
Negative prompt: colorful
Steps: 64, Sampler: Euler a, CFG scale: 7, Seed: 3853790227, Size: 1024x512, Model hash: a60cfaa90d, Model: dreamshaper_5BakedVae, Denoising strength: 0.9, Clip skip: 2, ENSD: 31337, ControlNet-0 Enabled: True, ControlNet-0 Module: lineart_realistic, ControlNet-0 Model: control_v11p_sd15_canny [d14c016b], ControlNet-0 Weight: 1, ControlNet-0 Guidance Start: 0, ControlNet-0 Guidance End: 1

在这里插入图片描述
最后,大家学习过这篇内容了么?AI绘图实战(六):制作一张庆祝五一劳动节的海报 | Stable Diffusion成为设计师生产力工具


http://www.ppmy.cn/news/287038.html

相关文章

sketchup 图片转模型_图片转换su模型的速成方法-建筑软件-筑龙建筑设计论坛

刚刚做中式模型,感觉描图拉伸模型太费劲,想了个办法用软件转换,虽然步骤多了些,但感觉效果还是不错的,下面粗略的讲讲。抛砖引玉哈,大家多提意见。 首先上图,说明一下大概的流程: 1.…

遥感技术手段提取城乡建筑用地

数据源介绍 使用的数据是GF1: 高分一号卫星(GF-1)是国家高分辨率对地观测系统重大专项天基系统中的首发星,“高分专项”于2010年5月全面启动,计划到2020年建成我国自主的陆地、大气和海洋观测系统。该星于2013年4月2…

数字建筑总体架构

导读: 数字藏品,是指使用区块链技术,对应特定的作品、艺术品生成的唯一数字凭证,在保护其数字版权的基础上,实现真实可信的数字化发行、购买、收藏和使用。 数字建筑的本质是通过融合新一代信息技术和先进制造理念&…

python建筑设计运用_很好用的几个建筑设计软件,裂墙推荐

建筑设计是建筑的基本 好的软件能有事半功倍的效果 但是设计软件多的眼花缭乱 如果遇“软”不淑 那是一个无比抓狂的过 我问了100个建筑设计人! 花了一整天的时间!!! 总结出了几个好用的建筑设计软件 SketchUp SU又叫草图大师,目前国内用的最多的建模软件,和CAD、…

python画建筑分析图_| 建筑智囊团 | 流线分析图怎么画?

流线分析是项目前期分析中一个重要的组成部分,观者可以通过流线分析图直观且清晰地了解到项目场地的地理位置、交通变化、人口流动情况等信息,对观者了解方案创作理念及过程有很大的帮助作用。因此,了解流线分析图的意义、学会如何运用不同软…

rust最美建筑_历届普利兹克奖大师作品回顾——建筑界的诺贝尔奖

2016年1月13日晚23点,普利兹克建筑奖官方网站发布消息称,智利建筑师亚历杭德罗阿拉维纳(Alejandro Aravena)荣获2016年普利兹克建筑奖。现年48岁的阿拉维纳是一名智利圣地亚哥的建筑师。他是第41位普利兹克建筑奖得主,并成为首位赢得普利兹克…

5分钟,ArcGIS 简单几步从天地图中提取出建筑物轮廓的矢量数据

前言:利用 ArcGIS Pro 从天地图中提取时效性好、位置又准确的建筑物轮廓矢量数据。ArcMap 同理。 天地图应用越来越广泛,其中的数据是比较权威的,准确性都比较高。 另外大家的需求也越来越多,想要用好天地图,比如&…

python画建筑_我把图画这么好看,只是不想被建筑抛弃

原标题:我把图画这么好看,只是不想被建筑抛弃 建筑竞赛图纸可视化 | 建筑国际竞赛studio 欧洲前沿算法设计方法论 小组工作从concept雏形到方案最终表达 复杂形体的模型建模和设计逻辑 可视化效果图表达 建筑写代码带你定制任何你想要的空间 成功作品欧洲 芬兰 意大利 斯德哥…