---
# System prepended metadata

title: SD-20 室內照片運算 Lobby space
tags: [mlsd, ControlNet, tex2img, img2img, depth]

---

SD-20 室內照片運算 Lobby space
![SD20-室內照片運算 Lobby space](https://hackmd.io/_uploads/HJQTwQ-xA.png)

**室內照片運算 Lobby space**
三個適用的Lora model
https://civitai.com/models/229533?modelVersionId=259052 (Office Building facade)
(https://civitai.com/models/185454?modelVersionId=350179 (Office interior)
https://civitai.com/models/117212/modern-simple-and-bright-office-lobby-morden (Office lobby)
下載後 將檔案放至D:\SD-files\SDlocal\stable-diffusion-webui\models\Lora\

**底圖1(1024x784)**
若電腦設備較差 建議運算時將圖resize and fill成512x392圖片生成時間會加快許多
![螢幕擷取畫面 2024-04-06 110250](https://hackmd.io/_uploads/ryUujE010.png)

![lobby1](https://hackmd.io/_uploads/B1OVzmA1R.jpg)

可以先將圖片 取得一些文字敘述 再做適當調整後 放入正向提示詞
https://imagetoprompt.com/

masterpiece,interior,arafed view of a lobby with a reception counter and a large window,interior architecture view,high quality rendering,interior design architecture,commercial lighting,high quality architectural art,interior lighting,well contoured smooth fair walls,indoor lighting,luxurious environment,warm lighting interior,bright lit interiors,white marble walls,natural indoor lighting,modern look,soft lighting colors scheme,

**使用文生圖tex2img**
Checkpoint Model:realisticVisionV60B1_v60B1VAE
將上述文字放入正向提示詞 反向提示詞使用文本反轉中的模型
![00010-219049935](https://hackmd.io/_uploads/HyyAr70kR.jpg)

**使用圖生圖img2img**
將上述文字放入正向提示詞 反向提示詞使用文本反轉中的模型
![1712367846441](https://hackmd.io/_uploads/ByPcFm0JR.jpg)
底圖上傳後 圖片尺寸要一致 重繪幅度的參數影響巨大
![00000-1433260648](https://hackmd.io/_uploads/S1s8UX0kR.jpg)

在正向提示詞後 加入Lora 則有更精緻的空間效果
<lora:Modern simple and bright office lobby morden:0.6>,
![00002-764691219](https://hackmd.io/_uploads/By7wnXCyA.jpg)

![00003-4215103633](https://hackmd.io/_uploads/S1njnmCy0.jpg)

**使用ControlNet** 
控制底圖的架構線條 先試試MLSD效果 當控制權重改變 會有不同運算效果

![螢幕擷取畫面 2024-04-06 091006](https://hackmd.io/_uploads/Hk0NmQAyC.png)

![螢幕擷取畫面 2024-04-06 091104](https://hackmd.io/_uploads/SJ0UXQCJ0.png)

![螢幕擷取畫面 2024-04-06 091030](https://hackmd.io/_uploads/B1hwm7RyA.png)

![00004-2195136270](https://hackmd.io/_uploads/Bk7KQXRJ0.jpg)

![00006-2663373246](https://hackmd.io/_uploads/rkYBVmCy0.jpg)

![00012-2753209507](https://hackmd.io/_uploads/rk-56mCJ0.jpg)

底圖2
![image (3)](https://hackmd.io/_uploads/B1CexVCJ0.png)
底圖3
![image (2)](https://hackmd.io/_uploads/HkAxxECkC.png)

使用線條圖當底圖 預處理器要勾選none 控制權重大約0.8
![image](https://hackmd.io/_uploads/BkNxBVC1C.png)

![螢幕擷取畫面 2024-04-06 101125](https://hackmd.io/_uploads/By1VlVCJR.png)

![螢幕擷取畫面 2024-04-06 101317](https://hackmd.io/_uploads/BkUNxERJC.png)

修改文字敘述
Prompt:masterpiece,interior,arafed view of a lobby with a reception counter and a large window,interior architecture view,high quality rendering,wooden,warm,sweet,<lora:Modern simple and bright office lobby morden:0.5>,
![00016-2712557400](https://hackmd.io/_uploads/HyxiBxV0yR.jpg)

修改 下面三個參數 其餘不變
![螢幕擷取畫面 2024-04-06 102243](https://hackmd.io/_uploads/BJEzz40yR.png)

![00023-1955782420](https://hackmd.io/_uploads/rJqkMN0k0.jpg)

修改 下面三個參數 提示詞加入 black and white
![螢幕擷取畫面 2024-04-06 102817](https://hackmd.io/_uploads/rJeD7N0kC.png)

![00030-260631535](https://hackmd.io/_uploads/HyxdQNCk0.jpg)

![00032-555064266](https://hackmd.io/_uploads/rk98V4Cy0.jpg)

改變Checkpoint Model:interiordesignsuperm_v2, 
![00042-782488896](https://hackmd.io/_uploads/BypQuEC10.jpg)

![00044-3728831945](https://hackmd.io/_uploads/rJscu4AJC.jpg)

![00062-1662721988](https://hackmd.io/_uploads/HkUeJr0kA.jpg)

SDXL Styles Preset:Steampunk 
![螢幕擷取畫面 2024-04-06 105434](https://hackmd.io/_uploads/SJnYY4R1R.png)

![00046-2477100901](https://hackmd.io/_uploads/HkyDFE0yA.jpg)


**附加功能Extras** 
將圖片上傳後 選擇縮放比例 及放大演算法後 直接產生即可 儲存在下方資料夾 
![image](https://hackmd.io/_uploads/B1MUnNA10.png)

**GENERATIVE FILLBeta**
Replace, remove & fix any element from your pictures
https://clipdrop.co/generative-fill


**Fast Stable Diffusion XL on TPU v5e**
https://huggingface.co/spaces/google/sdxl








