---
# System prepended metadata

title: SD-11 ControlNet應用-以3D model圖為底稿
tags: [mlsd, "ControlNet\_", canny]

---

**SD-11 ControlNet應用-以3D model圖為底稿**
![ControlNet應用-以3D model圖為底稿](https://hackmd.io/_uploads/HknZwi7_p.png)


**用3D model作為底圖 **
可以精準掌握建築量體及不同角度 再進行AI運算
底圖一 (960x512)
![p2a](https://hackmd.io/_uploads/H1WupH6wp.jpg)

Prompt : masterpiece,best quality,architecture,modern housing style,apartment façade design,balcony,(plant:0.85),detailed skin,plaza,suburbs,road,landscape,outdoor
![image](https://hackmd.io/_uploads/r1pF6rTD6.png)


**擴展圖面**
這是將圖紙尺寸二邊 放大後加上適合的描述詞 再進行AI運算
一般通常size會以底圖為主 但若要擴展圖面運算時 記得調整size後 要勾選"Resize and fill"選項 再加上週週環境的描述詞即可
![image](https://hackmd.io/_uploads/By2nuYj_T.png)

![image](https://hackmd.io/_uploads/rJy3pBTPa.png)

ControlNet Mlsd+加入一張彩圖(Shuffle)
![00885-1113371136](https://hackmd.io/_uploads/Sy_KAyzQ0.jpg)

Watercolor painting (水彩畫風)
![00906-2665190898](https://hackmd.io/_uploads/H1XWMxzQC.jpg)

![00897-2437255598](https://hackmd.io/_uploads/rkROgxG7A.jpg)

![00896-2398119636](https://hackmd.io/_uploads/HyPBgxG7C.jpg)


**鳥瞰圖 **
底圖二 (960x512)
![p3c](https://hackmd.io/_uploads/BJlZdaHTw6.jpg)

一般鳥瞰圖的lora model訓練的資料圖片 都是尺度比較大(都市尺度) 所以要選擇適合自己圖片的尺度lora 運算出來的效果比較不會失真
提示詞同上 另加上Lora model

prompt: masterpiece,best quality,(masterplan:1.3),building,shap shadow,day,
trees in the park,trees along the road,cars on road,a plan of a city with lots of trees and buildings on it,and a large park in the middle,outdoor,

![image](https://hackmd.io/_uploads/BJOTpB6wp.png)

**AI文字訓練的Prompt**
練習使用經過AI文字訓練的Prompt 共有18種序號 針對建築主題 外牆材料 建築特色 地點 氣候 看看生成效果如何

![螢幕擷取畫面 2024-05-12 183317](https://hackmd.io/_uploads/S1uZof0GC.png)


底圖一 (960x512)
![p2a](https://hackmd.io/_uploads/H1WupH6wp.jpg)
**使用序號2 海濱度假別墅 **
![00003-2029626095](https://hackmd.io/_uploads/Syo3_gRzC.jpg)

![00005-3616987227](https://hackmd.io/_uploads/BkvGYgCzC.jpg)

**使用序號6 禪修中心**
![00006-261509639](https://hackmd.io/_uploads/SJyFteRGA.jpg)

![00008-3853084381](https://hackmd.io/_uploads/HJU3FlAM0.jpg)

**使用序號8 文化藝術中心**
![00114-4122054458](https://hackmd.io/_uploads/HJ0vi-RG0.jpg)

![00116-1017618984](https://hackmd.io/_uploads/HyNsjZCGA.jpg)

**使用序號19 文藝復興風格藝術中心**
![00021-3988138319](https://hackmd.io/_uploads/Byfxix0MC.jpg)

![00023-1687183823](https://hackmd.io/_uploads/SJoGsgAf0.jpg)

底圖三 (768x1024)
![P2](https://hackmd.io/_uploads/rkutMbRMC.png)

**使用序號1 現代豪華公寓**
![00026-3432942978](https://hackmd.io/_uploads/B1PSpx0GC.jpg)

![00046-585686821](https://hackmd.io/_uploads/S1LDy-AMA.jpg)

**使用序號5 摩天大樓辦公大樓**
![00051-937370202](https://hackmd.io/_uploads/HJo6g-AzC.jpg)

**使用序號8 文化藝術中心**
![00061-789899457](https://hackmd.io/_uploads/HyplMZAfC.jpg)

![00059-467552919](https://hackmd.io/_uploads/rJrAZ-AGA.jpg)

![00064-1344059044](https://hackmd.io/_uploads/SJeUGWRz0.jpg)

![00065-768439140](https://hackmd.io/_uploads/Hy3QVZRfA.jpg)

![00075-2749113883](https://hackmd.io/_uploads/B1MvUWRf0.jpg)

![00074-2749113882](https://hackmd.io/_uploads/HJoPIWAf0.jpg)

![00079-4224012356](https://hackmd.io/_uploads/Sk8bvbCMC.jpg)

![00083-2225164365](https://hackmd.io/_uploads/rJ-hvW0fC.jpg)

**使用序號10 生態友善山居別墅**
![00720-1418057177](https://hackmd.io/_uploads/BJrmETZmR.jpg)

![00731-2349583801](https://hackmd.io/_uploads/ryg9YTbQ0.jpg)

![00778-888237656](https://hackmd.io/_uploads/SyP-lAbmA.jpg)

![00781-888237659](https://hackmd.io/_uploads/B1aJxCbQA.jpg)


**鳥瞰圖 **
底圖二 (960x512) 加上LoRA model 
提示詞加入水彩風格等

**使用序號16 林間小屋**
![00162-1203796122](https://hackmd.io/_uploads/HyYr-7Rf0.jpg)

![00161-1203796121](https://hackmd.io/_uploads/rJWwW70f0.jpg)

![00170-2449140225](https://hackmd.io/_uploads/HyHGMQAGA.jpg)

![00172-1005854406](https://hackmd.io/_uploads/Bk7PGXRMA.jpg)

**使用序號10 生態友善山居別墅**
![00834-3938232528](https://hackmd.io/_uploads/rya77yGXR.jpg)

![00840-1428231901](https://hackmd.io/_uploads/BJZ0QyfXC.jpg)

![00813-1374624034](https://hackmd.io/_uploads/SyFvRR-70.jpg)

![00811-4155553746](https://hackmd.io/_uploads/ryX-CR-XC.jpg)

