AI画图实战(七):室内筹划线稿渲染、景观筹划手绘稿改动、修建照片转线稿

[复制链接]
查看783 | 回复0 | 2023-8-23 12:00:27 | 显示全部楼层 |阅读模式
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
  1. ((photorealistic)), 8k, clean room, sunlight, white ceiling, blue curtains, red sofa, yellow cabinet, wooden bed, Persian carpet under bed, bed end bench, wooden floor,
  2. 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
  3. Negative prompt: low res,text,error,cropped,worst quality,low quality,normal quality,jpeg artifacts,signature,watermark,username,blurry,text font ui,futa,yaoi,
  4. Steps: 20, Sampler: Euler a, CFG scale: 22,
复制代码

出图根本符合筹划稿结构,小修改用图生图里的局部重绘,这里不再赘述,可参考下面景观调解操纵。
二、调解景观筹划手绘稿部分元素

成图目标

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

修改元素

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


  • 水彩风格前先使用物体边沿线条,否则可能与原图不符
  • 同时重绘地区选择仅蒙版,如许可以让人物不会画坏了
  1. ((object edge line)),((watercolor painting)),1male walking on flagstone path, green grass, blue pond, full body,
  2. 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
复制代码

别的提示词不变,修改为小孩,注意这个蒙版不能太小,否则小孩动作发挥不开轻易缺胳膊少腿。
  1. ((object edge line)),((watercolor painting)),1child walking on flagstone path, green grass, blue pond, full body,
复制代码

增长鱼
  1. ((object edge line)),((watercolor painting)),kois in blue pond,
复制代码

出图修补


根本算定型了,小修改和上面操纵一样,不赘述。
各人有没有发现,类似这种风格的稿子,如果是在画图软件里做的,其实让原作者直接修改来得更快更准确。
三、改修建照片为线稿

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

把线条风格先提示了。
  1. ((a line drawing, line art, line work)), simple line, black AND white, buildings, street, trees, cars, street light
  2. negative prompt: colorful
复制代码

图生图

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

将照片放入controlnet中,使用相干模式生成线条,注意优先选择controlnet is more important测试。

模子可用lineart、canny、mlsd、depth等,但具体用哪个必要自己试验,差别的图片终极效果差别,比云云图用lineart_realistic找修建线条就比用canny描绘更准确和精粹,canny描绘出细节太多,按照线稿要求看就太杂了。
线稿对比


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

下面各张对比图的重绘幅度、种子、模子、提示词等都有略微调解,画面按照由浓到淡分列。
  1. a line drawing, line art, line work, black and white, buildings, street, trees, cars, street light
  2. Negative prompt: colorful
  3. 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
复制代码

  1. a line drawing, line art, line work, black line, white background, high contrast, buildings, street, trees, cars, street light
  2. Negative prompt: colorful, gray
  3. 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
复制代码

  1. a line drawing, line art, line work, black and white, buildings, street, trees, cars, street light
  2. Negative prompt: colorful
  3. 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
复制代码

  1. a line drawing, line art, line work, black line, sketch, white background, high contrast, buildings, street, trees, cars, street light
  2. Negative prompt: color
  3. 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
复制代码

  1. a line drawing, line art, line work, black line, white background, high contrast, buildings, street, trees, cars, street light
  2. Negative prompt: colorful, gray
  3. 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
复制代码

  1. a line drawing, line art, line work, black line, white background, high contrast, buildings, street, trees, cars, (white ground),
  2. Negative prompt: colorful, gray,
  3. 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
复制代码

  1. a line drawing, line art, line work, black line, white background, high contrast, buildings, street, trees, cars, street light
  2. Negative prompt: colorful, gray
  3. 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
复制代码

  1. a line drawing, line art, line work, black and white, buildings, street, trees, cars, street light
  2. 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
复制代码

  1. a line drawing, line art, line work, black and white, buildings, street, trees, cars, street light
  2. Negative prompt: colorful, gray
  3. 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
复制代码

  1. a line drawing, line art, line work, black and white, buildings, street, trees, cars, street light
  2. Negative prompt: colorful, gray
  3. 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要更线稿。
  1. a line drawing, line art, line work, black and white, buildings, street, trees, cars, street light
  2. Negative prompt: colorful
  3. 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
复制代码

  1. a line drawing, line art, line work, black and white, buildings, street, trees, cars, street light
  2. Negative prompt: colorful
  3. 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成为筹划师生产力工具

来源:https://blog.csdn.net/snans/article/details/130379361
免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则