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

news2024/9/21 2:47:45

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.coloradmin.cn/o/466495.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

03.DolphinScheduler资源中心

文章目录 文件管理基础操作创建文件上传文件文件查看下载文件文件重命名删除文件 任务样例创建 shell 文件创建工作流执行文件查看结果 UDF管理函数管理任务样例编写 UDF 函数配置 UDF 函数使用 UDF 函数 任务组管理任务组配置新建任务组查看任务组队列任务组的使用 任务组的实…

【刷题】Java日常刷题1

A.Sort the Subarray 题意:给出一个数组,一个在此基础上被操作过的数组,找出被操作过的最长的非递减连续序列。 题解:这道题最开始写就被给的样例迷惑了,给出的样例都是被操作过出现非递减序列的片段,因此…

No.049<软考>《(高项)备考大全》【冲刺3】《软考之 119个工具 (1)》

《软考之 119个工具 (2)》 1.专家判断2.引导技术:3.项目管理信息系统:4.会议:5.分析技术:6.变更控制工具:7.访谈:8.焦点小组会议:9.引导式研讨会:10.群体创新技术:11.群体决策技术:12.问卷调查:13.观察:14.原型法:15.标杆对照:16.系统交互图:17.文件分析…

Django基于大数据的应届生求职系统

背景 科学技术日新月异的如今,计算机在生活各个领域都占有重要的作用,尤其在信息管理方面,在这样的大背景下,学习计算机知识不仅仅是为了掌握一种技能,更重要的是能够让它真正地使用到实践中去,以创新的视…

又是DNA甲基化,孕期母亲的压力会影响儿童健康

产前母亲的生活压力事件与后代神经发育不良相关联。研究人员表示,关联的生物学机制大部分是未知的,但在体内发生的一种化学反应——DNA甲基化,即一个小分子甲基被添加到DNA上——可能起着一定作用。这些发现可为了解胎儿环境如何可能影响神经…

【LeetCode】189. 轮转数组

题目链接:https://leetcode.cn/problems/rotate-array/ 📕题目要求: 给定一个整数数组 nums,将数组中的元素向右轮转 k 个位置,其中 k 是非负数。 尽可能想出更多的解决方案,至少有 三种 不同的方法可以…

MTC-PD65W1C-CTA1快充电源-使用MTC-650V Cascode D-GaN

本电源模块是65W单一C界面,其输出电压由协议IC可以控制5V/3A, 9V/3A, 15V/3A, 20V/3.25A等电压输出,使用QR/DCM反驰式电路架构于输出20V重载时可达93%效率及功率密度可达1.5W/cm3,本系统采用同系列控制单晶片:QR一次侧控制IC驱动M…

【云计算•云原生】3.一小时熟练掌握docker容器

文章目录 docker简介ubuntu下安装dockerkali下安装dockerdocker基本命令docker搭建mysql、nginx、redis容器/镜像打包搭建私有镜像仓库docker网络管理Dockerfile文件docker-compose.yml示例:搭建lamp docker简介 docker是一个开源的应用容器引擎,可以让…

软件著作权登记版权保护中心下发补正修改指南

本文为大家介绍常见版权中心下发的补正问题及对应修改方法。 一、补正是什么意思? 补正,即增补订正。 下发补正指版权保护中心发现软件著作权登记材料中存在一些格式/内容上的问题,予以驳回。要求著作权人或代理人依照补正意见内容对材料进…

电影《灌篮高手》观后

上周和同学一起看了电影《灌篮高手》这部电影,个人以前没有看过相关漫画和动画,但记得,看过海报和一些宣传物品,有的衣服上,有文具盒上,也都出现过,而且是在自己小时候,可见当时的影…

(中)苹果有开源,但又怎样呢?

上篇(详情请戳:《(上)苹果有开源,但又怎样呢? 》)里说到,苹果首个开源项目 Darwin 的诞生,与乔布斯的复仇归来有着千丝万缕的关系。 作为一个开源的操作系统&#xff0c…

【JAVA】将两个字符串相乘并返回字符串

🖊作者 : D. Star. 📘专栏 : Java 😆今日分享 : 越忙越不能熬夜. —晚安 , 好梦. 将两个字符串相乘并返回字符串 🌻前言:✔题目:🔎代码详情:1.创建字符创对象:2.将字符串转化为数字:3.数字相乘,并转化为字符串家人们,点…

[C++]——C++基础知识点(C++和C语言的区别)

文章目录 1. 前言2. 命名空间2.1 命名空间定义2.2 命名空间使用 3. C的输入输出4. 缺省参数4.1 缺省参数概念4.2 缺省参数分类 5. 函数重载5.1 函数重载概念5.2 C支持函数重载的原理——名字修饰 6. 引用6.1 引用概念6.2 引用特性6.3 常引用6.4 引用的使用场景6.5 引用和指针的…

招商基金数字化转型下的研发管理|ONES 客户案例

在 4 月 20 日举行的《中国企业软件研发管理白皮书》发布会上,招商基金信息技术部副总监、研发中心主管刘志昆作了《招商基金数字化转型下的研发管理》主题演讲,从数字化转型背景、研发管理所遇到的挑战出发,讲述招商基金如何摸索出适合自身环…

Pycharm连接MySQL

使用MySQL内置工具(命令) 创建数据库:unicom 数据表:admin 表名:admin 列:id 整型 自增 主键username 字符串 不为空,password 字符串 不为空,mobile 字符串 不为空 Python代码实…

echarts 象形柱图_矢量图_自定义样式

Echarts 常用各类图表模板配置 注意: 这里主要就是基于各类图表,更多的使用 Echarts 的各类配置项; 以下代码都可以复制到 Echarts 官网,直接预览; 图标模板目录 Echarts 常用各类图表模板配置一、象形柱图二、环形图…

电脑中了勒索病毒,Windows操作系统如何设置才能预防faust勒索病毒攻击?

随着计算机技术的不断发展,勒索病毒的加密程序也有了很大提升,phobos勒索家族也衍生出了各种后缀的勒索病毒,给我们的日常工作生活带来了很大困扰。随着phobos勒索家族的加密程序升级,faust勒索病毒已经成为该家族中较为疯狂的勒索…

BACnet IP通讯方式组网步骤

BACnet IP通讯方式组网步骤 文章目录 BACnet IP通讯方式组网步骤前言一、配置BACnet IP网络参数二、确定DDC控制器和扩展模块的BACnet地址三、配置BACnet对象:四、配置DDC控制器和扩展模块五、测试通信六、实现控制功能七、总结 前言 BACnet IP方式组网的几个优势&…

强烈建议互联网人转战实体和农业,去了就是降维打击!实体太缺人才了,老板也不缺钱!...

大环境不好,互联网人该何去何从? 一位网友提出了一个新思路:强烈建议互联网同学转战实体、农业这些行业。实体真的太缺人才了,目前大部分实体都留下70后、80后在继续奋斗。其实实体老板很多都不缺钱,经过多年积累&…

内外部函数和内存模型

1、函数(封装、复用) 功能性:最基本的特性; 扩展性:对于时刻变化的需求易于扩展; 维护性:对于时刻变化的需求易于维护,易于编码变更; 封装性:不要把所有的代…